Skip to main content
Glama

get_cookbook_example

Retrieve a specific AT Protocol cookbook example by project name to get implementation examples and starter code. Returns README, file listing, and key source files.

Instructions

Retrieve a specific AT Protocol cookbook example by project name.

Returns the project README, file listing, and key source code files. Use this when you need implementation examples or starter code.

Args: name: Project directory name (e.g. "python-bsky-post", "ts-bot", "go-repo-export", "python-oauth-web-app"). Use list_cookbook_examples to discover available projects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the return content (README, file listing, source files) but does not explicitly state safety (read-only), permissions, or error behavior. It implies retrieval but lacks explicit behavioral notes.

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 description is concise and well-structured: two sentences plus a focused Args section. The purpose is front-loaded, and every sentence earns its place, with no redundancy.

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 simple one-parameter retrieval tool, the description covers purpose, usage, parameter semantics, and return content. It lacks explicit note on side effects or error handling, but the output schema covers return structure. Given no annotations, a slightly more detailed behavioral note would push it to 5, but it is complete enough.

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

Parameters5/5

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

The input schema provides no description for the 'name' parameter (0% coverage). The description compensates with an Args section that explains the parameter, gives concrete examples, and references list_cookbook_examples to discover valid values. This adds significant meaning beyond the schema.

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?

The description clearly states it retrieves a specific AT Protocol cookbook example by project name. This is a specific verb+resource combination and distinguishes itself from sibling tools like list_cookbook_examples, which lists all examples.

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

Usage Guidelines5/5

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

The description explicitly says 'Use this when you need implementation examples or starter code' and directs users to list_cookbook_examples for discovering available projects. This provides clear guidance on when to use this tool and an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ashex/atproto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server