Skip to main content
Glama
mcp-server-chile
by crisvd

Get the status of a customer's order

get_order_status
Read-onlyIdempotent

Retrieve an order’s status, ETA, and total by order number and customer email; returns an error when the order is missing or not linked to that email.

Instructions

Returns status, ETA and total of an order, only if it belongs to the given customer e-mail. Missing and foreign orders return the same error.

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": {
      "order_number": "<order_number>",
      "customer_email": "<customer_email>"
    },
    "name": "get_order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_numberYes4 to 8 digits
customer_emailYes

Output Schema

NameRequiredDescriptionDefault
etaNo
numberYes
statusYes
total_clpNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, and non-open-world behavior. The description adds useful context beyond those annotations by naming the returned fields and disclosing that missing and foreign orders are indistinguishable in the error response.

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 two short clauses with no wasted wording. The returned fields are front-loaded, and the ownership/error constraint follows efficiently.

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 two-parameter read tool with annotations and an output schema, the description covers the essential operation, ownership condition, and error behavior. Minor details such as ETA format or total currency are reasonably left to the output schema.

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?

The description adds meaning to customer_email by framing it as an ownership check, not just a formatting requirement. However, schema coverage is only 50%, and the order_number format is left to the schema while the description adds little parameter-specific detail.

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?

The description states a specific verb and resource: it returns an order's status, ETA, and total. It is clearly a lookup tool rather than a calculation or validation tool, though it does not explicitly differentiate itself from siblings.

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?

It gives a clear prerequisite: the order must belong to the supplied customer e-mail. It also explains that missing and foreign orders produce the same error, which tells the agent how failures behave, but it does not name alternatives or when-not-to-use cases.

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