Skip to main content
Glama

materialize_recipe

Destructive

Save a recipe's answer INTO a model as a real table people can see, link and build on. No row limit, only the storage quota. Re-running at the SAME arguments rewrites that table in place (same id, name and description); its columns get new ids, so call describe_table again, and its links are re-derived. Other arguments make a separate table. The response names sources read ahead of their release (a colleague on the released view cannot reproduce those numbers): relay that. Access is re-checked against the SOURCE tables for every reader: someone who cannot read an input sees the table but no rows.

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>",
      "model_id": "<model_id>",
      "table_name": "<table_name>"
    },
    "name": "materialize_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoAs `run_recipe`'s: by parameter name; omitted takes each default.
lensNo`"latest"` (default) or `"released"`, as `run_recipe`'s.
picksNoAs `run_recipe`'s: slot picks by slot name; omitted takes the defaults.
model_idYesThe model to put the result in.
recipe_idYesFrom `search` or `create_recipe`.
table_nameYesTable name, used on the first run only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description goes much further, spelling out that a same-argument re-run overwrites the existing table (same id, name, description) but regenerates column ids and re-derives links. It also discloses the per-reader access re-check against source tables and the no-row-limit / storage-quota bound, which an agent could not infer from structured fields.

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?

The core action and its persistence guarantee are front-loaded, and each subsequent sentence carries distinct information (rewrite semantics, column-id churn, link re-derivation, release-timing caveat, access enforcement). No sentence is filler despite the density.

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?

With no output schema and a destructive, multi-parameter mutation tool, the description covers what is created, what gets overwritten, what identifiers change, how permissions are enforced per reader, and what the response contains. That is sufficient for an agent to call it safely and interpret the result.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining that args, picks and lens collectively determine table identity: identical values rewrite the existing table, differing values fork a new one. It also clarifies that table_name only applies on the first run, which reinforces rather than merely repeats the schema note.

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: save a recipe's answer into a model as a real table. The contrast with the non-persisting sibling is implicit in 'SAVE ... INTO a model as a real table' versus run_recipe, and the 'no row limit, only the storage quota' clause further pins down what kind of artifact is produced.

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

Usage Guidelines4/5

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

Gives clear operational context: same arguments rewrite in place, other arguments create a separate table, and describe_table must be re-called because column ids change. It does not explicitly state when to use this instead of run_recipe (i.e. 'use run_recipe if you only need the numbers'), so it stops short of naming an alternative and its exclusion condition.

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