Skip to main content
Glama
nikolasdehor

mcp-fiscal-brasil

by nikolasdehor

risk_score_supplier

Calculate a risk score (0-100) for supplier due diligence by combining compliance reports with conservative adjustments, providing a binary recommendation to approve, investigate, or refuse.

Instructions

Calcula score de risco (0-100) para due diligence de fornecedor. Combina ComplianceReport com ajustes conservadores para contratacao. Retorna recomendacao binaria (aprovar/aprovar_com_ressalvas/investigar/recusar). Opcao criterios_estritos=true reduz score em 10 para politicas anti-corrupcao.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cnpjYesNumero do CNPJ com 14 digitos, com ou sem formatacao.
criterios_estritosNoSe True, aplica pesos mais rigorosos. Padrao: False.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool calculates a score with conservative adjustments and reduces by 10 for strict anti-corruption criteria. However, it does not reveal whether external data sources are used, if authentication is needed, or any side effects. The description provides basic transparency but omits operational details.

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

Conciseness5/5

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

The description is three short sentences, each earning its place: the first states the core function, the second lists possible recommendations, and the third explains the parameter effect. It is front-loaded with the main purpose and contains no wasted words.

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?

The tool has an output schema, so return value details are not required. The description covers the essential behavior, parameter impact, and recommendation types. Minor gaps exist, such as missing error handling for invalid CNPJ, but overall it is sufficiently complete for a simple 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 description coverage is 100%, so baseline is 3. The description adds value by explaining that 'criterios_estritos=true' reduces the score by 10 for anti-corruption policies, which goes beyond the schema's brief description. This extra context improves parameter understanding.

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 clearly states the tool calculates a risk score (0-100) for supplier due diligence, specifying it combines ComplianceReport with conservative adjustments and lists the binary recommendations (approve, approve with reservations, investigate, reject). This distinctively differentiates it from sibling tools like 'analyze_cnpj_compliance' by focusing on risk scoring rather than raw compliance data.

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 implies usage for supplier due diligence by mentioning 'contratacao' (hiring) and describes the effect of the 'criterios_estritos' option, but does not explicitly state when to use this tool versus alternatives or any prerequisites. Usage context is implied but lacks explicit guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolasdehor/mcp-fiscal-brasil'

If you have feedback or need assistance with the MCP directory API, please join our Discord server