Skip to main content
Glama

buy

Buy one Food Cart item into your account inventory. Counts toward your daily caps. Requires a UUID requestId.

Input Schema

NameRequiredDescriptionDefault
itemIdYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful traits: purchases go to the account inventory and consume a daily cap. It says nothing about cost/currency, what happens when caps are exhausted or funds are short, or whether requestId makes the call idempotent, which is the main behavioral question for a purchase tool.

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, front-loaded with the action and destination, no filler. The requestId sentence duplicates a constraint already encoded in the schema, which is minor waste.

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

Completeness3/5

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

For a two-parameter mutation with no annotations and no output schema, the description covers destination and cap consumption but omits cost, failure/cap-exhausted behavior, and any statement of what the call returns. Adequate to attempt the call, not enough to call it confidently.

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 0%, so the description must compensate. It only explains requestId (as a UUID), which the schema already enforces via format and pattern, and leaves itemId entirely unexplained (presumably sourced from a Food Cart catalog, but that is not stated). Partial compensation only.

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?

States a specific verb (buy) plus the exact resource and destination: one Food Cart item into the account inventory. That implicitly separates it from buy_ingredient and locker_buy, though neither sibling is named, so the agent must infer that 'buy' means Food Cart specifically.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'Food Cart item' – there is no explicit statement of when to choose this over buy_ingredient or locker_buy, nor any prerequisite (e.g. item must be in the catalog, sufficient currency). An agent reading only this description has to guess the routing rule.

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