Skip to main content
An assertion is a deterministic rule over one iteration’s transcript: the same transcript always gets the same result. In the case editor, add one with Add assertion or action. The picker groups assertions by the stage of the user value chain they report at, and the tables below follow that grouping. The Scope column follows the hint under each picker entry: The Suite file column is the assertion’s name in a suite file: type: on an assertion, kind: for a live-view check.

Discovery

Selection

Tool call

Response

User value

Budgets

Token budget under N is not a spend control: token counts are not comparable across models, and a fixed ceiling goes stale when a prompt or model changes. Each run shows its cost (Read results). To fail CI when a suite costs more than its baseline, use --max-cost-increase-percent with mcpjam cloud eval compare (CI).

Examples

Two cases against a notes server with search_notes, read_note and delete_note tools. The first checks that the model searched with some string query, hit no tool errors and mentioned the launch in its reply. The second is a negative check: asked only to summarize, the model must never delete.
In the first case, under User prompt “Find my notes about the launch plan.”, click Add assertion or action and add:
  1. Tool was called with…: pick search_notes and set the arguments to { "query": "string" }. Under Partial matching, "string" matches any string.
  2. No tool errors. Under a prompt it reads No tool errors so far.
  3. Response contains… with the text launch.
In the second case, under User prompt “Summarize note 7.”, add Tool was never called for delete_note.

Argument matching

Tool was called with… compares arguments in one of three modes. The suite’s default for route matching is set under Edit tool-call matching in suite settings. In partial mode, these strings match any value of that type instead of the literal string: "any", "string", "number", "boolean", "object", "array", "null". Exact mode treats them as literals.

Route checks

The case editor’s route question, Which tool should handle it?, is an assertion on the whole run. Its two strictness levels sit under Matching options.

Suite defaults and case assertions

A suite can carry default assertions that apply to every case, and assertions you add to a case in the app extend them. The three modes below are set over the API, in the case’s checks field as { mode, list }, or in the SDK as the case evaluator override (Running evals). The app has no control for them. On a case set to replace, the scorecard reads “Suite evaluators replaced for this case — N are not applied”.

Required and Advisory

The six assertions marked “Advisory only” above are heuristics and cannot be Required: the picker labels them Advisory only, and a save that marks one Required is refused. The route check is always Required. When available, an assertion’s editor shows a Required / Advisory control.

Write a case

Add prompts, a route and assertions to a case.

Configure grading

Set suite defaults, judges and pass criteria.

Suite settings

Every settings row, its API field and default.