Skip to main content
Glama

coletiva

Busca no acervo COLETIVA_

coletiva_buscar
Read-only

Busca unificada no acervo da COLETIVA_ (concursos do Ministério Público, da Magistratura, da Advocacia Pública e da Defensoria Pública): wikis de estudo, jurisprudência, questões objetivas e discursivas, prova oral, legislação, doutrina e radar de novidades. O parâmetro tipo restringe a um formato. Devolve trechos com título, disciplina, selo de vigência e link de volta ao site.

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": {
      "pergunta": "<pergunta>"
    },
    "name": "coletiva_buscar"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNoOpcional: lab=wiki, tese=jurisprudência, qb=questão objetiva, qd=discursiva, prova_oral, norma=legislação, radar=novidades, hub=página de hub de concurso, doutrina=citação doutrinária, espelho=espelho de correção de discursiva (Acesso completo — requer conta conectada).
concursoNoOpcional: slug do concurso (ex.: 'mpdft'). Conteúdo geral continua entrando; páginas do concurso ganham prioridade.
perguntaYesDúvida ou tema em linguagem natural.
disciplinaNoOpcional: disciplina (aceita nome aproximado; se o filtro zerar, a busca refaz sem ele).

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the description is not carrying the safety burden. It adds the return shape ('trechos com título, disciplina, selo de vigência e link de volta ao site'), which is useful context despite an output schema existing. It says nothing about ranking, result limits, or the account requirement for espelho content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the scope of the search, which is the right priority, and only three sentences. The long parenthetical enumeration of content types is dense and partly duplicates the enum already listed in the schema, so a portion of the text does not earn its place.

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?

With 100% schema coverage, full annotations, and an output schema, the description only needs to establish scope and return character, both of which it does. The notable omission is any routing guidance against the many overlapping sibling search tools, which matters for a unified search entry point.

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 the enum meanings for tipo and the slug/approximate-name behavior for concurso and disciplina are already documented in the schema. The description only restates that tipo restricts to a format, adding essentially no meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 unificada no acervo da COLETIVA_') and enumerates the content families it spans (wikis, jurisprudência, questões, legislação, doutrina, radar). The word 'unificada' signals breadth versus the narrower siblings like coletiva_buscar_juris and coletiva_questoes, though no sibling is named explicitly.

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 sentence 'O parâmetro `tipo` restringe a um formato' implies the intended usage pattern: search broadly by default, narrow with tipo. However, it never says when to prefer this over the specialized siblings (coletiva_buscar_juris, coletiva_questoes, coletiva_prova_oral) or when not to use it.

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.

Resources