Skip to main content
Glama

grid402_compliance

Calculates a consolidated 0–100 Compliance Score 360 and approval status for a CNPJ by cross-checking Receita Federal, CGU, and historical data.

Instructions

Calcula o Compliance Score 360 consolidado (0 a 100) e status de aprovacao de um CNPJ cruzando Receita Federal, CGU e historico (0.0300 USDC / 6 créditos).

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": {
      "cnpj": "<cnpj>"
    },
    "name": "grid402_compliance"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjYesCNPJ da Pessoa Juridica com 14 digitos para score de integridade.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the cost model (0.0300 USDC / 6 credits) and the output range (0-100) plus an approval status, which is real value beyond the schema. It does not state whether the call is a pure read, whether results are cached, or what happens with unknown/invalid CNPJs.

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 sentence, front-loaded with the operation and result, with sources and price in a trailing parenthetical. Nothing is wasted, though the price is buried mid-sentence rather than separated.

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 computation tool with no output schema, the description covers what is produced (0-100 score, approval status), from which sources, and at what cost. Not fully complete: the score's composition/breakdown and behavior on missing data are unstated, but the essentials for correct invocation are present.

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 coverage is 100% and the single parameter is fully documented in the schema ('CNPJ ... com 14 digitos'). The description adds no format, validation, or normalization guidance beyond what the schema already says, so 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 artifact: calculates a consolidated Compliance Score 360 (0-100) plus approval status for a CNPJ, and names the data sources (Receita Federal, CGU, historic). It is distinguishable from a raw lookup like grid402_cnpj or grid402_kyb_audit by the 'consolidated score' framing, though it never explicitly contrasts with those siblings.

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?

Usage is implied by naming the inputs it cross-references (Receita Federal, CGU, history), which hints at when this is the right tool rather than a single-source lookup. There is no explicit when-to-use/when-not guidance, no mention of alternatives, and no prerequisites such as whether a CNPJ must be active.

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