Skip to main content
Glama

Get one coffee's details

get_coffee
Read-onlyIdempotent

Read the facts of one coffee in the Cherrybook shop from its cherrybookcoffee.com link or slug. For a retired or sold-out Cherrybook coffee, returns the closest coffees the shop sells; for unknown slugs, use find_coffees.

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

Input Schema

NameRequiredDescriptionDefault
url_or_slugYesA cherrybookcoffee.com coffee link or its slug.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the description is not burdened with the safety profile. It adds genuinely non-obvious behavior: retired/sold-out coffees return nearest alternatives rather than an error, which prevents an agent from mistaking a substitute result for the exact coffee requested. It could still say whether an unknown slug produces an error or empty result, but that is a minor gap.

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?

Two sentences, zero filler, with the core action front-loaded and the exception handling placed second. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A single-parameter read tool with an output schema and full annotation coverage needs little more than this. Identifier format, routing to the search sibling, and degraded-result behavior are all covered.

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 coverage is 100% and the single parameter is documented as a cherrybookcoffee.com link or slug. The description restates the same domain constraint without adding format, normalization, or case-handling detail, so the schema does the real work and a 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?

Specific verb and resource: 'Read the facts of one coffee in the Cherrybook shop', with the accepted identifier form stated. It is clearly separable from find_coffees, which it names as the search alternative for unknown slugs.

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?

Explicit routing rules: use find_coffees for unknown slugs, and note that retired or sold-out coffees yield the closest alternatives instead of a failure. Both the use case and the fallback condition are stated, leaving little to inference.

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