Skip to main content
Glama

Test a recipe on a small slice

test_recipe

Starts a recipe preflight: a bounded rehearsal of a full run that fetches at most max_pages_per_source pages of each listing (default 1, max 5) and max_upstream_rows rows of each per-row source (default 25), runs the transform and the checks a slice can answer, and reports. Sources that present a paid or stored credential are skipped and reported skipped_paid. It never seals a version and never becomes live. Example: {"recipe_id": "…", "recipe_digest": "…"}. Returns the run receipt. Watch it with run_events or get_run; it ends cancelled with cancel_reason preflight_complete and a preflight_report {sources, transform, checks} — that is success, not a cancel. Fix what the report names, register again and test again; start_run once the report is clean, preserving the user's requested mode and bounds; use full unless they requested a bounded sample.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "recipe_id": "<recipe_id>",
      "recipe_digest": "<recipe_digest>"
    },
    "name": "test_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipe_idYes
recipe_digestYes
max_upstream_rowsNo
max_pages_per_sourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false): it discloses that paid/stored-credential sources are skipped and reported as skipped_paid, that no version is sealed and nothing goes live, and that the run terminates as cancelled with cancel_reason preflight_complete. That last point is critical — it preempts the false conclusion that a cancelled status means failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Roughly 180 words for a semantically rich tool, front-loaded with the core concept and free of filler sentences. It is delivered as one dense block, which makes the guidance and the termination semantics ('that is success, not a cancel') harder to scan than they deserve to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description tells the agent what comes back ('the run receipt'), what the terminal state is, and the shape of preflight_report {sources, transform, checks}. Combined with the fallback path (fix, re-register, re-test, then start_run), an agent needs nothing else to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description carries the burden, and it covers the two tuning parameters well: defaults (1 page, 25 rows) and the per-source page cap of 5. However it leaves recipe_id and recipe_digest to the schema and shows a caller only via an abbreviated example, and it omits the schema's 1000-row ceiling on max_upstream_rows, so coverage is partial rather than compensating.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Starts a recipe preflight') and immediately defines it as a bounded rehearsal of a full run, which cleanly distinguishes it from start_run mentioned later. The scope of what is exercised (pages, upstream rows, transform, checks) is spelled out so an agent knows exactly what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: test here first, then 'register again and test again', then 'start_run once the report is clean', preserving the user's requested mode and bounds. It also names the observation tools (run_events, get_run) rather than leaving the agent to guess how to follow progress.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources