Skip to main content
Glama

Units at a CEP

unidades
Read-onlyIdempotent

The units at a CEP (apartment, store), with the complement and the type, in pages. The CEP lookup groups the addresses by street and number; this tool returns each unit. Without logradouro and numero, it pages through the whole CEP.

Input Schema

NameRequiredDescriptionDefault
cepYes8 digits, with or without the hyphen.
limitNoItems per page, 50 at most.
numeroNoThe building number in the result.
offsetNoOffset, starting at 0.
logradouroNoThe street exactly as in the lookup (type and name).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / cep / description
      Previous value: -"8 dígitos, com ou sem hífen"New value: +"8 digits, with or without the hyphen."
    • changedInput schema / properties / limit / description
      Previous value: -"Itens por página, teto 50."New value: +"Items per page, 50 at most."
    • changedInput schema / properties / logradouro / description
      Previous value: -"Logradouro exatamente como no lookup (tipo + nome)."New value: +"The street exactly as in the lookup (type and name)."
    • changedInput schema / properties / numero / description
      Previous value: -"Número do edifício no resultado."New value: +"The building number in the result."
    • changedInput schema / properties / offset / description
      Previous value: -"Deslocamento 0-based."New value: +"Offset, starting at 0."
  2. Changed1 schema field changed
    • changedInput schema / properties / numero / description
      Previous value: -"Número do edifício no CNEFE."New value: +"Número do edifício no resultado."
  3. Changed6 schema fields changed
    • addedInput schema / properties / limit / default
      Added value: +50
    • addedInput schema / properties / limit / description
      Added value: +"Itens por página, teto 50."
    • addedInput schema / properties / logradouro / description
      Added value: +"Logradouro exatamente como no lookup (tipo + nome)."
    • addedInput schema / properties / numero / description
      Added value: +"Número do edifício no CNEFE."
    • addedInput schema / properties / offset / default
      Added value: +0
    • addedInput schema / properties / offset / description
      Added value: +"Deslocamento 0-based."
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations: it discloses that results are paginated ('in pages'), that omitting `logradouro` and `numero` causes paging through the entire CEP, and it describes the returned fields ('complement' and 'type').

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?

Three sentences, front-loaded with what the tool returns and followed by the key distinction from the CEP lookup and the filtering behavior. Every sentence contributes to understanding; no redundant or vague phrasing.

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, the description adequately compensates by naming the returned fields (complement, type) and the paginated nature of results. It also covers the interaction of the optional filters. It does not explain error handling or the exact pagination metadata, but for a read-only, idempotent tool with fully described parameters, this is nearly complete.

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 coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining the interaction between the optional `logradouro` and `numero` filters and the default behavior: without them, the tool pages through all units of the CEP. This clarifies the filtering role of those parameters in a way the individual schema descriptions do not.

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 states a specific resource ('units at a CEP (apartment, store)') and what is returned ('with the complement and the type, in pages'). It clearly distinguishes this tool from the CEP lookup sibling by explaining that the lookup groups by street and number while this tool returns each unit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides a clear context for use: when you need individual units rather than the grouped CEP level. It also states the condition 'Without `logradouro` and `numero`, it pages through the whole CEP,' which helps the agent decide when to supply those filters. However, it does not explicitly name an alternative tool to use when this tool is not appropriate, so a 4 rather than a 5.

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.