Skip to main content
Glama

Take a packed line back out

unpack_item

Remove one packed line from a packing list by its L01-style id and return the carton it came out of. The line is deleted, not zeroed, so the slip does not print an item nobody packed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineYesThe packed line id, e.g. L03, as shown by packing_list_show or carton_report
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

A3.6/5.0
Behavior1/5

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

Annotation Contradiction: the annotations set destructiveHint=false, but the description explicitly says 'The line is deleted, not zeroed' — a hard deletion of a resource. This directly contradicts the annotation. Apart from the contradiction, the description does usefully disclose the delete-not-zero behavior and the slip consequence.

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?

Two sentences: the first fronts the action, resource, id style, and return value; the second explains the deletion behavior and why it matters. Every clause earns its place with no filler.

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 two-parameter tool with no output schema, the description covers what action to take, what id format to use, what side effect occurs, and what is returned. It does not mention not-found or error behavior, and the destructiveHint contradiction slightly undermines completeness, but the core call is adequately specified.

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 100%, and both parameters are already well described in the schema. The description adds no genuine parameter-level meaning beyond restating the id style and packing-list/or-order-reference format, so the baseline 3 applies.

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?

The description states a specific verb ('Remove'), a precise resource ('one packed line from a packing list'), an addressing scheme ('L01-style id'), and the expected result ('return the carton it came out of'). This clearly differentiates it from siblings like pack_item (adding lines) and packing_list_delete (deleting whole lists) even without naming them.

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 description gives clear operational context: use this tool to remove a single already-packed line and to prevent the slip from printing an unpicked item. It does not explicitly name alternatives or give when-not-to-use guidance, so it stops short of a 5.

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.