Skip to main content
Glama

Save a mapping for next week

save_recipe
Destructive

Save only the recipe JSON, never files or URLs. Free: one recipe per workspace, replaced on each save. Keep the returned workspace_key private to read or replace it. Pro: unlimited recipes tied to the subscription token. Pass recipe_id to update a Pro recipe.

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": "<recipe>"
    },
    "name": "save_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipeYes
pro_codeNoReconcile Pro token from checkout. Or use Authorization: Bearer. Never include it in a recipe.
recipe_idNo
workspace_keyNoPrivate key returned by free save_recipe. Keep it with the recipe id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations declare destructiveHint=true and idempotentHint=false, and the description explains exactly why: 'Free: one recipe per workspace, replaced on each save.' That is real corroborating context rather than repetition. It also surfaces an output-side obligation not captured anywhere else ('Keep the returned workspace_key private'), though it does not describe failure modes, limit-exceeded behavior, or what a successful Pro save returns.

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?

Four short sentences, no filler, and the most important constraint ('Save only the recipe JSON, never files or URLs') is front-loaded. The tier logic is ordered free-then-Pro, which matches how an agent would branch on credentials.

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 nested-schema mutation with no output schema, it covers the essentials: scope, tier semantics, key handling, and update path. The remaining gaps are second-order (what is returned on success, what happens on quota or key errors) and the deeply nested recipe structure is adequately documented by the schema itself.

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 50% schema coverage, the description does add meaning the schema lacks: it tells the agent that workspace_key is the private key returned by a free save and that recipe_id is the update handle for Pro recipes. However, pro_code and the OAuth alternative are left entirely to the schema's own description, and it does not clarify that recipe must be the recipe JSON object rather than a path or string. Partial compensation for the coverage gap.

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

Purpose4/5

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

The opening sentence gives a specific verb+resource ('Save only the recipe JSON') and immediately bounds the resource by excluding files and URLs, which separates it from a file-based sibling like reconcile_files. 'Recipe' is somewhat jargon-y and the title's 'mapping for next week' does more work than the description in explaining intent, so it stops short of a fully self-contained statement.

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?

It states the two operating modes (free: one recipe per workspace, overwritten; Pro: unlimited via subscription token) and the condition that selects update behavior ('Pass recipe_id to update a Pro recipe'). It also correctly routes non-recipe payloads away by saying 'never files or URLs'. It does not explicitly contrast with run_recipe or say when saving is preferable to running, so it is clear context without full exclusions.

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.