Skip to main content
Glama

update_purchase_order

Modify purchase order header fields via partial update, including delivery date or internal reference. Use dry-run to preview changes before applying.

Instructions

Change purchase-order head fields (partial update, e.g. {"deliveryDate": "2026-10-20", "internalReference": "..."}).

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": {
      "purchase_order_id": "<purchase_order_id>",
      "fields": "<fields>"
    },
    "name": "update_purchase_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYes
dry_runNo
purchase_order_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses partial-update semantics (only the listed fields change), but omits who may call it, whether validation or business-rule side effects occur (e.g. totals recalculated), and whether changes are reversible — significant gaps for a mutation tool.

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?

A single front-loaded sentence with a compact inline example; nothing is wasted. It is arguably too terse for a nested-object mutation, but there is no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with nested parameters, zero schema coverage, no annotations, and no output schema, the definition leaves too much undefined: valid field names, dry_run behavior, error/precondition handling, and any description of the response. The example alone is insufficient context for an agent to call this safely.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must compensate. The example keys ('deliveryDate', 'internalReference') give useful shape to the nested fields object, but purchase_order_id and especially dry_run (a preview flag an agent would want to know about) are never mentioned, and the set of valid fields is left open-ended.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Change') and resource scope ('purchase-order head fields'), and 'partial update' clarifies it is not a full replace, which helps separate it from void/complete variants. It never names a sibling alternative (e.g. complete_purchase_order, update_order), so differentiation is inferred rather than explicit.

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?

The phrase 'partial update' implies this is the tool for modifying a subset of head fields, and the inline example demonstrates the expected call shape. There is no explicit when-to-use/when-not-to-use guidance or pointer to the many neighbouring update_* / *_purchase_order tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.