Skip to main content
Glama

void_goods_receipt

Void an incomplete, unmatched goods receipt to reverse an incorrect receiving record before it is completed or tied to a supplier invoice.

Instructions

Void a goods receipt (only while not completed and not matched to a supplier invoice).

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": {
      "goods_receipt_id": "<goods_receipt_id>"
    },
    "name": "void_goods_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
goods_receipt_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden of behavioral disclosure. It does add one essential guard beyond the structured fields — the completed/matched precondition — but omits what voiding actually does to the document, whether it is reversible, what permission or state is required, and what the response or failure looks like.

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?

One sentence, front-loaded with the action and followed by the governing constraint in a parenthetical. Nothing is wasted and nothing important is buried.

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

Completeness3/5

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

For a destructive, irreversible-sounding mutation with no annotations and no output schema, the definition covers the eligibility rule but leaves the dry_run switch, the resulting state change, and error conditions unexplained. An agent knows when it may call the tool, but not fully what calling it will do.

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% for two parameters, and the description explains neither. goods_receipt_id is self-evident by name, but dry_run is a non-obvious preview/simulation flag whose semantics (what is validated, whether anything is committed) go completely undocumented in both schema and description.

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?

Names a specific verb (Void) and resource (goods receipt), and the parenthetical precondition separates it from the other goods-receipt lifecycle siblings such as complete_goods_receipt and release_goods_receipt. It stops short of naming those siblings explicitly, but the action is unambiguous.

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

Usage Guidelines4/5

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

The parenthetical states an explicit when-not condition: only usable while the receipt is not completed and not matched to a supplier invoice. That is real routing guidance, but it doesn't say what the agent should do when those conditions fail (e.g. use cancel_invoice or another tool), leaving the exclusion without an alternative.

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