Skip to main content
Glama

check_compliance_status

Auth-Check de conformidade por CNPJ/DID. INDISPONÍVEL: a resolução de CNPJ/DID para a atestação on-chain ainda não existe. Responde fail-closed (authorized=false, compliant=null) e aponta para fetch_compliance_attestation (lê o registro real on-chain) e dpo2u_check_counterparty (passaporte DPO2U da contraparte). Não use como gate de autorização.

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": {
      "companyId": "<companyId>"
    },
    "name": "check_compliance_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYesCNPJ ou DID da empresa alvo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the fixed fail-closed response shape (authorized=false, compliant=null) and the reason (CNPJ/DID resolution for on-chain attestation does not exist). This is exactly the behavioral context an agent needs to avoid misusing a stub.

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?

Four dense sentences, each earning its place: purpose, unavailability, return behavior, alternatives, and a usage prohibition. The critical caveat appears near the front rather than buried.

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?

Complete for a one-parameter stub with no output schema: the description supplies the return shape and the reason for it, which is precisely the information the missing output schema would otherwise provide.

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 already documents 'CNPJ ou DID da empresa alvo'. The description restates the same CNPJ/DID framing without adding format, validation, or resolution details 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Auth-Check de conformidade por CNPJ/DID') and immediately qualifies it with 'INDISPONÍVEL', making clear the tool cannot perform the resolution it names. It distinguishes itself from siblings by pointing to fetch_compliance_attestation and dpo2u_check_counterparty as the working alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-not guidance: 'Não use como gate de autorização' plus the unavailability note. It names two concrete alternatives and what each does ('lê o registro real on-chain', 'passaporte DPO2U da contraparte'), leaving nothing to inference.

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.

Resources