Skip to main content
Glama

create_goods_receipt

Book a delivery against a purchase order as a draft, recording received article quantities and closing short-shipped remainders; stock increases only when the goods receipt is released.

Instructions

Book a delivery against a purchase order (draft; stock goes up on release_goods_receipt). received: [{article_number, quantity}] — what physically arrived. rest_still_expected=false closes the remaining quantity (supplier short-shipped for good). delivery_note = the supplier's delivery-note/invoice number.

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>",
      "received": "<received>"
    },
    "name": "create_goods_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
dry_runNo
receivedYes
receipt_dateNo
delivery_noteNo
purchase_order_idYes
rest_still_expectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/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 burden. It does disclose the important non-obvious behavior that booking creates a draft with no stock impact until release, plus what rest_still_expected=false means for the remaining quantity. It says nothing about permissions, over-receipt handling, idempotency, or what dry_run actually returns, which are 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?

Front-loads the purpose in the first clause, then moves through payload shape and flags in a compact fragment style with no filler. The 'supplier short-shipped for good' aside is slightly awkward phrasing but conveys the semantics of a defaulted boolean, so it earns its place.

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?

With seven parameters, zero schema descriptions, no annotations, and no output schema, the description covers the core payload and the most confusing flag well. It is still incomplete for a mutation tool: dry_run is a listed parameter with no explanation of its effect or return value, and nothing indicates failure modes or what the created draft looks like.

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

Parameters3/5

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

Schema description coverage is 0%, and 'received' is declared only as an array of free-form objects with no item schema, so the description's '{article_number, quantity}' breakdown is genuinely load-bearing and prevents malformed calls. It also explains rest_still_expected and delivery_note meaningfully, but leaves dry_run, receipt_date, and note entirely undefined despite being non-obvious.

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 ('Book a delivery against a purchase order') and immediately scopes it via the lifecycle note that stock only goes up on release_goods_receipt. This distinguishes it from the sibling release_goods_receipt and from other create_* tools without needing the schema.

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 'draft; stock goes up on release_goods_receipt' clause effectively tells the agent this is the first step of a two-step flow, which is real when-to-use guidance. It lacks explicit exclusions or a statement of what to do if the delivery is already booked (void_goods_receipt is never named), so it stops short of full routing guidance.

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