Skip to main content
Glama
Juris Licita MCP
by bitbusca

Análise do edital pelo Bitinho (IA)

analisar_edital

Analyzes a public tender document to return a summary, document checklist, deadlines, risks, and next actions with source references; first call previews credit cost and balance before confirmation.

Instructions

[Avançado: exige BITBUSCA_API_KEY] Lê o edital por você e devolve resumo, checklist de documentos, prazos, riscos e o que fazer, cada item com a página/trecho de onde saiu. SEMPRE chame primeiro sem confirmar: a resposta traz o custo em créditos, o saldo e se já foi paga (grátis). Mostre o custo ao usuário e só repita com confirmar: true depois do "sim" dele.

Input Schema

NameRequiredDescriptionDefault
idYesId do edital (campo "id" de buscar_editais_bitbusca).
confirmarNoAusente/false = só mostra o custo em créditos e o saldo (grátis). true = executa e cobra. Mostre o custo ao usuário antes de confirmar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the agent knows this is a non-idempotent, potentially billable operation. The description adds genuinely new context: the billing is in credits, the first call is free and returns cost plus balance, and a paid call already made is reported as such. It does not cover failure behavior (e.g. insufficient credits, analysis latency), which is the remaining gap.

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?

Three compact sentences: the access prerequisite is bracketed up front, then the concrete deliverables, then the mandatory call protocol front-loaded with 'SEMPRE'. The page-citation clause and the cost/balance clause both earn their place. Slightly dense with parentheticals, but no filler.

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?

There is no output schema, yet the description enumerates both the analysis payload (summary, checklist, deadlines, risks, next steps, each with source page/trecho) and the preview payload (cost in credits, balance, whether already paid). Combined with the auth prerequisite and the confirm-to-charge protocol, an agent has everything needed to call this correctly for a two-parameter tool.

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?

Schema coverage is 100% and the schema already explains that 'confirmar' controls free preview versus charged execution, including the instruction to show cost first. The description nonetheless reinforces the two-phase semantics at the tool level and ties 'id' to its source field indirectly through the workflow, adding modest value on top of a fully documented schema.

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?

The description gives a specific verb and resource ('Lê o edital') and enumerates the concrete outputs produced: resumo, checklist de documentos, prazos, riscos, and next steps, each with page/trecho provenance. That is far more specific than a title restatement. It does not, however, differentiate itself from close siblings such as resumo_edital or ler_edital, which is the only thing keeping it from a 5.

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 gives an explicit call protocol: always call first without 'confirmar' to obtain a free cost estimate, show the cost to the user, and only repeat with 'confirmar: true' after the user says yes. It also states the BITBUSCA_API_KEY prerequisite. What is missing is guidance on when to choose this over resumo_edital or ler_edital, so the sibling routing is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.