Skip to main content
Glama

gdpr_generate_consent

Generate GDPR-compliant consent management code directly in your project directory, supporting TypeScript, Python, Go, or Java. Solve compliance requirements with ready-to-use consent logic.

Instructions

Generate GDPR-compliant consent management code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
languageYesTarget language
directoryYesProject directory
Behavior2/5

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

No annotations are provided, so the description carries the full burden of explaining behavior. It only says code is generated, without disclosing whether files are written to the specified directory, whether an api_key is required, what side effects occur, or what the generated output looks like. This is a minimal behavioral signal rather than a 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?

The description is a single, front-loaded sentence with no redundant words. It is efficient and easy to parse, though it is so brief that it sacrifices useful detail rather than being deliberately selective.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, no annotations, and three parameters, yet the description provides only a generic statement. It does not explain what 'consent management code' entails, how language and directory affect the result, what the api_key is used for, or what the agent can expect after invocation. This is insufficient for reliable tool selection and invocation.

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

Parameters2/5

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

Schema description coverage is 67%, and the tool description adds no parameter-level meaning beyond the schema. The language and directory parameters have schema descriptions, but api_key has none, and the description does not clarify its role or any constraints. The description contributes nothing to help an agent understand how to populate the parameters correctly.

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 action ('Generate') and a clear resource ('GDPR-compliant consent management code'). It clearly distinguishes itself from sibling tools like gdpr_scan_pii and gdpr_generate_deletion by focusing on consent management code generation, though it does not explicitly name those alternatives.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus related alternatives such as cookie_generate_banner, cookie_add_preferences, or gdpr_generate_deletion. The intended use is only implied by the phrase 'consent management code'; there are no explicit conditions, exclusions, or comparisons.

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/barnburner121/claude-plugin-marketplace'

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