Skip to main content
Glama

recipe_validate

Check a recipe and its inputs before building: catches unknown recipes, missing required inputs, and invalid types, ranges, or units. Returns ok/problems to reject malformed parameterization early.

Instructions

Validate a recipe reference {recipe, inputs} WITHOUT building it — the cheap front door (mirrors validate_manifest). Catches an unknown recipe, a missing required input, and a wrong-typed / out-of-range / bad-unit / unknown input. Returns {ok, problems} — ok is True iff problems is empty. Run before building or merging to reject a malformed parameterization before geometry is spent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo
recipeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does well: it discloses that the operation is cheap/non-building, is a pre-check, and enumerates the exact failure classes it catches (unknown recipe, missing required input, wrong-typed/out-of-range/bad-unit/unknown input). It also states the return shape {ok, problems} and the ok-if-empty semantics. It does not state whether it requires an open document/workspace or any auth context, which on a mutation-free validator is the main residual gap.

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

Conciseness5/5

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

Three sentences, front-loaded with the verb+resource and the key differentiator ('WITHOUT building it — the cheap front door'). Every clause earns its place: failure modes, return contract, and call-site recommendation. No redundancy.

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

Completeness4/5

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

For a 2-param, no-annotation, no-output-schema validator, the description supplies the missing behavioral and return-shape context, so an agent knows what it checks and what it returns. The only omission is the execution prerequisite (does it need an open document/workspace?), which matters in this large stateful tool family.

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?

Schema description coverage is 0% for both parameters, so the description must compensate — and it does partially by naming the two fields as {recipe, inputs} and implying inputs is the parameterization to check. But it doesn't say what shape inputs must take (the schema's anyOf object/null gives no guidance either) or what a valid input looks like, so the compensation is thin.

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?

States a specific verb (validate) and resource (a recipe reference {recipe, inputs}), and explicitly distinguishes itself from the build step ('WITHOUT building it — the cheap front door'). It also names a mirror sibling (validate_manifest), aligning it with a family of validate_* tools. An agent can tell it apart from recipe, items_validate, and merge_assembly without opening schemas.

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?

Gives explicit when-to-use ('Run before building or merging to reject a malformed parameterization before geometry is spent') and effectively a when-not (don't use it to build — that's the build tool). It also names the analogous tool validate_manifest for pattern recognition. This is exactly the routing the agent needs across 200+ siblings.

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

Deploy Server

Other Tools