Skip to main content
Glama

get_package_code

Seller only, physical goods: the code to put on a slip INSIDE the parcel. The buyer enters it on arrival, which confirms delivery with any carrier or none. Never send it to the buyer in a message.

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": {
      "escrowId": "<escrowId>"
    },
    "name": "get_package_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
escrowIdYesEscrow ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 carries the full disclosure burden and does a lot of it: it declares the authorization scope (seller-only), the domain restriction (physical goods), the downstream effect (buyer's entry confirms delivery with any carrier or none), and a secrecy constraint. It leaves out edge behavior such as whether the code can be re-fetched, whether it expires, or what happens if the escrow is not a physical-goods shipment.

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?

Three short sentences, front-loaded with the audience and prerequisite ("Seller only, physical goods") before the artifact description and the safety warning. Nothing is redundant or padded.

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 one-parameter, no-output-schema retrieval tool, the description covers who may call it, what it returns conceptually, and why the value matters downstream. Only re-fetch and expiry semantics are missing, which are minor for this complexity level.

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% for the single escrowId parameter, so the schema already defines the input. The description adds domain context (physical-goods escrows) but no format, sourcing, or validity details beyond that, which is the expected baseline when the schema does the heavy lifting.

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 identifies a specific artifact — the confirmation code meant to be placed on a slip inside the parcel — and scopes it to sellers of physical goods. The seller-gets / buyer-enters split implicitly distinguishes it from the sibling enter_package_code, so an agent can choose between them without opening either 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?

It states the calling context explicitly ("Seller only, physical goods") and gives a clear prohibition ("Never send it to the buyer in a message"). It does not name an alternative tool or say what to do when the escrow is not a physical-goods order, which is the only guidance gap.

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.

Resources