Skip to main content
Glama

List letters

list_letters
Read-onlyIdempotent

Returns this account's most recent letters, newest first, with letter_id, date, recipient, status, price and tracking number; count limits the list (default 20, at most 100), fewer or none come back if the account has fewer. Use it to find a letter or check whether it arrived; for one letter's details and tracking use get_letter_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_letters"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many of the most recent letters to list.

Output Schema

NameRequiredDescriptionDefault
noteNoWhere to get details.
lettersNoNewest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties
      Added value: +{
      +  "letters": {
      +    "description": "Newest first.",
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "city": {
      +          "description": "Recipient city.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "country": {
      +          "description": "Recipient country code.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "created": {
      +          "description": "Creation date, YYYY-MM-DD.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "delivered_at": {
      +          "description": "Delivery time, if reported.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "delivery": {
      +          "description": "'automatic' or 'self_print'.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "dispatch_status": {
      +          "description": "queued, posted, cancelled or test.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "letter_id": {
      +          "description": "Id for get_letter_status.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "price": {
      +          "description": "Total price.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "product": {
      +          "description": "Postage product.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "recipient": {
      +          "description": "Recipient name.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "description": "Letter status.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "tracking_number": {
      +          "description": "Tracking number, if any.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": [
      +      "array",
      +      "null"
      +    ]
      +  },
      +  "note": {
      +    "description": "Where to get details.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • removedOutput schema / title
      Removed value: -"list_lettersDictOutput"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds value beyond that: newest-first ordering, a default of 20 with a hard cap of 100, and the graceful-degradation behavior ("fewer or none come back if the account has fewer"). It does not mention pagination beyond the count cap or any auth/rate considerations, so it stops short of a 5.

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?

Two sentences, front-loaded with the return contract before the routing guidance. Every clause carries information: ordering, field list, count bounds, degradation behavior, and the sibling referral.

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?

An output schema exists, yet the description still summarizes the returned fields, and it fully covers the single optional parameter's behavior. For a simple read-only list tool, nothing an agent needs in order to call it correctly 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 baseline is 3; however the description adds meaning beyond the schema's default and maximum by explaining that the actual returned count may be smaller than requested when the account has fewer letters. The repetition of "default 20, at most 100" adds nothing new, but the result-count nuance is genuine added semantics.

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?

Opens with a specific verb and resource ("Returns this account's most recent letters, newest first") and enumerates the returned fields. It is immediately distinguishable from get_letter_status, which the description explicitly positions as the single-letter alternative.

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?

States two concrete use cases ("find a letter or check whether it arrived") and names the alternative tool with the condition that selects it ("for one letter's details and tracking use get_letter_status"). No inference required.

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.

Resources