Skip to main content
Glama

post_offices

CTT post offices, postal agents and post boxes near a place, closest first (ANACOM register).

Args: near: a postal code or municipality; or pass lat/lon. kind: "stations" (post offices, with hours and services), "agents" (postos de correios in shops and parish councils), "boxes" (post boxes, with last collection times) or "all". radius_km: search radius (default 1, max 10).

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

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
kindNoall
nearNo
limitNo
radius_kmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose useful behavior such as closest-first ordering, the default radius of 1 km with a 10 km maximum, and that results include hours, services and last collection times. It does not disclose what happens when neither 'near' nor a lat/lon pair is supplied, even though the schema marks zero parameters as required, nor does it mention rate limits or result truncation via 'limit'.

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?

The summary sentence is front-loaded with the resource, ordering and source, followed by a compact Args block that carries only operative detail. No sentence is redundant and the parameter notes are terse and scannable.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, but for a six-parameter optional-everything tool the description should at minimum state the location requirement and what 'limit' does. The absence of any fallback or error behavior, combined with an all-optional schema, leaves a real ambiguity about how to make a valid call.

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 description coverage is 0%, so the description must compensate, and it does for the key parameters: 'near' accepts a postal code or municipality or can be replaced by lat/lon, 'kind' gets an enumerated meaning for each of its four values (which the schema does not provide), and 'radius_km' gets a default and maximum. It leaves 'lat', 'lon' and especially 'limit' (default 8) unexplained, which keeps it out of the top band.

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?

The description names the exact resource set (CTT post offices, postal agents, post boxes), the spatial scope (near a place), the ordering (closest first) and the data source (ANACOM register). An agent knows precisely what it will get back, and no sibling tool covers postal facilities, so differentiation is not an issue.

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?

Usage is implied rather than stated: an agent can infer it should call this when it needs postal locations near a place, and the kind breakdown helps it pick a sub-type. There is no explicit 'use this instead of X' guidance, no statement of prerequisites, and no guidance on when to choose the 'all' default versus a specific kind.

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.