Skip to main content
Glama

Submit a purchase order to its supplier

submit_purchase_order
Destructive

Submits one purchase order to its supplier (e.g. by email), approving and opening a draft first. This sends documents to a third party and cannot be recalled.

Input Schema

NameRequiredDescriptionDefault
dry_runNoValidate only; saves nothing.
purchase_orderYesThe purchase order id.
idempotency_keyNoA repeat with this key replays the first result.
notify_supplierNofalse skips the supplier email.
supplier_messageNoNote printed on the PO.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that: it discloses the irreversible third-party side effect ('cannot be recalled') and the hidden state mutation (approving/opening a draft), which the annotations alone do not convey.

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 tight sentences with the core action front-loaded and the critical irreversibility warning placed last for emphasis. No filler or restatement of the title.

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 destructive, open-world mutation with no output schema, the description covers the action, the required pre-existing draft, and the non-recallable consequence. It leaves the required permissions and the result of a dry_run unstated, but annotations and schema carry the rest adequately.

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%, so all five parameters (dry_run, idempotency_key, notify_supplier, supplier_message, purchase_order) are already documented. The description adds only a marginal hint ('e.g. by email') and does not elaborate on parameter behavior, so the baseline 3 is appropriate.

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 (Submits) and resource (one purchase order) plus its destination (to its supplier). It is clearly distinguishable from the sibling create_purchase_order and get_purchase_order_details, which operate on the draft/reference rather than sending it out.

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?

Implies usage by stating it acts on an existing PO ('approving and opening a draft first'), which tells the agent a draft must exist. However, it never explicitly says when to use this versus alternatives like create_purchase_order or record_purchase_invoice, leaving routing to inference.

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.