Skip to main content
Glama

GeoSGB — Serviço Geológico do Brasil

Search the GeoSGB catalog

search
Read-onlyIdempotent
Searches the GeoSGB catalog — the 185 mineral substances and 9 mineral provinces of the Brazilian Geological Survey's "Ocorrências minerais" layer — and returns up to 10 matching documents as { id, title, url }, ordered by relevance (an empty list means nothing matched).

This tool exists for the OpenAI Deep Research contract: ChatGPT deep research, company knowledge and research workflows over the Responses API require exactly the tools `search` and `fetch`. Pass one of the returned ids to `fetch` to read the document.
For direct questions and for data (occurrences, outcrops, geological units) prefer search_mineral_occurrences, get_geological_outcrops and get_lithology_by_area, which return the actual data with provenance — this is a catalog index, not a data query.

Query: natural language or keywords in Portuguese — substance and province names are the source's own Portuguese names ("Ouro", not "gold"); accents and case are ignored.

Behavior: read-only and idempotent — the catalog is an offline reference bundled with the server (no call to the source).

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesTermos de busca em linguagem natural ou palavras-chave (acentos e caixa são ignorados)

Output Schema

NameRequiredDescriptionDefault
resultsYesDocumentos encontrados, em ordem de relevância
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)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description adds real context beyond them: a hard cap of 10 results, relevance ordering, and that an empty list means no match. It also discloses the catalog is an offline reference bundled with the server with no source call, which explains latency and staleness expectations. It repeats the read-only/idempotent claim that annotations already carry, which keeps this from a 5.

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 core capability and result shape, then alternatives, then query syntax, then behavior — a sensible order. The middle paragraph on the Deep Research contract is somewhat self-justifying and long, and the trailing read-only/idempotent clause duplicates annotations, so a little trimming is possible.

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?

Return shape, result cap, ordering, empty-result semantics and the fetch hand-off are all covered, and an output schema exists so deeper value documentation is unnecessary. For a single-parameter search tool with sibling routing included, nothing material is missing.

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?

With one parameter at 100% schema coverage, the baseline is a 3, but the description earns more by specifying the language domain (Portuguese) and that names must match the source's own Portuguese labels ("Ouro", not "gold"), a semantic constraint not present in the schema. Accent/case insensitivity is repeated from the schema field description rather than added.

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 ("Searches the GeoSGB catalog") plus concrete scope: 185 mineral substances and 9 mineral provinces from the 'Ocorrências minerais' layer, up to 10 documents returned as { id, title, url } ordered by relevance. It explicitly disclaims being a data query, which cleanly separates it from search_mineral_occurrences and the geological getters.

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 when-not ("For direct questions and for data ... prefer search_mineral_occurrences, get_geological_outcrops and get_lithology_by_area — this is a catalog index, not a data query") and names the required follow-up path ("Pass one of the returned ids to `fetch`"). It also states the contract context (OpenAI Deep Research requires exactly `search` and `fetch`), so an agent knows why this exists next to richer siblings.

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.