Skip to main content
Glama

Approve making order

stack_place_making_order

Approve a held print-on-demand order so it is placed on the customer's own supplier account, which the supplier then charges. Operator only; an agent session is refused. The person confirms exactly this order, shown with its supplier and amount, in the chat, or on the approval page when the client cannot ask. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours. 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_place_making_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesOrder id (mko_*) of an order awaiting approval
account_idYesAgent account id (acct_*)
governance_approval_idNoApproval id from a GOVERNANCE_APPROVAL_REQUIRED response, once a human approved it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Well beyond what the annotations cover: it discloses that an approval is single-use, bound to the exact payload, and expires after 24 hours, and that a rejection changes nothing. It also documents the GOVERNANCE_APPROVAL_REQUIRED error path with approval_id and approval_url. It stops short of describing side effects such as what happens to the held order if the supplier account is invalid.

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?

Purpose and the operator-only restriction are front-loaded, and every sentence carries information about the approval lifecycle. The middle sentences on the elicitation and fallback flows are dense and could be split for readability, but nothing is redundant.

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 mutation tool with an external supplier effect and no output schema, it covers auth, the human-approval flow, the error/retry path, and expiry. The return value is summarized only as 'Returns the order,' which is thin but acceptable without an output schema.

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%, so the schema already explains all three parameters. The description adds one genuinely new fact about governance_approval_id: that it is the same payload resent after approval with the id attached. Baseline 3 is appropriate given the schema carries most of the weight.

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?

The description names a specific verb (approve) and resource (a held print-on-demand order) and states the consequence: the order is placed on the customer's own supplier account and the supplier charges. That is concrete enough for an agent to distinguish this from the reject sibling by the verb alone.

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 clear use condition (a held order awaiting human approval) and an explicit exclusion: operator only, an agent session is refused. It does not name the reject alternative explicitly, so the negative case is implied rather than routed.

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.