Skip to main content
Glama

List cookbooks

list_cookbooks
Read-onlyIdempotent

List the user's cookbooks with how many recipes each holds, for "what cookbooks do I have", or before saving when the user says "the usual one". Every user has a default cookbook; the others are named by the user, e.g. Stews, BBQ, Christmas. In a household every cookbook is the household's unless marked private, so the list carries the other members' cookbooks too, their default ones with owner set to the member's name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_cookbooks"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
cookbooksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / cookbooks / items / properties / owner
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / cookbooks / items / properties / private
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / cookbooks / items / properties / shared
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / cookbooks / items / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely non-obvious scope semantics: a default cookbook always exists, cookbooks are user-named, and household members' cookbooks (including their defaults, with owner set) appear unless marked private.

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

Conciseness3/5

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

Front-loads what it returns and why, but the second half drifts into household/owner narrative with example names (Stews, BBQ, Christmas) that are illustrative rather than decision-relevant. It is a single dense paragraph rather than cleanly structured.

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 zero-parameter list tool with an output schema and full annotation coverage, the description covers purpose, triggering intent, and the household-scoping surprise that could otherwise confuse an agent. Output shape need not be restated; only a pagination/size caveat is absent.

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?

Zero parameters, so baseline is 4; the description still adds meaning about the result set (owner field for household members' defaults, privacy exclusion) even though no arguments need explaining.

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?

Specific verb (list) plus resource (cookbooks) and it states what each entry reports (recipe count per cookbook). It is clearly distinguished from create_cookbook/delete_cookbook/update_cookbook siblings by being the enumeration read.

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 concrete triggering situations – answering "what cookbooks do I have" and resolving "the usual one" before a save. It does not name an alternative tool nor state when not to use it, which keeps it short of 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.