Skip to main content
Glama
PostalKit MCP server

PostalKit MCP server

Official
by postalkit

Search colonias

search_colonias
Read-onlyIdempotent

Find Mexican colonias by name and get each result’s postal code, municipality, and state, so you can locate or validate settlement addresses across Mexico.

Instructions

Search Mexican colonias (settlements) by name across the country. Each result includes its postal code, municipality and state.

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": {
      "query": "<query>"
    },
    "name": "search_colonias"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for paginated results (default 1)
queryYesPart of the colonia name, at least 2 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/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 real value beyond that by disclosing the return shape ('postal code, municipality and state'), which matters because no output schema exists. It does not mention pagination behavior or result limits, despite a page parameter being present.

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 tight sentences with zero filler: the search action and its scope come first, the result contents follow. Every clause earns its place.

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 simple two-parameter search with no output schema, the description covers purpose, scope and returned fields, which is nearly everything an agent needs. The remaining gap is behavioral detail about pagination and how many results to expect per page.

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%, and both parameters (query with a 2-character minimum, page with default 1) are fully documented in the schema. The description adds no syntax, matching behavior (prefix vs substring) or pagination semantics beyond what the schema already supplies, so baseline 3 applies.

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 gives a specific verb and resource ('Search Mexican colonias (settlements) by name') and scopes it geographically ('across the country'), which implicitly contrasts it with listing colonias within one municipality. It stops short of naming a sibling such as list_municipality_colonias, so an agent must infer the boundary rather than being told it outright.

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: the phrase 'by name across the country' signals a free-text name lookup as opposed to a scoped listing. There is no explicit when-to-use/when-not-to-use guidance and no mention of alternatives like search_postal_codes or lookup_postal_code for other lookup shapes.

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