Skip to main content
Glama

订单详情

cockpit_order

Retrieve full order details and a color-size quantity matrix so you can check per-color, per-size piece counts for a specific order.

Instructions

拿一张订单的全部信息,含颜色尺码矩阵。要看「这一单每个颜色每个码各多少件」时用。

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": {
      "no": "<no>"
    },
    "name": "cockpit_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
noYes订单号,如 DD-2601

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the whole behavioral burden. It discloses the return content (full order record plus the color-size matrix), which is valuable given there is no output schema, but it says nothing about read-only semantics, behavior when the order number is unknown, or permissions.

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?

Two short sentences: the first states what is returned, the second states the trigger condition. Nothing is redundant and the payload description is front-loaded.

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 one-parameter read tool with no annotations and no output schema, the description covers both what comes back and when to call it. It could be slightly stronger by noting failure behavior for an invalid order number, but nothing essential to calling it correctly 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?

There is a single required parameter with 100% schema description coverage, so the schema already explains the order number and its format example. The description adds no additional syntax, format, or constraint detail beyond the schema, making the baseline 3 appropriate.

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 names a specific verb and resource (fetch all information for one order) and adds the distinguishing content, the color-size matrix. Singular '一张订单' implicitly separates it from the list-style sibling cockpit_orders, but no sibling is named, so it stops short of a 5.

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 concrete triggering scenario: use it when you need per-color, per-size quantities for a single order. There is no explicit exclusion or named alternative (e.g. use cockpit_orders to browse), so it is clear context without routing.

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