Skip to main content
Glama

cnes_saude

Search Brazil's National Healthcare Facility Registry (CNES/DataSUS) to find facilities or professionals by name, CNES code, state, or municipality without an API key.

Instructions

Search Brazil's National Healthcare Facility Registry (CNES — DataSUS). Search facilities or professionals by name, CNES code, state, or municipality. No API key required.

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": {
      "tipo": "<tipo>"
    },
    "name": "cnes_saude"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufNoState IBGE code (e.g. '35' for SP)
nomeNoName (optional)
tipoYesSearch type
municipioNoMunicipality IBGE code (optional)
codigo_cnesNoCNES code (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add one genuine operational fact — "No API key required" — and search semantics imply a non-destructive read, but there is no word on result limits, pagination, rate limits, or response shape.

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?

Three short sentences, lead sentence identifies the registry first, then capabilities, then access condition. No redundancy, though the location of the scope details could be slightly tighter.

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?

For a 5-parameter tool with one required enum and no output schema, the definition covers purpose, inputs, and auth, but leaves out result pagination/limits and filter-combination behavior an agent needs to call it correctly. Adequate but with clear gaps.

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%, so baseline is 3. The description restates the four searchable keys at a high level but adds no meaning beyond the schema: it does not explain the required `tipo` enum values, IBGE code formatting, or how the optional filters interact.

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?

States a specific verb ("Search") and a named, scoped resource (Brazil's National Healthcare Facility Registry, CNES — DataSUS), plus which entity types are searchable (facilities or professionals). It is clear what the tool does, but it never distinguishes itself from sibling lookup tools such as cnpj_lookup or ibge_localidades.

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?

The list of searchable keys (name, CNES code, state, municipality) implies how to use the tool, but there is no explicit when-to-use, when-not-to-use, or alternative routing. Nothing says whether multiple filters can be combined or which key to prefer when several are known.

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