Skip to main content
Glama
PostalKit MCP server

PostalKit MCP server

Official
by postalkit

List colonias of a municipality

list_municipality_colonias
Read-onlyIdempotent

Lists all colonias (settlements) for a PostalKit municipality ID, with pagination for browsing settlements within a Mexican municipality.

Instructions

List every colonia (settlement) in a municipality, by PostalKit municipality ID.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "municipality_id": "<municipality_id>"
    },
    "name": "list_municipality_colonias"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for paginated results (default 1)
municipality_idYesPostalKit municipality ID from list_municipalities

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

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, so the safety profile is covered. The description adds the useful exhaustiveness cue ("every colonia") but says nothing about paginated results even though a page parameter exists, and nothing about the shape of the returned colonia records.

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?

A single front-loaded sentence with no filler, and the resource is defined parenthetically. It could carry slightly more routing or pagination information in the same space.

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 simple two-parameter read tool with full schema coverage and annotations covering safety and idempotency, so little else is strictly required. The only real gap is the absence of any pagination or result-set hint for the page parameter.

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%, with both municipality_id ("from list_municipalities") and page already documented in the schema. The description restates the municipality ID input without adding format, range, or pagination guidance beyond what the schema provides.

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 names a specific verb and resource ("List every colonia") and defines the domain term as "settlement", plus scopes it to a municipality. It stops short of distinguishing itself from search_colonias, so an agent must infer that this is the exhaustive path rather than the filtered search.

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 only implied: "every colonia" suggests using this when a full enumeration is wanted, but the description never states when to prefer it over search_colonias or note that it requires a municipality ID obtained elsewhere. No exclusions or prerequisites are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.