Skip to main content
Glama

MailmanAPI

List the key's mailpieces

list_mail
Read-onlyIdempotent

Read: Your API key's pieces, newest first. Pass next_cursor as cursor to see more. Example: {"limit":20}

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_mail"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefaults to 20.
cursorNoThe next_cursor from the preceding page.

Output Schema

NameRequiredDescriptionDefault
mailYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds the useful behavioral detail that results are ordered newest first and that paging continues via cursor, but it does not cover rate limits, result-set size, or what a 'piece' contains (which the output schema handles).

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?

Two short sentences plus an inline example, with the read-only nature and ordering front-loaded before the pagination instruction. Nearly every token earns its place; the JSON example is somewhat redundant given the schema's default annotation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a low-complexity, zero-required-parameter list tool with a full schema and an output schema, so return values need no explanation. Ordering and pagination are covered; the only minor gap is that the maximum limit of 100 and the absence of filtering are not surfaced, though the former is in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: limit's default of 20 and cursor's meaning as the prior page's next_cursor are both documented in the schema. The description restates the cursor mechanic and includes an example call with limit 20, which is a mild convenience but adds no meaning the schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation on a specific resource: reading the API key's mailpieces, returned newest first. The plural 'pieces' and the ordering statement distinguish it from a single-item fetch such as get_mail, but no sibling is named, so the differentiation is implicit rather than explicit.

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

Usage Guidelines3/5

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

It gives forward-pagination guidance ('Pass next_cursor as cursor to see more') but says nothing about when to choose this over get_mail for a single piece or list_mail_types for type metadata. Usage is inferable from the word 'List' rather than stated.

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