Skip to main content
Glama

set_purchase_order_response

Record a supplier's purchase order answer manually when the order was placed by email, phone, or web shop instead of Fortnox. Set acceptance, delivery-date changes, rejection, or sent status.

Instructions

Record the supplier's answer (e.g. when the order was placed by e-mail, phone or a web shop rather than sent from Fortnox).

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>",
      "response": "<response>"
    },
    "name": "set_purchase_order_response"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
responseYes
purchase_order_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Record' implies a write operation, but the description does not explain permissions, side effects, reversibility, whether it overwrites an existing response, or how the dry_run parameter affects behavior.

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 description is a single front-loaded sentence with no redundant filler, and the parenthetical example is useful context. It is appropriately concise, though it could be slightly more structured if it needed to carry more operational detail.

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 three-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage, the definition is under-specified. It gives useful business context but omits parameter meanings, side effects, and dry-run behavior that an agent would need to invoke it correctly.

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%, and the description only loosely maps 'response' to the supplier's answer. It does not explain the response enum values, the required purchase_order_id, or the dry_run flag, leaving most parameter semantics undocumented.

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?

The description uses a specific verb, 'Record', and identifies the resource as the supplier's answer, with examples clarifying that this applies when an order was placed outside Fortnox. It is clear what the tool does, though it does not explicitly distinguish itself from sibling tools such as complete_purchase_order or send_purchase_order.

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 description implies when to use it: when the purchase order was handled by e-mail, phone, or web shop rather than sent from Fortnox. However, it gives no explicit alternatives, exclusions, or prerequisites, leaving the agent to infer usage versus sibling tools.

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