Evaluating CodeCall

Covers FrontMCP 1.12.2 as of

Advanced

Measure the workload you need to support before you add FrontMCP's CodeCall plugin to a server. This evaluation uses the published 47-tool CRM and its synthetic data. It runs the same scripted, read-only task two ways: through direct tool calls, and through one server-side script. It checks that both paths return the same answer. It does not measure model tokens, hosted latency, cost, or whether a model can write the script.

You will learn

  • How to run the fixture that compares direct calls with CodeCall
  • What each output field measures, and what it can't tell you
  • What the recorded run on 2026-10-22 found
  • What a model evaluation needs on top of this fixture

Run the fixture

Download the evaluation project, extract it, and follow its README. It pins the dependencies and the fixture. With Node.js 24 or later, in the extracted folder, run:

npm ci
npm run evaluate -- --runs=5

For the direct baseline, the harness removes only the plugin's registration. Both servers use the same tool implementations. A scripted client stands in for the model: it makes the same tool choices a model would have to make. A small-catalog control makes a single direct lookup, because not every task gains from running a script.

Read the output

FieldWhat it measuresWhat it cannot establish
catalog bytesUTF-8 bytes of JSON tool definitionsModel tokenizer counts or billing
direct response bytesSum of result envelopes from the underlying callsWhich content a particular client includes in its prompt
discovery response bytesSearch and schema response envelopesFree or zero-overhead discovery
CodeCall response bytesThe execution result envelopeTotal context use without discovery and request sizes
direct calls / execution callsRequests made by the scripted fixtureNumber of model reasoning steps
directMs / scriptMsIn-process time after server startupCold deployment or hosted-model latency

Runs happen one after another, after the servers start. The first call and later calls can differ because of cache state. So the output keeps every run, rather than one number that hides the spread. Compare the runs before you combine them. A failed assertion makes the harness exit with an error. Don't leave wrong results out of an evaluation.

Recorded results

The JSON record holds one capture of five runs. The tables below report it as written. Times are rounded to 0.01 ms; the JSON keeps full precision.

RecordedValue
Observed on2026-10-22
@frontmcp/sdk1.10.10
@frontmcp/plugin-codecall1.10.10
Node.jsv24.18.1
Platformdarwin, arm64
Workload47-tool CRM; identical scripted read-only task; catalog and parsed result JSON UTF-8 bytes
Runs5
FailuresNone recorded. The harness writes no record if any assertion fails.

The record's sourceHash is the SHA-256 of scripts/evaluate-codecall.mjs when it was captured. Compare it with the script you run to see whether the harness has changed since.

Catalog from tools/listToolsBytes
Direct, without the plugin4743,251
With CodeCall615,999

Every run made the same calls and returned the same number of bytes:

Step, in each of the 5 runsCallsResponse bytes
Direct tool calls84,194
CodeCall discovery: codecall:search and codecall:describe216,467
CodeCall execution: codecall:execute1522
Small-catalog control: one direct get_agent call1Not recorded

Times, in milliseconds. directMs times the scripted task through its eight direct calls. scriptMs times only the codecall:execute call, without discovery.

RundirectMsscriptMs
19.2021.22
23.756.69
33.116.24
42.675.50
53.025.43

What the record shows:

  • Both paths returned the same answer in every run.
  • The CodeCall catalog was 15,999 bytes for 6 tools. Without the plugin, it was 43,251 bytes for 47 tools.
  • CodeCall's two discovery calls returned 16,467 bytes. That is more than the 4,194 bytes of all eight direct responses. The execution result was 522 bytes.
  • scriptMs was higher than directMs in every run. Run 1 was the slowest on both paths.

Add a model evaluation deliberately

Record the exact prompt, the model and its version, the settings, the catalog, how the client behaves, the execution limits and a fixed set of tasks. Include simple lookups, joins, ambiguous requests and refused operations. Measure real input and output tokens, tool requests, whether the answers are correct, and wall time. Repeat the runs cold and warm. Keep any API price math dated, and separate from those measurements.

Publish failures and limits next to the results. Don't turn a fixture's byte reduction into a percentage token saving, a security certification or a universal speedup. Tool authorization still applies on both paths. Read CodeCall's limits before you turn on scripts.

Next step

Look through the complete CRM. Then replace its synthetic data with a read-only workload of your own. If direct calls already give a small answer, keep that simpler path.

Report a docs issue · Report a security concern privately