Skip to main content
Glama

SMKlog Parcel Shipping Rates

List your checkout sessions

list_checkout_sessions
Read-onlyIdempotent

Lists the create_checkout_link sessions made under your OAuth client, newest first: each with its status (awaiting_checkout, checkout_started, paid, label_ready, delivered, refunded or cancelled), amount, service, the item and ZIP codes you sent, the order_id once a checkout exists and the tracking number once the label does. Use it to find a session_id you no longer hold, or as a list of past labels; for one session you know, call get_checkout_status. SMKlog records only: no carrier call, no quote allowance.

Parameter rules:

  • Needs a bearer token on the MCP connection (Authorization: Bearer, from /oauth/token; register a client at /oauth/register). Without one it answers token_required.

  • Only sessions created while that token was sent are listed.

  • limit is 1 to 50, default 20; pass next_cursor as cursor for the next page, null means the end.

  • Sessions live 30 days; expired ones are not listed.

  • No names, street addresses or emails.

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

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_checkout_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoSessions per page, 1 to 50.
cursorNonext_cursor from the previous page; omit for the newest sessions.

Output Schema

NameRequiredDescriptionDefault
itemsYesUp to limit sessions
limitNoPage size used
has_moreYesTrue when older sessions remain
next_cursorYesPass as cursor for the next page; null at the end

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?

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description adds substantial context beyond them: bearer-token auth with the token_required failure mode, token-scoped visibility, 30-day retention, PII exclusion, no carrier call or quote allowance, and a 60-calls-per-hour limit shared with get_checkout_status. The one shortfall is that it doesn't describe the response envelope or what happens when the result set is empty beyond 'null means the end'.

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?

Well front-loaded: purpose and routing in the first two sentences, then operational rules as scannable bullets. The length is justified by the amount of distinct operational information, though the limit range repetition and the status enumeration (already implied by the domain) cost some economy.

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?

Even though an output schema exists, the description covers the remaining agent-relevant unknowns: authentication failure mode, per-token scoping, retention window, rate-limit sharing with a sibling, and PII exclusions. Nothing an agent needs in order to call this correctly or interpret an empty page 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 schema already documents limit and cursor ranges. The description adds the pagination contract the schema omits — pass next_cursor as cursor, and null signals the final page — which is genuine value beyond the structured fields, though the '1 to 50, default 20' restatement is redundant.

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?

Opening sentence gives a specific verb and resource (lists checkout sessions under your OAuth client, newest first) and enumerates the returned fields, so the agent knows exactly what this produces. It also names the upstream creator (create_checkout_link) and distinguishes itself from get_checkout_status, making sibling confusion unlikely.

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?

Explicitly states two use cases ('find a session_id you no longer hold', 'a list of past labels') and routes the agent to get_checkout_status when a single known session is needed. The negative scoping ('Only sessions created while that token was sent are listed', 'expired ones are not listed') further narrows when this tool applies.

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.