Skip to main content
Glama

audit_ai_red_lines

Audita um sistema AI contra as red lines da CAIDP (Apr 2026 UN Global Dialogue submission) + EU-AIA Art. 5 prohibited categories. 7 categorias canônicas: emotion_analysis, biometric_categorization, biometric_mass_surveillance, predictive_policing, child_targeting, social_scoring, subliminal_manipulation. Retorna status (compliant | red_line_violation | requires_review), violations[], jurisdictionsBanning, terminationObligationRecommended. Quando terminationObligationRecommended=true, próximo step é submit_hiroshima_icoc_attestation com attestation_type=red_line_negative ou flag_termination_obligation on-chain (F.2).

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": {
      "aiSystemId": "<aiSystemId>",
      "prohibitedUseFlags": "<prohibitedUseFlags>"
    },
    "name": "audit_ai_red_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
aiSystemIdYessha256 hex (32B) ou opaque ID do sistema AI
prohibitedUseFlagsYesSelf-declared flags por categoria red-line. true = sistema realiza essa categoria.
targetJurisdictionsNoJurisdições alvo (e.g. ["EU-AIA", "KOREA", "JAPAN"]). Default: todas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does substantial work: it names the three possible status outcomes, lists the returned fields (violations[], jurisdictionsBanning, terminationObligationRecommended), and explains the conditional follow-up obligation when termination is recommended. It does not state whether the call is read-only or persists any on-chain state, which is the main residual gap for an unannotated tool.

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?

Purpose and framework scope are front-loaded in the first sentence, the category list is compact, and the follow-up routing is last. It is dense with acronyms and mixes Portuguese prose with English identifiers, which slightly raises parsing cost, but no sentence is wasted.

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?

There is no output schema, so the description must describe returns, and it does: status enum, violations array, jurisdictionsBanning, and the termination recommendation flag. Combined with a fully documented input schema, an agent has enough to call the tool and act on the result, with only the side-effect/read-only question left unanswered.

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 all three parameters are already documented, establishing a baseline of 3. The description adds only a partial mapping between its snake_case canonical category names and the camelCase flags in the schema; it does not define what each category means or how targetJurisdictions alters the verdict.

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 states a specific verb and resource ('Audita um sistema AI') against two named frameworks (CAIDP Apr 2026 submission and EU-AIA Art. 5) and enumerates the seven canonical categories checked. It is unmistakably a red-line audit tool, though it never contrasts itself with the close sibling audit_ai_governance, so an agent must infer the boundary.

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?

Guidance is implied rather than explicit: use it when you need a red-line / prohibited-practice determination. The only concrete routing advice concerns the downstream step ('quando terminationObligationRecommended=true, próximo step é submit_hiroshima_icoc_attestation'), which tells the agent what to do after calling, not when to choose this tool over audit_ai_governance or check_compliance.

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