Skip to main content
Glama
MCP Customer Support AI

MCP Customer Support AI

get_customer_orders

Retrieve all orders for a specific customer by customer ID to support order lookup, status checks, and customer support workflows.

Instructions

Get all orders for a customer

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": {
      "customerId": "<customerId>"
    },
    "name": "get_customer_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerIdYesUnique customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely does not meet it. The word "all" hints at no filtering or pagination, but it does not state whether results are paginated, ordered, permission-scoped, or whether an empty list versus an error is returned for an unknown customer.

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?

One short sentence with no filler, and the core action is front-loaded. It errs toward terseness rather than verbosity, but nothing is redundant or buried.

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 one-parameter read tool whose parameter is fully documented in the schema, the definition is adequate to call it. The lack of any note on result shape, volume, or pagination leaves a gap, especially with no output schema and no annotations to fill it in.

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 customerId parameter is fully documented in the schema, so the baseline is 3. The description only implies that orders are restricted to the given customer, which the schema already conveys, so it adds no new parameter meaning.

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 and resource ("Get all orders") plus the scoping entity ("for a customer"), so the agent knows exactly what is returned. It does not differentiate itself from siblings such as find_customer, but the name and description together are unambiguous about the operation.

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

Usage Guidelines2/5

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

No when-to-use guidance and no mention of alternatives or prerequisites. The agent must infer that this is the lookup to call once it already has a customer ID, and cannot tell from the description whether this is the right tool when only a name or email is available.

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