Skip to main content
Glama

Order Investigation

OrderInvestigation
Read-only

Full order investigation by order number or track & trace: order details, usage records, payment orders, related tickets.

Input Schema

NameRequiredDescriptionDefault
queryYesOrder number or track & trace
intentIdNoOptional correlation ID for an existing investigation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / intentId / description
      Previous value: -"Intent ID from RecordUserQuestion"New value: +"Optional correlation ID for an existing investigation"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare read-only, non-destructive, and non-open-world behavior. The description adds useful payload context by listing order details, usage records, payment orders, and related tickets, but does not mention permissions, aggregation behavior, or not-found handling.

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 a single front-loaded sentence with no filler. The included-data list is compact and useful.

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 helpfully lists the main data returned by the investigation. It is nearly complete, though it stops short of explaining investigation boundaries, alternatives, or error cases.

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 description coverage is 100%, and the schema documents both query and intentId. The description restates that the query can be an order number or track & trace, but does not mention intentId or add syntax details beyond the schema.

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 resource and scope ('Full order investigation') and the supported identifiers, and enumerates the included data. It does not explicitly differentiate itself from sibling order-lookup tools such as FindOrder or FetchWebshopOrder.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no sibling tools are named as alternatives. The accepted identifiers imply usage, but the agent must infer how this differs from other order and track-trace tools.

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