Skip to main content
Glama

The Meal Plan Vault

Share cookbook

share_cookbook
Idempotent

Turn on a share link for one of the household's cookbooks and return it. Anyone signed in with the link can read the cookbook and save their own copy; they can't change this one. If the link is already on, the same link comes back. Cookbooks are part of Premium.

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": {
      "cookbook_id": "<cookbook_id>"
    },
    "name": "share_cookbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
cookbook_idYesID of one of the household's cookbooks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds genuinely new context: the sharing scope (anyone signed-in with the link), the recipient's capability limits (read and save their own copy, cannot change this one), and a Premium gating requirement. That last point is the kind of prerequisite an agent cannot get from the schema. Only the return payload shape is left implicit.

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, each earning its place: the action and return, the permission envelope, the idempotent case, then the entitlement gate. The mutating action is front-loaded with zero preamble or restated title.

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 single-parameter tool with no output schema, the definition covers what is created, who can access it, what recipients can do, retry semantics, and the Premium prerequisite — enough to invoke correctly. It stops short of describing the returned link's structure, but 'return it' plus the sibling get_shared_cookbook makes the intent legible.

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?

One parameter at 100% schema description coverage, so the schema already defines cookbook_id as 'ID of one of the household's cookbooks.' The description adds no format, scoping, or failure detail beyond that, so the baseline 3 applies.

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?

Specific verb and resource: 'Turn on a share link for one of the household's cookbooks and return it' — the agent knows exactly what state change occurs and that a link is produced. It doesn't explicitly name the boundary with get_shared_cookbook or unshare_cookbook, so the sibling distinction is inferred from the verb rather than stated.

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 a real precondition ('Cookbooks are part of Premium') and covers the repeat case ('If the link is already on, the same link comes back'), which tells the agent this is safe to retry. No explicit when-not guidance or named alternative for merely reading an existing link, which keeps it below a 5.

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