Skip to main content
Glama

SMKlog Parcel Shipping Rates

Ask to void an unused label

request_label_void
DestructiveIdempotent

Files a request with SMKlog to void the paid shipping label behind a create_checkout_link session and refund it, for a label that will not be used (wrong address, sale called off). It only files the request: an SMKlog operator checks the carrier and then refunds the card by hand. No money moves through this tool; get_refund_status reports under_review while the request is open, then the outcome. Not cancel_checkout_link, which withdraws a link nobody has paid. Unused USPS labels are also refunded automatically after a few days without a scan.

Parameter rules:

  • session_id is the as_ plus UUID id from create_checkout_link.

  • Accepted while the session is live (30 days from its creation) and before the carrier scans the label; after a scan label_in_use.

  • No label yet: label_not_ready. Already refunded: already_refunded.

  • Repeating it returns the same request (already_requested true).

  • dry_run true checks eligibility and files nothing.

  • 60 calls an hour per client, shared with get_checkout_status.

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": {
      "session_id": "<session_id>"
    },
    "name": "request_label_void"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoTrue checks eligibility and files nothing.
session_idYesThe session_id from create_checkout_link.

Output Schema

NameRequiredDescriptionDefault
nextNoWhat to tell the human
dry_runYesTrue when nothing was filed
order_idYesSMKlog order id of the label
requestedYesTrue when a request is on file
session_idYesThe session asked about
window_daysYesDays a session lives; a request is accepted while it does
requested_atNoWhen the request was filed, ISO 8601
window_closes_atNoWhen the session expires and the window closes, ISO 8601
already_requestedYesTrue when it was filed by an earlier call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / window_closes_at / description
      Previous value: -"When that window closes, ISO 8601"New value: +"When the session expires and the window closes, ISO 8601"
    • changedOutput schema / properties / window_days / description
      Previous value: -"Days after the checkout in which a request is accepted"New value: +"Days a session lives; a request is accepted while it does"
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructive and idempotent, but the description goes well beyond them: it discloses that no money moves through this tool, that an SMKlog operator checks the carrier and refunds by hand, that repeats return the same request with already_requested true, and that the rate limit is 60 calls an hour per client shared with get_checkout_status. It also notes automatic USPS refunds after a few days without a scan, which is precisely the kind of context that changes an agent's decision to call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence front-loads the core action and limitation, then a labelled 'Parameter rules' block keeps the behavioral detail scannable. It is longer than typical but nearly every line is load-bearing; only the automatic USPS refund note is arguably peripheral, though it usefully discourages needless calls.

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 mutation tool with an output schema present, the description covers everything an agent needs: eligibility, failure modes, idempotency, rate limits, the human-in-the-loop refund path, and a pointer to get_refund_status for status rather than duplicating return values. Nothing material is missing.

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 the baseline would be 3, but the parameter rules add real meaning beyond the schema: session_id is the as_ prefixed UUID from create_checkout_link, it is accepted only while the session is live and before a scan, and dry_run true checks eligibility and files nothing rather than being a simple boolean default.

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 ('files a request with SMKlog to void the paid shipping label behind a create_checkout_link session') and immediately bounds the scope: it only files the request, an operator performs the actual refund. It explicitly names the sibling it is not (cancel_checkout_link) and the reason (withdrawing an unpaid link), so an agent can discriminate 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 Guidelines5/5

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

Gives both when-to-use (label will not be used: wrong address, sale called off) and when-not-to-use (cancel_checkout_link for unpaid links), plus the eligibility window (live session, 30 days, before carrier scan) and the specific outcomes that block it (label_in_use, label_not_ready, already_refunded). It also points to get_refund_status for the outcome, leaving nothing to inference.

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.