Skip to main content
Glama

Adam's Snack Wagon

Check an order's status

order_status
Read-onlyIdempotent

After the customer has paid through a pay link from build_cart, check where that order is: the step it is on, the timing, and the driver's first name. Works only with that cart's own pay_link. Cannot change or cancel an order.

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

Input Schema

NameRequiredDescriptionDefault
pay_linkYesThe pay_link that build_cart returned.

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?

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the description's job is lighter. It still adds real context beyond them: the link must belong to that same cart, and the tool is explicitly not a mutation path. Nothing in the description contradicts the annotations.

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 short sentences, front-loaded with the action and its precondition, that also cover the key scope constraint and the exclusion. There is no filler or restatement of the tool name.

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?

For a single-parameter read tool with full annotation coverage and no output schema, the description still names what comes back (step, timing, driver first name) and what the tool will not do. An agent has everything it needs to call this correctly.

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?

Schema coverage is 100% and the parameter is fully documented, so the baseline is 3. The description adds a genuine semantic constraint beyond the schema by specifying that only that cart's own pay_link works, which tells the agent how to source and scope the value.

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?

Uses a specific verb and resource ('check where that order is') and enumerates the returned facets: the step it is on, the timing, and the driver's first name. That level of detail distinguishes it from build_cart, which the description frames as the upstream prerequisite rather than a status mechanism.

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 a clear precondition for use: only after the customer has paid through a pay link from build_cart. It also rules out mutation ('Cannot change or cancel an order'), but stops short of naming which tool an agent should reach for if a change or cancellation is actually needed.

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