Skip to main content
Glama

set_invoice_warehouse_ready

Marks an invoice as delivered or completed in the warehouse using its document number; use dry_run to preview the change without applying it.

Instructions

Mark an invoice as delivered/done in the warehouse.

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": {
      "document_number": "<document_number>"
    },
    "name": "set_invoice_warehouse_ready"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
document_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutation, yet it says nothing about reversibility, permission requirements, idempotency, or what 'delivered/done' sets in the system. The presence of a dry_run parameter, which implies a preview/non-committing mode, is not mentioned at all — a significant omission for a write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no wasted clauses, so it is structurally clean and front-loaded. The terseness is a symptom of under-specification rather than disciplined concision.

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 two-parameter mutation with no annotations and no output schema, the description leaves too much open: the meaning of the target state, the role of dry_run, and the expected result are all missing. An agent could invoke it correctly by name only, not by understanding.

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%, so the description must compensate and does not: neither document_number (is it an invoice number or another document id?) nor dry_run (what it previews and whether it mutates anything) is explained. The dry_run flag in particular is semantically critical and entirely undocumented.

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

Purpose3/5

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

The description names a verb plus resource ('Mark an invoice') and a target state, which is better than the bare tool name. However, 'delivered/done in the warehouse' conflates two distinct states and never clarifies what warehouse-ready actually means operationally, and it does not differentiate from invoice siblings such as mark_invoice_sent or bookkeep_invoice.

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

Usage Guidelines2/5

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

There is no statement of when this transition is appropriate, what prerequisite state an invoice must be in, or which sibling tool handles related invoice state changes. The agent must guess from the tool name alone.

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