Skip to main content
Glama

The Purple Bear ordering

My past orders

get_my_orders
Read-only

Use when the customer asks what they ordered before, or wants to repeat an order. Needs their connected account. Returns their recent orders (newest first) with code, date, status, location, items with options, and total in cents.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_my_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many orders (default 10, most 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses a real prerequisite ('needs their connected account'), the sort order ('newest first'), and the exact shape of the returned record including units ('total in cents'). It stops short of describing pagination limits or failure behavior when no account is connected.

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 ordered as trigger, prerequisite, return payload – front-loaded and mostly waste-free. The only soft spot is the 'repeat an order' clause, which adds length but introduces routing ambiguity rather than value.

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?

With no output schema, the description carries the burden of describing return values and does so field by field, plus it names the auth prerequisite. For a single-optional-parameter read tool this is close to complete; only the limit/pagination behavior is left solely to the 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?

Schema coverage is 100% and the single 'limit' parameter is fully documented in the schema (default 10, max 20). The description adds no further meaning about the limit or what happens if omitted, so the baseline of 3 applies.

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 – returning the customer's recent orders – and enumerates the payload fields. It is clearly distinguishable from get_my_account and search_menu, but the phrase 'or wants to repeat an order' blurs the boundary with the repeat_order sibling rather than sharpening it.

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?

The trigger condition is explicit ('customer asks what they ordered before'), which is genuinely useful routing guidance. However, the definition also claims this tool applies when the customer 'wants to repeat an order' even though a dedicated repeat_order tool is available, and it gives no rule for choosing between them – the agent is left to guess.

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