Skip to main content
Glama

responder_pergunta

Read-only

Responde uma pergunta jurídica em português com frases EXTRAÍDAS das páginas publicadas — nenhuma frase é gerada — e devolve as citações e as fontes oficiais que sustentam cada trecho, com a data em que cada fonte foi conferida.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paginasNoquantas páginas do acervo sustentam a resposta (padrão 3, teto 5)
perguntaYespergunta em português, como 'a loja pode recusar a troca de um produto com defeito?'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
avisoYes
metodoYes
citacoesYes
respostaYes
fontes_oficiaisYes

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description adds meaningful behavior: no sentence is generated, content is extracted verbatim from published pages, and every excerpt is tied to citations and official sources with a verification date. It does not contradict the annotations, though it leaves the idempotentHint=false annotation unexplained.

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?

The definition is a single sentence that packs the core action, the no-generation guarantee, and the return content without filler. The em-dash emphasis and all-caps 'EXTRAÍDAS' slightly reduce elegance but every clause earns 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 an output schema present, readOnlyHint=true, and only two well-documented parameters, the description covers the tool's essential behavior and return commitments (extracted quotes, citations, official sources, verification dates). It is complete for invocation, though it would benefit from explicit guidance on when to prefer it over sibling search tools.

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?

The input schema already documents both parameters (pergunta and paginas) with 100% coverage, so the baseline is 3. The description adds no parameter-specific semantic details beyond the schema; it only restates the general question/pages context.

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?

The description names a specific action (responds to a legal question in Portuguese), a clear resource (published pages), and a distinctive output (citations, official sources, and the date each source was checked). The emphasized constraint 'nenhuma frase é gerada' differentiates it from search/fetch/ler_pagina siblings by promising an answer, not just retrieval.

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 description makes the intended use clear—answering a legal question in Portuguese using extracted quoted sentences—so an agent can infer when to call it. However, it gives no explicit when-not-to-use guidance or named alternatives among the sibling tools.

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.

TDQS

A3.9/5.0
Disambiguation3/5

The set has two overlapping pairs: search/buscar_paginas and fetch/ler_pagina both address searching and reading, which could confuse an agent. The descriptions do provide some separation—one pair is the standard connector format and the other is subject-oriented—but the boundaries are not immediately obvious from names alone.

Naming Consistency2/5

Naming mixes Portuguese snake_case verbs (buscar_paginas, ler_pagina, relatar_defeito, responder_pergunta) with English bare names (fetch, search). This inconsistent language and style makes the tool set feel less predictable and harder to navigate.

Tool Count5/5

Six tools is a well-scoped size for this domain. Each tool serves a plausible purpose: two search variants, two read variants, a defect reporting flow, and a question-answering flow. The count is neither bloated nor too thin.

Completeness5/5

The surface covers the core lifecycle of this read-only legal collection: discover pages, retrieve content, verify sources, submit defect reports, and ask grounded questions. No major operation appears to be missing for the stated purpose.

Resources