Skip to main content
Glama

Review PO Change Request

review_purchase_order_change_request
Destructive

Approve or reject a supplier's pending change to a purchase order (from list_purchase_order_change_requests). Approving applies the supplier's line quantities and prices (adding or removing lines), and any proposed expected date, shipping status and tracking, to the PO; it never receives stock. Rejecting leaves the PO as it is. An optional reviewNote is saved with the decision. A change read from a supplier email is approved through its own Signal Center card (actionItemId); this tool can reject it, which also withdraws that card. The preview shows the PO's current values beside the supplier's. Requires an operator (unpinned) credential.

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": {
      "changeRequestId": "<changeRequestId>",
      "decision": "<decision>"
    },
    "name": "review_purchase_order_change_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call.
decisionYesapprove or reject.
reviewNoteNoOptional note saved with the decision.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused.
changeRequestIdYesThe change request id (GUID).

Output Schema

NameRequiredDescriptionDefault
okNo
messageNo
previewNo
expiresAtNo
actionItemIdNo
confirmationNo
changeRequestNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description goes well beyond them: approving overwrites line quantities and prices, adds/removes lines, and applies expected date, shipping status and tracking; it never receives stock; rejecting is a no-op on the PO; the note is persisted; an operator (unpinned) credential is required. The notable gap is that the schema's mandatory two-step preview/previewReceipt commit flow is never mentioned in the description, which is a material procedural behavior for a destructive write.

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?

Four compact sentences, front-loaded with the approve/reject effect, then the email-card exception, then the preview and credential requirements. Dense but every sentence carries information; only the credential sentence feels tacked on at the end rather than organized with the other prerequisites.

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?

An output schema exists, so return values need no explanation, and annotations plus full schema coverage carry parameters and safety. What is missing is the two-step write protocol, which is arguably the single most important operational fact for this destructive tool and is documented only in the schema fields.

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 the baseline is 3, but the description adds real meaning beyond it: what the preview shows (the PO's current values beside the supplier's), that reviewNote is saved with the decision, and what the decision values actually cause. It stays silent on idempotencyKey and previewReceipt semantics, which the schema handles but which are central to safe invocation.

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 pair (approve/reject) and a specific resource (a supplier's pending purchase order change request), and names the sibling list_purchase_order_change_requests as the source of the ids. The effect of each decision is spelled out, so an agent can distinguish this from transition_purchase_order or preview_purchase_order_transition without opening a schema.

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?

Gives explicit routing: change requests come from list_purchase_order_change_requests, and an email-sourced change must be approved via its own Signal Center card (actionItemId), while this tool may still reject it (which withdraws the card). That is a genuine when-to-use / when-not-to-use rule with an alternative path named, not just implied context.

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.

Resources