Skip to main content
Glama

Add a tracking number

add_tracking_number

Use this after the user has mailed their side of an active Handshake, to record the carrier and tracking number. The other side is emailed it with a link to the carrier's tracking page, and both see it in get_handshake (shipments). Calling it again corrects the number. Nothing is bought or charged; postage is bought outside TraydStar.

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": {
      "handshake_id": "<handshake_id>",
      "tracking_number": "<tracking_number>"
    },
    "name": "add_tracking_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
carrierNoThe carrier. Optional: guessed from the number's shape when it can be; required when it can't
handshake_idYesThe active Handshake the item was mailed for
tracking_numberYesThe tracking number exactly as printed on the receipt or label

Output Schema

NameRequiredDescriptionDefault
successNo
updatedNo
shipmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses the side effects: the other side is emailed a link to the carrier's tracking page, both parties see it via get_handshake (shipments), and repeated calls overwrite. It also explicitly rules out purchasing or charging, which is the main ambiguity for a shipping-related tool.

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?

Four short sentences, front-loaded with the trigger condition, then effects, then the idempotency note, then the no-charge clarification. Every sentence adds decision-relevant information.

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

Completeness5/5

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

For a three-parameter mutation with an output schema and full annotation coverage, the description supplies the missing piece: exactly when to call it and what downstream effects to expect. Nothing an agent needs is absent.

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% and the carrier-guessing behavior is already documented in the schema, so the description only restates carrier and number at a high level. Baseline 3 applies because 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?

States a specific verb and resource: 'record the carrier and tracking number' for an active Handshake after mailing. That is distinguishable from the surrounding proposal/handshake tools without opening the 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?

Gives a clear precondition ('after the user has mailed their side of an active Handshake') and clarifies that repeat calls correct the number. It does not name an alternative tool, but no obvious competing tool exists for this action.

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.