Skip to main content
Glama

compliance_check

Check compliance with a read-only gate asserting AI-Act record-keeping and GDPR retention, returning violations (disabled receipts, integrity failures, PII over-retention) to reveal regressions.

Instructions

CI/CONTINUOUS compliance GATE (read-only, no LLM): assert the invariants a store claiming AI-Act record-keeping must hold and report any regression. Returns {ok, violations, checked} — violations include receipts_disabled (Art.12/19), integrity_failed (Art.12/15), pii_over_retention (GDPR 5(1)(e)). ok=False means the memory posture regressed. Needs INSPEXIMUS_RECEIPTS=1 for the record-keeping checks.

prior_anchor (an anchor() dict an auditor pinned earlier, out of band) adds the APPEND-ONLY check: not_append_only (Art. 12/19) fires when today's history is not a consistent extension of it. This surface used to drop the argument, so that violation could never fire here however the store was rewritten — checked never listed append_only, but the CLI's own --prior-anchor did the check and the tool docstring advertised the violation. The one operator-ADVERSARIAL check of the four is the one an auditor is most likely to want.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prior_anchorNo
max_pii_age_daysNo
require_receiptsNo
Install Server

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does an excellent job: it discloses read-only safety, lack of LLM involvement, return shape, concrete violation codes, environment requirements, and even a historical bug where the tool used to drop the prior_anchor argument. This is unusually transparent.

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?

The description is front-loaded with purpose, return contract, and prerequisites, and it is well structured. It is somewhat long, with a historical-bug backstory and an editorial sentence about adversarial checks, but most of the extra detail is informative rather than filler.

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 tool with no output schema and no annotations, the description provides a strong contract: return shape, meaning of ok=False, violation names, environment prerequisite, and prior_anchor behavior. The main remaining gap is the lack of explicit descriptions for max_pii_age_days and require_receipts, though their roles are partially inferable.

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 0%, so the description must compensate. It explains prior_anchor in depth, including what it does, when its violation fires, and its historical limitation. However, max_pii_age_days and require_receipts are never explicitly tied to the pii_over_retention and receipts_disabled violations; the agent must infer their semantics from names and output codes.

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 uses a specific verb-resource pair: it 'asserts the invariants a store claiming AI-Act record-keeping must hold' and 'reports any regression.' It also distinguishes itself from report-like siblings by framing itself as a 'CI/CONTINUOUS compliance GATE (read-only, no LLM)' returning machine-readable checks.

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 clearly states the intended context: a continuous-integration gate for stores claiming AI-Act record-keeping compliance, with a prerequisite environment variable (INSPEXIMUS_RECEIPTS=1). It does not explicitly list alternatives or say when not to use it, so it falls just short of a 5.

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

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/DanceNitra/inspeximus'

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