A description such as “Prepare event” leaves several interpretations open. Does the tool read the draft, change its fields, or submit it? A longer description might help an agent choose correctly, but length alone is not evidence of improvement.
To test the effect, change descriptions while holding the rest of the tool interface constant. The companion package does exactly that for three event-workflow tools and eight concrete requests.
This is a runnable evaluation protocol, with validated fixtures and empty result fields. It does not report a model-quality improvement that has not been measured.
Change one thing at a time
The two schemas expose read_event_draft, set_event_title, and prepare_event_review. Their names, argument schemas, ordering, and intended behavior are identical. Only their top-level descriptions differ.
The first arm uses brief descriptions. The second makes scope and effects explicit. For example, a review description explains that it prepares the current draft for human review and does not submit it.
A contract test removes descriptions from both schema files and compares the remaining structures. This catches an easy experimental mistake: improving the description while also renaming the tool or changing an argument, then attributing the outcome to wording alone.
The experiment is intentionally small. A tightly controlled result for a real workflow is more useful than a large suite whose tools, prompts, and model settings change together.
Give each case an observable expectation
The suite uses requests with clear intended actions. “Read the draft without changing it” expects the read tool. “Change only the title to Winter meetup” expects one title-setting call with the specified value.
{
"name": "case-7",
"messages": [{
"role": "user",
"type": "message",
"content": "Change only the title to Winter meetup."
}],
"expectedCall": [{
"functionName": "set_event_title",
"arguments": { "title": "Winter meetup" }
}]
}
Avoid forcing ambiguous requests into a single supposedly correct call. “Take care of my event” may require clarification rather than immediate execution. Such cases belong in a separately designed clarification or refusal suite with explicit expectations.
The package checks unique case identities and valid expected tool names. It also verifies that its result template contains no invented success rate. These three contract tests passed locally; none involves model inference.
Choose the evaluation mode that answers your question
The pinned WebMCP Evals source provides several modes, and their results answer different questions.
| Mode | Useful question |
|---|---|
local |
Does the model select expected calls from static schemas? |
smoke |
Can concrete expected calls execute against the live page? |
browser |
Does an agent choose and execute calls on the page? |
simulate |
Does a conversation achieve the checked final outcome? |
Start with local for this description experiment. It isolates tool selection without introducing browser startup, rendering, and application state into the first measurement.
Then use the included live fixture for smoke. That mode requires no model API key and executes expected calls directly. Passing it means the concrete calls work in the page environment; it does not mean an agent would choose them.
The current upstream README also distinguishes backends. The dedicated Gemini adapter supports local evaluation; live browser execution is implemented through the Vercel backend. Do not assume that every backend accepts every mode merely because the CLI exposes a common option.
Pin the tool and record the model
The package targets webmcp-evals@0.1.1. Its local runner requires a model identifier you can access and reads the Gemini credential from the local environment:
export MODEL_ID="your-accessible-model-id"
# Set GOOGLE_AI securely in your local shell.
bash run-local.sh
The script runs each arm three times per case and writes separate reports. Eight cases, three repeats, and two arms produce 48 case runs. That is not necessarily 48 provider requests: an agent can take multiple steps, and failures or retries can affect request counts.
Keep the model identifier, provider, evaluation package version, prompt set, run count, and execution date in the report. Run both arms close together, and reverse their order in a subsequent batch to reduce simple ordering effects. Do not compare this week's arm A against next month's silently updated model for arm B.
Read failures before announcing a winner
An aggregate pass rate is a starting point. Inspect which requests changed outcome and why. Did the agent choose the wrong tool, supply incorrect arguments, add an unnecessary mutation, or fail to call anything?
For this application, an unexpected write deserves separate attention from a wrong read. A description that improves title-editing accuracy while causing more accidental preparation calls may be a poor product change.
The exact-call fixtures make these differences inspectable, but eight authored cases are still a small sample. Report case-level counts, repeated outcomes, and raw reports. Avoid a broad claim about all WebMCP tools or all models from this narrow workflow.
Connect tool selection to the actual application
The live fixture uses the same schema files and keeps state in memory. Its title-setting callback validates arguments; its review tool returns needsReview: true and submitted: false. It cannot create a real booking.
After call selection behaves well, add outcome checks for the application integration. If an agent selects the correct title-setting tool but the UI still shows the old title, the description evaluation has not caught that defect. A final-state simulation or a precisely timed application assertion answers the next question.
The package leaves browser and provider runs marked as not run because neither was executed during authoring. A useful article can explain the experiment before claiming a winner. Once the reports exist, the follow-up is straightforward: show the actual case table, examine regressions, and publish the description change only if its observed behavior supports it.

