Skip to main content
Glama

GeoSGB — Serviço Geológico do Brasil

Buscar ocorrências de terras raras

search_rare_earth_occurrences
Read-onlyIdempotent
Busca ocorrências de Elementos Terras Raras (ETRs) no Brasil.

ETRs são 17 elementos químicos estratégicos para tecnologias de transição
energética, incluindo lantanídeos, escândio e ítrio.

Dois modos (Brasil inteiro):
- include_related_rocks=False (default): só por substância (13 termos —
  "Terras raras", "Cério", "Lantânio", "Monazita"...): 74 registros,
  60 KB, ~1,5 s.
- include_related_rocks=True: soma as ocorrências cuja rocha hospedeira é
  típica de ETR (carbonatito, nefelina sienito, pegmatito...): 2.383
  registros, 2,7 MB, ~5,5 s — e 2.291 deles (96%) são pegmatitos, que
  hospedam de tudo; use quando o alvo for a rocha, não o elemento.

A resposta diz os termos que entraram na consulta (search_terms_used), o
total que casa (total_count) e a página pedida (limit/offset).

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

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.
include_related_rocksNoSe true, soma as ocorrências cuja rocha hospedeira é típica de ETR (carbonatito, nefelina sienito, pegmatito...) — 2.383 registros, 96% pegmatitos. Default false: só por substância (74 registros)

Output Schema

NameRequiredDescriptionDefault
countYesQuantos itens esta resposta traz (depois de limit/offset)
offsetYesQuantos itens foram pulados antes desta página (o offset pedido)
featuresYesOcorrências de terras raras: id, substâncias, status econômico, rochas hospedeiras, província, UF, município 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 ocorrências de terras raras que atendem ao filtro na fonte
search_terms_usedYesTermos de substância (e, com include_related_rocks, de rocha hospedeira) que entraram na consulta

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description does add real cost/behavior context — record counts, payload sizes (~60 KB vs 2,7 MB) and latency (~1,5 s vs ~5,5 s) — which is the kind of data annotations cannot convey. It says nothing about permissions, error modes, or the non-paginated source's client-side cut beyond what the schema states.

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 with the purpose, then a compact two-bullet comparison of modes and a one-line note on response fields. Some numbers (74 registros, 2.383, 96% pegmatitos) are repeated between the description and the include_related_rocks schema description, a minor redundancy, but no sentence is wasted.

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?

An output schema exists, yet the description still names the key response fields (search_terms_used, total_count, limit/offset), and the mode trade-off is fully quantified for an 8-parameter tool with all-optional inputs. What is missing is only the comparative framing against other search tools in the family.

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 description coverage is 100%, so the baseline is 3; the description earns an extra point by giving the substantive trade-off behind include_related_rocks (74 records vs 2.383, 96% pegmatites) rather than just restating the flag. UF, bbox and pagination semantics are left entirely to the schema.

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 and resource ("Busca ocorrências de Elementos Terras Raras (ETRs) no Brasil") and scopes it geographically and by substance. It never names the closest sibling (search_mineral_occurrences), so an agent must infer that this is the ETR-specialized variant, but the resource is unambiguous.

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?

Gives explicit mode-selection guidance: default substance-only search for the element, and "use quando o alvo for a rocha, não o elemento" for include_related_rocks=True, backed by the 96% pegmatite caveat. It stops short of saying when to prefer a general mineral-occurrence search instead, leaving the sibling routing implicit.

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.