Skip to main content
Glama

cartaregistada.pt

Cartas da conta

cartas
Read-onlyIdempotent

As cartas da conta, as mais recentes primeiro, com o estado de cada uma; por separador, pesquisa e páginas de 50. / The account's letters.

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": "cartas"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoA lingua do texto da resposta (pt por omissao); o structuredContent nao muda. / Language of the text reply.pt
listaNoequipa: as cartas enviadas pela conta; anteriores: as que a pessoa enviou pelo site antes de ter conta.equipa
cursorNoO cursor_seguinte da pagina anterior, para a pagina seguinte (50 por pagina).
pesquisaNoProcura no destinatario, na localidade, no assunto, na referencia e no registo dos CTT.
separadorNoO estado a listar; todas por omissao.todas

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 and openWorldHint=false, so safety is covered structurally. The description adds useful behavior beyond that: newest-first ordering, inclusion of each letter's state, and 50-per-page pagination. It omits auth requirements and return shape, but with annotations the bar is lower.

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, front-loaded sentences covering scope, ordering and paging with no wasted wording. The bilingual duplication is a minor cost but serves the tool's own language convention.

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?

For a five-parameter, zero-required read tool with full schema coverage and annotations present, the description supplies the essential framing: what is listed, in what order, and at what page size. Remaining details (defaults, cursor mechanics, search fields) are fully handled by 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%, so the schema already documents lang, lista, cursor, pesquisa and separador in detail. The description only restates filtering, search and page size, adding the newest-first ordering that the schema does not express; this is baseline territory given the schema does the heavy lifting.

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?

States a specific resource and scope: the account's letters, most recent first, with each one's state. It distinguishes itself from siblings like estado_da_carta (single letter status) and lotes (batches) by being the account's letter listing, though it never names an alternative explicitly.

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?

Implies the listing use case and mentions filtering by tab ('por separador'), search ('pesquisa') and paging of 50, which hints at when to use it. However, it gives no explicit when-not guidance or pointers to sibling tools for related tasks.

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.