Skip to main content
Glama

reorder

Ask the team to repeat one of the customer's own past orders (optionally with changes). Creates a repeat-order enquiry — the team confirms pricing before production; nothing is charged automatically. Requires the portal personal token, and only accepts order ids from the customer's own my-orders list.

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": {
      "orderId": "<orderId>"
    },
    "name": "reorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesNoOptional changes, e.g. 'same kit but 50 more units, ship to the Pune office'
orderIdYesAn order id from my-orders

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses that the call creates an enquiry rather than a real order, that pricing is confirmed by the team before production, that nothing is charged automatically, and that the portal personal token is required. Missing only edge-case behavior such as what happens with an invalid or foreign order id.

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 tight sentences, front-loaded with the action and followed by the key reassurance (no automatic charge) and then the access constraint. Minor redundancy between 'the customer's own past orders' and 'the customer's own my-orders list', but no wasted content.

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 2-parameter tool with full schema coverage and no output schema or annotations, the description covers the essentials: side effects, charging behavior, and auth. It could add what the confirmation/enquiry result looks like or what errors occur for non-owned order ids, but nothing critical for correct invocation is missing.

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 both parameters already have descriptions with an example for 'changes', so the baseline is 3. The description reinforces the orderId constraint (must come from my-orders) and frames 'changes' as optional modifications, but adds no new syntax or format detail beyond the schema.

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?

Specific verb+resource: 'Ask the team to repeat one of the customer's own past orders'. It also scopes the resource to the customer's own my-orders list, which cleanly separates it from sibling tools like my-orders (listing) and track-order (tracking). An agent can identify the action without opening the schema.

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?

States the condition for use (a past order the customer wants repeated, optionally with changes) and constrains the input to ids from my-orders, implying my-orders must be consulted first. It stops short of stating explicit exclusions, e.g., that this is not for brand-new orders or bulk pricing enquiries (calculate-bulk-price), but the intended context is clear.

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