Skip to main content
Glama
AM253906
by AM253906

Finish package (write)

finish_package

Finish a zero-quantity package in METRC to remove it from active inventory and update compliance status. Provide the package label and finish date to complete the process.

Instructions

Mark a zero-quantity package as finished, removing it from active inventory. This modifies the state compliance record. Requires METRC_ALLOW_WRITES=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYesThe package tag label to finish.
actualDateYesFinish date, YYYY-MM-DD.
licenseNumberNoFacility license number. Omit to use METRC_LICENSE_NUMBER.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description discloses important behavioral traits: it modifies the state compliance record, removes the package from active inventory, and requires a write flag. This goes well beyond the tool name, though it does not cover reversibility or failure behavior.

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 with no filler. The core action and effect are front-loaded, and the prerequisite is stated immediately after, making it easy for an agent to parse quickly.

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 mutation tool with no annotations and no output schema, the description covers the key facts: what it does, what it affects, and the required configuration. Missing edge cases like 'already finished' or non-zero quantity are not critical for correct invocation.

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 coverage is 100%, so the schema already documents all parameters. The description adds the zero-quantity context but does not add meaning to individual parameters beyond what the schema provides, so the baseline of 3 is appropriate.

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 ('Mark'), the resource ('a zero-quantity package'), and the effect ('removing it from active inventory'). It clearly distinguishes itself from the read/list siblings like list_active_packages and get_package.

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?

Provides clear context: the tool is for zero-quantity packages and requires METRC_ALLOW_WRITES=true. It does not explicitly name alternatives or state when not to use it, but the intended use is evident and the condition is concrete.

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