Skip to main content
Glama

Reject making order

stack_reject_making_order
Destructive

Decline a held print-on-demand order: nothing is placed and its budget is given back. Operator only; an agent session is refused. Returns the order.

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": {
      "account_id": "<account_id>",
      "order_id": "<order_id>"
    },
    "name": "stack_reject_making_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesOrder id (mko_*) of an order awaiting approval
account_idYesAgent account id (acct_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes beyond destructiveHint=true by explaining exactly what the destructive action does and does not do: nothing is placed and the budget is returned, so the effect is bounded and recoverable. It also discloses an authorization restriction (operator-only, agent sessions refused) and that the order is returned, though it does not cover idempotency or error behavior.

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 compact sentences: effect first, then authorization constraint, then return value. Every clause carries information and nothing is repeated from the annotations or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-required-parameter mutation with no output schema, the description covers the effect, the side effect on budget, the caller restriction, and the return value — everything an agent needs to decide and call correctly.

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%, with both order_id (mko_*) and account_id (acct_*) documented. The description's 'held' and 'operator only' wording adds a little context about allowable state and caller, but nothing about parameter formats beyond the schema; baseline 3 applies.

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?

States a specific verb ('Decline') and resource ('held print-on-demand order') plus the two consequences (nothing is placed, budget returned), which distinguishes it from stack_place_making_order without needing to name it.

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?

"Operator only; an agent session is refused" is an explicit when-not condition, and "held ... awaiting approval" scopes the applicable state. It stops short of explicitly naming the approve/place alternative the operator would otherwise use.

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.