Skip to main content
Glama

coletiva

Busca no acervo (formato search/fetch)

search
Read-only

Search the COLETIVA_ legal-study corpus for Brazilian public legal-career exams (Public Prosecution, Judiciary, Public Advocacy and Public Defender's Office): study wikis, qualified case law (STF/STJ), commented exam questions, oral-exam Q&A, statutes and doctrine quotes. Returns a result list with id, title and url for citation; each id is accepted by fetch, which returns the full document. Same corpus as coletiva_buscar, in the search/fetch format.

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
queryYesSearch query (Portuguese works best).

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/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 safety profile is covered; the description adds valuable behavior beyond that by specifying the shape of the response (id, title, url for citation) and the hand-off contract with fetch. It does not mention rate limits, result caps or whether the corpus is permission-gated, which a read tool of this breadth could reasonably disclose.

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 search verb and corpus scope, then return shape, then sibling relation — a logical order with no filler. It is somewhat dense in the content-type enumeration, but each listed item genuinely narrows what the corpus contains.

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, so the return-value burden is light, and the description still sketches the list format and the fetch chaining. For a one-parameter read tool this is close to complete; only pagination or result-volume expectations are left unstated.

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?

There is only one parameter and schema description coverage is 100%, with the schema itself noting that Portuguese works best. The description adds no query-syntax or formatting guidance beyond the schema, so the baseline of 3 applies.

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 (search) plus the exact resource and scope: the COLETIVA_ corpus of Brazilian public legal-career exams, enumerating content types (study wikis, STF/STJ case law, commented questions, oral-exam Q&A, statutes, doctrine). It also disambiguates itself from two siblings by promising ids that fetch accepts and by naming coletiva_buscar as the same corpus in a different format.

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?

It clearly signals the two-step search-then-fetch workflow ('each id is accepted by fetch, which returns the full document') and points to coletiva_buscar as the same corpus in another format. It never states the condition that selects this tool over coletiva_buscar (e.g. client only supports search/fetch), so the routing is implied rather than explicit.

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