Skip to main content
Glama

GeoSGB — Serviço Geológico do Brasil

Listar afloramentos geológicos

get_geological_outcrops
Read-onlyIdempotent
Lista afloramentos geológicos (pontos de observação de rocha em campo) do
banco de dados do Serviço Geológico do Brasil — camada "Afloramentos
geológicos", 360.042 pontos em 3.540 municípios. Não são
ocorrências minerais: para essas, use search_mineral_occurrences.

Filtro OBRIGATÓRIO, um dos dois:
- uf + municipality juntos (município por igualdade exata, com a grafia
  da fonte: "Santa Bárbara" acha 1.333 pontos; "Santa Barbara" acha zero);
- bbox de até 1 grau quadrado (os quatro cantos, em graus WGS84).
Sem filtro, só uf, só municipality ou bbox acima do teto: recusado antes
de ir à fonte. uf e municipality podem combinar com o bbox.

Cada afloramento traz id, toponímia, tipo, rochas, UF, município, projeto,
data de cadastro (YYYY-MM-DD) e coordenadas.

Custo: a fonte não pagina — a busca
baixa tudo que casa (8 campos + coordenadas) e corta no cliente. Santa
Bárbara/MG: 1.333 pontos, 0,5 MB, ~0,8 s; o maior município (São Félix
do Xingu/PA): 3.000 pontos, 1,2 MB, ~1,8 s; bbox de 1°×1° na região mais
densa (Quadrilátero Ferrífero, MG): 8.572 pontos, 3,0 MB, ~3,5 s.

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": "get_geological_outcrops"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufNoSigla da unidade da federação, em maiúsculas (ex.: "MG", "GO", "BA", "PA")
limitNoMáximo de itens na resposta (1 a 120); o resto se alcança com offset, e total_count diz quantos há. A fonte não pagina: o corte é feito no cliente, depois de baixar tudo o que casa, em ordem crescente de id
offsetNoQuantos itens pular antes do primeiro devolvido (paginação no cliente)
bbox_xmaxNoLongitude máxima (leste) do retângulo, graus WGS84. Os quatro cantos vêm juntos ou nenhum; incompleto, invertido ou fora do globo é recusado.
bbox_xminNoLongitude mínima (oeste) do retângulo, graus WGS84. Os quatro cantos vêm juntos ou nenhum; incompleto, invertido ou fora do globo é recusado.
bbox_ymaxNoLatitude máxima (norte) do retângulo, graus WGS84. Os quatro cantos vêm juntos ou nenhum; incompleto, invertido ou fora do globo é recusado.
bbox_yminNoLatitude mínima (sul) do retângulo, graus WGS84. Os quatro cantos vêm juntos ou nenhum; incompleto, invertido ou fora do globo é recusado.
municipalityNoMunicípio exatamente como a fonte grava (igualdade, sensível a caixa e acento: "Santa Bárbara" acha 1.333 pontos, "Santa Barbara" zero). Vem junto com uf

Output Schema

NameRequiredDescriptionDefault
countYesQuantos itens esta resposta traz (depois de limit/offset)
offsetYesQuantos itens foram pulados antes desta página (o offset pedido)
featuresYesAfloramentos desta página: id, toponímia, tipo, rochas, UF, município, projeto, data de cadastro e coordenadas
provenanceYesBloco de proveniência (contrato v1.0 do portfólio): fonte, camada, WHERE efetiva, URL que reproduz a consulta, instante da extração em UTC e licença
attributionYesURLs de origem distintas desta resposta (a lista de atribuição a citar)
total_countYesTotal de afloramentos que atendem ao filtro na fonte

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond them: the source does not paginate, results are downloaded in full and sliced client-side, and it quantifies payload/latency for representative queries. However, it doesn't cover error behavior or permission requirements, so this sits at a solid 3.

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?

Front-loaded and organized into short paragraphs: purpose, filter contract, returned fields, cost. The cost paragraph with three benchmark queries is long but earns its place for query planning; a bit of trimming would make it tighter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 parameters, a mandatory filter contract and a cost model, nothing an agent needs to call this correctly is missing. An output schema exists, so the returned-fields sentence is mild redundancy but reinforces completeness rather than substituting for it.

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 schema already documents uf, municipality, bbox corners, limit and offset; baseline would be 3. The description adds genuinely new constraints not in the schema: the 1-degree-square bbox ceiling, the combination rules between bbox and uf/municipality, and concrete hit counts illustrating spelling sensitivity.

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?

States a specific verb and resource ('Lista afloramentos geológicos ... pontos de observação de rocha em campo') plus source ('banco de dados do Serviço Geológico do Brasil') and dataset size. It explicitly rules out a sibling: 'Não são ocorrências minerais: para essas, use search_mineral_occurrences.'

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

Usage Guidelines5/5

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

Gives an explicit filter contract: mandatory, one of uf+municipality together or a bbox up to 1 square degree, and enumerates rejected cases (no filter, uf alone, municipality alone, oversized bbox) before the source is hit. It also names the alternative tool for mineral occurrences and states that uf/municipality may be combined with bbox.

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.