Skip to main content
Glama

check_compliance

Read-only

Detect missing compliance coverage in your project. Scans integrations and data processing, then reports which legal facts are still required to complete documentation.

Instructions

Read-only compliance readiness check. Run this after adding any SDK, analytics, payment, auth or AI integration — it detects processing activities your legal documents don't cover yet. It scans the project, detects platforms and data processing, auto-derives what it can (app name, legal entity, contact email) and reports which human facts are still missing (including target markets). Returns {platforms, detected, derived, provided, missing, ready, agentPrompt}: ready is true only when no human fact is missing, and agentPrompt is a prompt you (the dev agent) can answer from the repo, so document generation needs no forms. Never modifies files; errors if dir does not exist or is not a project root. Call it before make_compliant when you want to confirm facts first; re-run it with the answers as arguments until ready is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirYesPath of the project root to analyze (absolute paths are safest).
entityNoData controller / legal entity, if already known (overrides the derived one).
appNameNoOverride the auto-derived app name.
marketsNoRegions where the app has users. Without them `ready` can never be true (markets are a required human fact).
contactEmailNoPrivacy contact email, if already known (overrides the derived one).
Behavior5/5

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

Beyond annotations (readOnlyHint=true, destructiveHint=false), description adds key behaviors: never modifies files, errors on invalid dir/path, and explains return value structure including 'agentPrompt' for dev agent. No contradiction.

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?

Front-loaded with purpose and usage; every sentence adds value. Slightly long but dense with information, no redundancy.

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?

No output schema, but description fully explains return object fields and 'ready' condition. Covers error conditions, iterative workflow, and required parameters. Complete for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions. Description adds context like 'markets are a required human fact' and 'overrides the derived one' for entity/appName, enriching meaning beyond schema.

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?

Description clearly states verb ('Read-only compliance readiness check') and resource ('project'), with specific use case after adding integrations. Distinguishes itself from sibling tools like make_compliant by indicating it's a precursor check.

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?

Explicitly tells when to use ('after adding any SDK, analytics, payment, auth or AI integration') and when not to (implies not for full generation, as call before make_compliant). Provides iterative re-run strategy until 'ready' is true.

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

Install Server

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/marcosnovo/lexvibe-mcp'

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