Skip to main content
Glama

ActionShip by Teapplix Demo

Revert Split Order

teapplix_revert_split_order
Destructive

Revert a previously split order back to a single order. [DEMO]

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": {
      "TxnId": "<TxnId>"
    },
    "name": "teapplix_revert_split_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
TxnIdYesTxnId of the original (parent) order to revert.

Output Schema

NameRequiredDescriptionDefault
OrdersResultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / OrdersResult / items / properties / Code / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / OrdersResult / items / properties / Code / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  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 destructiveHint=true, idempotentHint=false, and openWorldHint=false, so the agent knows this is an irreversible mutation. The description adds no additional behavior beyond that — it does not say what happens to the child orders or whether shipments/labels on them block the revert, which is the key unknown for a destructive operation.

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?

A single front-loaded sentence describing the action; the trailing '[DEMO]' tag is minor metadata that does not obscure meaning. Nothing wasteful, though also nothing extra earned.

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 tool with an output schema, the description covers the minimum needed to call it correctly. However, for a destructive revert with no annotation-level detail, it omits the consequences an agent should know before invoking — what is removed and whether the revert is safe after downstream operations.

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 single TxnId parameter is already documented as the parent order identifier; the description's 'previously split order' merely restates that scoping. With one well-documented parameter, baseline 3 is appropriate — no extra format or edge-case detail is supplied.

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 (revert) and resource (a previously split order), and the phrase 'previously split order' implicitly links it to the split_order sibling. It stops short of naming the sibling or clarifying which order records are affected, so it is clear but not fully differentiated.

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?

Usage is implied by 'previously split order' — an agent can infer this applies only to orders that were split — but there is no explicit when-not guidance, no mention of the split_order sibling, and no statement of prerequisites such as whether the split must be unshipped or unlabelled first.

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