Skip to main content
Glama
PostalKit MCP server

PostalKit MCP server

Official
by postalkit

List states

list_states
Read-onlyIdempotent

Retrieve Mexico's 32 states with their PostalKit IDs and two-digit INEGI codes to support postal code validation and location lookup.

Instructions

List Mexico's 32 states with their PostalKit IDs and two-digit INEGI codes.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/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 value beyond them by disclosing what actually comes back — 32 states with PostalKit IDs and two-digit INEGI codes — which is important since there is no output schema. It stops short of noting ordering or that this is a fixed reference set.

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?

A single front-loaded sentence with the result count and returned fields packed in, and no filler. Every clause carries information an agent would otherwise have to guess.

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?

With no output schema and zero parameters, the description carries the burden of explaining return values, and it does so by naming both identifier systems returned. It is slightly incomplete in not indicating ordering or that the set is static, but nothing needed to invoke it correctly is missing.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. Schema coverage is also 100% with an empty property set, so no compensation is needed.

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 Mexico's 32 states") and even quantifies the result set, so an agent immediately knows the scope. It does not explicitly distinguish itself from siblings such as list_municipalities, though the resource itself is distinctive enough to differentiate in practice.

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: the tool is obviously a zero-parameter reference list, so when to call it is largely self-evident. However, it never states the natural next step (passing a state ID to list_municipalities) or any exclusion, leaving the agent to infer the hierarchy.

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