Skip to main content
Glama

Declare what the order says should ship

packing_expect

Add an ordered line to a packing list so the shortfall is real: a SKU, a description and a quantity. Nothing is read from the quotes, work order or invoice store; what the order says is stated here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoStock code, upper-cased and stripped of spaces. Lines with a SKU are matched on it, lines without on their description
quantityYesHow many units the order says should ship. Whole units
descriptionYesThe goods as the order names them, e.g. Oak shelf 900mm
packing_listYesThe packing list id, e.g. PL-2026-0001, or the order reference when only one list carries it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description reveals that the tool appends a line, that the values are user-stated rather than sourced from other stores, and that the action affects shortfall calculations. It could say more about duplicate calls or matching behavior, but it adds meaningful behavioral context without contradicting annotations.

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?

The description is two focused sentences with the action front-loaded and the most important qualification immediately after. Every sentence earns its place, and there is no filler or redundant restating of the schema.

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

Completeness4/5

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

For a simple mutation tool with complete schema documentation and no output schema, the description supplies the essential operational context: it adds to a packing list, affects shortfall, and does not read from other stores. It does not explain duplicate handling or failure modes, but those are minor given the tool's low complexity.

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?

The input schema already documents all four parameters with 100% coverage, so the baseline is 3. The description names three of the four parameters but adds no extra format, constraints, or semantic detail beyond what the schema provides.

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 states a specific action ('Add an ordered line to a packing list') and names the payload fields (SKU, description, quantity). It is clear about the resource and purpose, but it does not explicitly differentiate from sibling tools such as pack_item or packing_shortfall.

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?

It gives clear context: use this to declare what the order says so the shortfall becomes real, and it explicitly notes that no data is read from quotes, work orders, or invoices. It lacks an explicit 'when not to use' or a named alternative, so it stops short of full guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.