Skip to main content
Glama

check_compliance

Verifica conformidade em 15 jurisdições: LGPD, GDPR, MICAR, DPDP, PDPA, UAE/PDPL, POPIA, NDPA, CCPA, PIPEDA, LAW25, PIPA, PDP, APPI, ART. Para LGPD/GDPR, gera article-by-article checklist com score. Para as demais 13, retorna KB snapshot + pointer para compare_jurisdictions.

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": {
      "company": "<company>",
      "auditScope": "<auditScope>"
    },
    "name": "check_compliance"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjNoCNPJ (opcional, contexto BR)
companyYesNome da empresa
frameworkNo[DEPRECATED — use "jurisdiction" instead] Legacy parameter. Aceito como alias retro-compatível: LGPD/GDPR mapeiam direto para jurisdiction; "Ambos" gera report combinado LGPD+GDPR.
auditScopeYesEscopo da auditoria
auditorNameNoNome do auditor
auditorRoleNoCargo do auditor
jurisdictionNoJurisdição alvo (25 jurisdições + "ART"/"CASP"/"PDPL" aliases). LGPD/GDPR retornam article-by-article checklist com score. Demais (MICAR/DPDP/PDPA/UAE/PDPL/POPIA/NDPA/CCPA/PIPEDA/LAW25/PIPA/PDP/APPI/ART) retornam KB snapshot + suggestedNextCall para compare_jurisdictions. APPI (JP) é a 15ª jurisdição (Sprint E 2026-05-04) — Act 57/2003 + amendments 2022 + My Number Act + EU/UK dual adequacy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the differentiated return shapes for the two branches, which is genuinely useful, but says nothing about whether the call is read-only or side-effecting, whether it persists an audit artifact, auth/permission needs, or latency/rate characteristics. For a compliance-audit tool with zero annotation coverage this is a meaningful 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 short sentences, front-loaded with the scope and then the two output modes, with no filler. The main economy issue is that the jurisdiction list is duplicated in prose when the schema enum already carries it, which is exactly the sentence that produced the 15-vs-28 mismatch.

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?

With 7 parameters, two enums, and no output schema, the description does the important work of explaining what each call returns and when to hand off to compare_jurisdictions. It is not fully complete because the jurisdiction count contradicts the schema enum and nothing addresses the deprecated 'framework' parameter or required-vs-optional jurisdiction.

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%, so every parameter including the deprecated 'framework' alias and the large 'jurisdiction' enum is already documented in the schema itself. The description only restates the jurisdiction-to-output mapping and adds no new syntax, defaults, or constraints (e.g., that jurisdiction is effectively required despite not being in the required list). 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?

The description gives a specific verb ('Verifica conformidade') and enumerates the regimes covered, plus splits behavior into two output modes (article-by-article checklist with score for LGPD/GDPR vs KB snapshot + pointer for the rest). That is enough for an agent to distinguish this from a pure comparison tool. The only defect is that it claims '15 jurisdições' while the schema enum exposes ~28 values (MEXICO, VIETNAM, MALAYSIA, KENYA, GHANA, COLOMBIA, TANZANIA, RWANDA, UGANDA, ARGENTINA, CASP), leaving the real coverage scope ambiguous.

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 explicitly routes the agent: use this tool for LGPD/GDPR article-by-article scoring, and for the other regimes expect only a KB snapshot with a pointer to compare_jurisdictions. That is a clear when-to-use and a named alternative. It stops short of excluding or explaining the crowded sibling set (check_compliance_status, multi_jurisdiction_compliance_check, check_sectoral_framework), so the agent must infer those boundaries.

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