Skip to main content
Glama

Final POS – Custom POS Builder

Send purchase order to supplier

hub_send_purchase_order
Destructive

Place the order: moves a draft or suggested order to sent and, when asked, EMAILS IT TO THE SUPPLIER. ASK THE MERCHANT WHETHER TO EMAIL, EVERY TIME, and only then pass sendEmail: true — that message leaves the platform and cannot be recalled. Default is false, which records the order as placed without mailing anything: the right choice when they ordered by phone, in person, or through the supplier’s own portal. Emailing needs a contactEmail on the supplier; without one, send with sendEmail: false and tell them why. The email carries the order in its body — this tool cannot attach the PO PDF the cabinet produces. After sending, the order can no longer be edited; only receiving or cancelling remain.

Input Schema

NameRequiredDescriptionDefault
sendEmailNoEmail the supplier. Defaults to false — set true ONLY after the merchant said to send it
purchaseOrderIdYesPurchase order id from get_purchase_orders — not a PO number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description adds the state machine, the irreversibility of the outbound email ('cannot be recalled'), the contactEmail prerequisite, the fact that the email body carries the order rather than the PO PDF, and that the order becomes uneditable afterwards. These are consequential side effects an agent could not infer from structured fields.

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?

Front-loaded with the imperative ('Place the order') and every sentence carries an operational instruction or a hazard warning. The all-caps emphasis and the repetition of the ask-before-emailing rule consume space, but they are safety-relevant rather than filler.

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 destructive, irreversible, no-output-schema mutation tool, the description covers preconditions, side effects, irreversibility, failure mode (missing contactEmail), and post-action state. An agent has everything needed to call it correctly and to explain the outcome to the merchant.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, including the default and the 'ONLY after the merchant said to send it' guard. The description nonetheless adds decision criteria the schema lacks (phone/in-person/portal cases for false, and what happens when no contactEmail exists), plus the warning that purchaseOrderId is an id from get_purchase_orders, not a PO number.

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 and resource ('Place the order') and pins the exact state transition (draft/suggested → sent), which no sibling name conveys. It is immediately distinguishable from hub_update_purchase_order, hub_receive_purchase_order and hub_cancel_purchase_order, which the description even names as the only remaining post-send actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use (order must be draft/suggested), when-not (sendEmail:false for phone, in-person, or supplier-portal orders), a mandatory precondition (ask the merchant every time), and a blocking prerequisite (contactEmail must exist on the supplier). Alternatives after sending are named. Nothing is left 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.