Skip to main content
Glama

Get the pickup pass

get_pickup_pass
Read-onlyIdempotent

Get the pickup pass again for a paid order, when the user asks for their QR, pickup code or pass link (lost the email, closed the card). Returns the pass link, the six-character pickup code and the QR, shown as the pass card. Needs the claim create_pickup_order returned. An unpaid order has no pass yet: to see where an order is up to, use order_status instead.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_pickup_pass"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimNoThe claim create_pickup_order returned with the order. With it, a paid order's pass comes back too.
order_idYesThe order id create_pickup_order returned, like "ord_7HkQ2mXc9aRt".
shop_urlNoAn agentPickup shop's URL, as find_shops returns it. Defaults to https://agentpickup.app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / order_id / description
      Added value: +"The order id create_pickup_order returned, like \"ord_7HkQ2mXc9aRt\"."
    • addedInput schema / properties / order_id / maxLength
      Added value: +64
    • addedInput schema / properties / order_id / minLength
      Added value: +1
  2. Changed1 schema field changed
    • addedInput schema / properties / claim
      Added value: +{
      +  "description": "The claim create_pickup_order returned with the order. With it, a paid order's pass comes back too.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / shop_url
      Added value: +{
      +  "description": "An agentPickup shop's URL, as find_shops returns it. Defaults to https://agentpickup.app.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint/idempotentHint annotations, the description discloses what comes back (pass link, six-character pickup code, QR rendered as a pass card) and the prerequisite that the claim from create_pickup_order is needed. It also flags the edge case that unpaid orders have no pass, which is behavior an agent would otherwise discover only by failing.

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 tight sentences: intent and triggers first, return contents second, prerequisite and the unpaid-order fallback last. The parenthetical '(lost the email, closed the card)' earns its place by grounding the trigger, and nothing is repeated from the schema verbatim.

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?

With no output schema, the description carries the return-value burden and does so, listing the three artifacts returned. Combined with the preconditions, the unpaid-order exclusion, and the sibling routing, an agent has everything needed to call this correctly.

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 100%, so all three parameters are already documented, setting the baseline at 3. The description adds the non-obvious dependency between the optional 'claim' parameter and getting a paid order's pass, which is meaningfully more than the schema's phrasing and helps the agent decide whether to supply it.

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 ('Get the pickup pass again for a paid order') and immediately narrows the scope to paid orders. It names the concrete user-facing artifacts involved (QR, pickup code, pass link), so an agent can tell this apart from order_status or pay_order without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use triggers are given ('when the user asks for their QR, pickup code or pass link', including the lost-email/closed-card case). It also gives an explicit when-not with a named alternative: an unpaid order has no pass, so use order_status to see progress.

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.