Skip to main content
Glama
Juris Licita MCP
by bitbusca

Score do órgão comprador

score_orgao
Read-onlyIdempotent

Scores a Brazilian public agency from 0 to 100 based on fiscal health and payment history, returning the reasons behind the rating. Requires a BitBusca API key.

Instructions

[Avançado: exige BITBUSCA_API_KEY] Dá a nota de 0 a 100 do órgão público (saúde fiscal e histórico de pagamento, por regra sobre dados públicos), com as razões da nota.

Input Schema

NameRequiredDescriptionDefault
cnpjYesCNPJ do órgão comprador (campo do edital).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld, so the bar is lower, but the description still adds real context: an authentication requirement (API key), the data basis and rule framework for the score, and that the response includes the reasons behind the score. It does not mention rate limits or failure modes, keeping it below 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?

One front-loaded sentence with the access prerequisite first and the output content last; no wasted language. The nested parenthetical is slightly dense but still readable.

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?

For a single-parameter, read-only tool with no output schema, the description covers what is computed, on what data basis, what is returned (score plus reasons), and the access requirement. Only the fallback path when the API key is absent is left unaddressed.

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% and the single cnpj parameter is already documented as the buyer agency's CNPJ from the edital. The description adds no format, masking, or validation detail beyond the schema, so the baseline 3 applies.

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: gives a 0-100 score for the public contracting agency (órgão público). It also names the score's basis (fiscal health and payment history) and that reasons are returned, so an agent can tell it apart from the plain lookup sibling consultar_cnpj. It stops short of explicitly saying how it differs from that sibling.

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 flags the prerequisite '[Avançado: exige BITBUSCA_API_KEY]', which is genuinely useful for deciding whether the tool is callable. However, it gives no explicit when-to-use versus consultar_cnpj or buscar_empresas, and does not tell the agent what to do if the key is missing (e.g., the como_ativar_avancado sibling).

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