Skip to main content
Glama

Create a cookbook

create_cookbook

Create an empty cookbook, for "make me a BBQ cookbook". Not needed before save_recipe, which creates a cookbook it does not know. Fails when a cookbook with that name exists already. In a household the cookbook belongs to the household unless private=true.

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

Input Schema

NameRequiredDescriptionDefault
nameYescookbook name, e.g. 'BBQ', 'Weeknight', 'Christmas'
sharedNodeprecated, the household sees every cookbook by default; false means private
privateNotrue keeps it to this user alone; in a household every cookbook is otherwise the household's, seen and saved into by every member
descriptionNoone line on what goes in it

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
ownerNo
sharedNo
defaultNo
privateNo
descriptionNo
recipe_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / private
      Added value: +{
      +  "description": "true keeps it to this user alone; in a household every cookbook is otherwise the household's, seen and saved into by every member",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / shared / description
      Previous value: -"true to make it a household cookbook that everyone in the user's household sees and saves into, for 'a cookbook for the whole family'; needs a household"New value: +"deprecated, the household sees every cookbook by default; false means private"
    • changedInput schema / properties / shared / type
      Previous value: -"boolean"New value: +[
      +  "null",
      +  "boolean"
      +]
    • addedOutput schema / properties / owner
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / private
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / shared
      Added value: +{
      +  "description": "true to make it a household cookbook that everyone in the user's household sees and saves into, for 'a cookbook for the whole family'; needs a household",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / shared
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • removedOutput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the description adds real value on top: it discloses the duplicate-name failure mode and the household ownership model (household-owned unless private=true). It does not say whether the failure is an error versus a silent no-op beyond the word "fails", but the mutation semantics are clear.

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?

Three short sentences, each carrying a distinct fact: purpose, the save_recipe relationship, and the duplicate/household rules. The clause "which creates a cookbook it does not know" is slightly cryptic but still readable, and nothing is front-loaded with filler.

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?

An output schema exists, so return values need no explanation. For a creation tool, the description covers the duplicate-name failure and the sharing scope; auth/permission requirements and any name normalization are left implicit, which is a minor gap.

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 100%, so the schema already documents name, shared, private and description. The description's remark that a cookbook belongs to the household unless private=true largely restates what the private parameter's own description says, adding no new syntax or format guidance. Baseline 3 is appropriate.

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 and resource ("Create an empty cookbook") and immediately grounds it with a concrete example request ("make me a BBQ cookbook"). It also distinguishes itself from sibling save_recipe, which creates a cookbook implicitly, so an agent can choose between them without opening either schema.

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?

Explicitly says when the tool is NOT needed ("Not needed before save_recipe") and names the alternative path. It does not mention list_cookbooks as a pre-check or update_cookbook as the path when the name already exists, which would have made the routing complete.

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.