Skip to main content
Glama

enter_package_code

Buyer only, physical goods: enter the code found on the slip inside the parcel. It confirms the parcel arrived and starts the inspection window; it does not release the escrow. Only a code found inside the parcel, never one sent to you.

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>",
      "code": "<code>"
    },
    "name": "enter_package_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
escrowIdYesEscrow ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does a good job: it discloses the important side effect (starts the inspection window), explicitly rules out escrow release, restricts the caller to buyers, and warns against out-of-band codes. It stops short of describing error handling, retry limits, or whether the inspection clock can be paused once started.

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 tight sentences with zero filler; the audience restriction and the artifact required are front-loaded, followed by the effect and the fraud caveat. Every clause adds distinct information.

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?

Given no annotations and no output schema, the description covers who may call it, what is required, what the call causes, and what it explicitly does not cause. What is missing is a brief note on failure behavior (invalid or already-used code) and any indication of what is returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, and escrowId is documented with nothing more than 'Escrow ID'. The description compensates heavily for the code parameter by specifying provenance (slip inside the parcel), the anti-phishing constraint, and its role as proof of delivery, though it leaves escrowId entirely to the schema.

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 definition gives a specific verb ('enter') and resource ('the code found on the slip inside the parcel') plus a clear scope restriction ('Buyer only, physical goods'). It is immediately distinguishable from a code-retrieval sibling such as get_package_code, since this action consumes a code rather than returning one.

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 condition for use ('confirms the parcel arrived and starts the inspection window') and a hard exclusion ('Only a code found inside the parcel, never one sent to you'). It does not name an alternative tool or say what to do if the parcel never arrives, so a small inference gap remains.

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