Skip to main content
Glama

Issue order

p2p_issue_po
Destructive

Record that the order went to the vendor. Its prices freeze: bills are matched against them. Issue when the person says the order went out (Saybooks sends nothing; they send it). After this the order cannot be edited, only received against, closed short or, while nothing has arrived, cancelled. Effects: order issued, prices frozen.

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": {
      "po_id": "<po_id>"
    },
    "name": "p2p_issue_po"
  }
}

Input Schema

NameRequiredDescriptionDefault
po_idYesThe order, e.g. PO-0001. An existing p2p_po id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say destructive=true, idempotent=false, openWorld=false; the description goes well beyond them by disclosing the concrete consequences: prices are frozen and bills are matched against them, the order becomes non-editable, and the only remaining paths are receiving, closing short, or cancelling while nothing has arrived. That is exactly the irreversible-mutation context an agent needs before calling.

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?

The trigger condition and the irreversible consequences are front-loaded in the first two sentences, which is the right ordering for a destructive action. The trailing "Effects: order issued, prices frozen." largely restates what was already said, so the text is dense but not perfectly waste-free.

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 irreversible state transition with annotations and full schema coverage, the definition covers trigger, consequences, and the post-issue state machine. The only gap is that no output schema exists and the description never says what the call returns (presumably the updated order), leaving the agent to infer the response.

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% and the single po_id parameter is already documented in the schema with an example format (PO-0001) and a reference to p2p_po ids. The description adds no additional meaning about the identifier, so the baseline of 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?

"Record that the order went to the vendor" names a specific state transition on a specific resource, and the follow-on sentence about prices freezing and bills matching explains the business meaning of 'issue'. The closing line listing what can still happen afterward (receive, close short, cancel) implicitly separates this from the sibling cancel/close operations.

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?

"Issue when the person says the order went out (Saybooks sends nothing; they send it)" gives an explicit trigger condition plus a useful negative — the system does not transmit the PO, so the agent should not treat this as a send action. It stops short of stating prerequisites like 'the order must be in draft' or naming p2p_cancel_po / p2p_close_po_short directly as the post-issue alternatives.

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.