Skip to main content
Glama

SMKlog Parcel Shipping Rates

Send the label email again

resend_label_email

Sends the shipping-label email again to the buyer of a create_checkout_link session: the message SMKlog sent when the label was bought, with the link that opens and prints the label, the tracking number and the order status page. Use it when the human says the label email never arrived or was lost. It goes only to the email address the buyer typed at checkout; the agent cannot choose or see that address and gets no label file or link back. It creates, changes and voids nothing; get_checkout_status is where the tracking number is read.

Parameter rules:

  • session_id is the as_ plus UUID id from create_checkout_link.

  • Works from label_ready on. Earlier it answers label_not_ready, after a refund label_refunded.

  • At most 3 emails per order in 24 hours, then label_email_limit.

  • dry_run true checks everything and sends nothing.

  • An unknown or expired id answers session_not_found.

  • 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": "resend_label_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoTrue checks that the email could be sent and sends nothing.
session_idYesThe session_id from create_checkout_link.

Output Schema

NameRequiredDescriptionDefault
nextNoWhat to tell the human
sentYesTrue when the email was sent by this call
dry_runYesTrue when nothing was sent
order_idYesSMKlog order id of the label
session_idYesThe session asked about
remaining_todayNoEmails still allowed for this order in the current 24 hours

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: the recipient is fixed to the buyer's checkout address and is invisible/unchoosable by the agent, no label file or link is returned, and no data is created, changed or voided. It adds concrete limits (3 per order per 24h, 60 calls/hour shared with get_checkout_status) and named failure replies (label_not_ready, label_email_limit, session_not_found). The only reason it is not a 5 is that it does not say what a successful response body contains, though an output schema exists.

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 purpose, recipient constraint and non-destructive nature are front-loaded, and edge cases are grouped into a labeled 'Parameter rules' block rather than scattered. Slightly padded by the 'creates, changes and voids nothing' clause, which partly overlaps the destructiveHint=false annotation.

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 side-effecting email tool with two parameters and edge-case gating, the definition covers preconditions, rate limits, error returns, recipient constraints and what is not returned. With an output schema present, it does not need to restate the response shape.

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 is 3, but the description adds real meaning: session_id is the 'as_' prefixed UUID from create_checkout_link, and dry_run 'checks everything and sends nothing' alongside the associated error behavior. That clarifies the idempotency and side-effect semantics of each parameter beyond the schema text.

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 ('Sends the shipping-label email again to the buyer of a create_checkout_link session') and immediately spells out the message contents. It also names the sibling that actually returns the tracking number (get_checkout_status), so the agent can separate resending from reading status.

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 an explicit trigger ('Use it when the human says the label email never arrived or was lost') and an explicit redirect for a related need ('get_checkout_status is where the tracking number is read'). The state gates (works from label_ready, label_not_ready earlier, label_refunded after refund) further define when the call will succeed.

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.