Skip to main content
Glama

GeoSGB — Serviço Geológico do Brasil

Listar substâncias minerais

list_mineral_substances
Read-onlyIdempotent
Lista todas as substâncias minerais cadastradas no banco de dados do SGB,
em ordem alfabética.

Útil para descobrir quais minerais estão disponíveis para consulta — e a
grafia exata que `substance` em search_mineral_occurrences exige. A
resource geosgb://reference/substances traz a mesma lista, com o número de
ocorrências de cada substância, sem ir à fonte.

Custo: a fonte não agrega este campo, então a primeira chamada do processo
baixa a camada inteira (~20 s); as seguintes, por 24 h, saem
de um cache em processo (< 50 ms). `provenance.served_from_cache` diz qual
foi e `provenance.retrieved_at` é sempre o instante da ida real à fonte.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYesQuantas substâncias distintas a camada cadastra
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
substancesYesNomes de substância exatamente como a fonte os grava, em ordem alfabética
attributionYesURLs de origem distintas desta resposta (a lista de atribuição a citar)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the cold-call cost (~20 s full-layer download), the 24 h in-process cache (<50 ms on subsequent calls), and how `provenance.served_from_cache` / `provenance.retrieved_at` report which path was taken. This is strong operational context; it stops short of describing the payload shape itself, though an output schema exists to cover that.

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?

Layered front-to-back: what it lists, why it exists versus the resource alternative, then cost/caching. Every sentence carries distinct information — there is no restated title or filler — and the latency figures are placed where an agent evaluating call cost will find them.

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?

For a zero-parameter reference-listing tool with an output schema and full safety annotations, nothing an agent needs is missing: purpose, alternative source, cold-vs-cached latency, and how to verify freshness via provenance are all covered.

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 the baseline is 4. The description usefully frames the relationship to a different tool's `substance` parameter ('a grafia exata que `substance` em search_mineral_occurrences exige'), which is a meaningful downstream-consumption hint even though it isn't this schema.

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?

Opens with a specific verb+resource+scope: 'Lista todas as substâncias minerais cadastradas no banco de dados do SGB, em ordem alfabética.' An agent knows exactly what it returns (a complete, alphabetized reference list) and can distinguish it from 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?

Explicitly states the use case (discovering which minerals exist and the exact spelling required by the `substance` parameter of search_mineral_occurrences) and names an alternative surface (the geosgb://reference/substances resource, which additionally carries occurrence counts and skips the source fetch), giving the agent a clear decision rule between the two.

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.