Skip to main content
Glama
SonnyLabs

EU AI Act Compliance MCP Server

by SonnyLabs

watermark_image

Generate machine-readable watermark metadata for AI-generated images to meet EU AI Act Article 50(2) transparency requirements.

Instructions

Generate watermarking metadata for AI-generated images per Article 50(2).

This tool provides C2PA-compliant metadata and instructions for watermarking AI-generated images. The watermark must be machine-readable and detectable.

Args: image_description: Brief description of the image generator: Name of AI system that generated it (e.g., "DALL-E", "Midjourney") format_type: Image format (png, jpg, webp). Default: "png"

Returns: Dictionary with watermarking metadata, instructions, and compliance info

Example: watermark_image( image_description="AI-generated landscape", generator="DALL-E", format_type="png" )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
generatorNoAI
format_typeNopng
image_descriptionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly says the tool 'generates watermarking metadata and instructions' rather than actually modifying the image, which is a key behavioral trait. It also discloses the return type (dictionary with metadata, instructions, compliance info) and mentions the watermark must be machine-readable and detectable. This provides useful transparency without contradicting any annotations.

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 organized into short sections (Args, Returns, Example) with the core purpose front-loaded in the first sentence. It is slightly longer than strictly necessary due to the example, but every sentence contributes useful information, making it efficient rather than verbose.

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?

For a tool with three params, a simple dictionary output, and no annotations, the description is highly complete. It includes the regulatory reference (Article 50(2)), the output shape, parameter semantics, and a worked example. The presence of an output schema means return values need not be detailed further, and the description provides enough context for an agent to select and invoke the tool correctly.

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 description coverage is 0%, so the description must compensate. It does: each parameter is explained clearly (image_description, generator, format_type), including example values for generator ('DALL-E', 'Midjourney') and format_type ('png', 'jpg', 'webp') with a default. The example call demonstrates usage. This adds real meaning beyond the schema's bare property names and defaults.

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 first sentence 'Generate watermarking metadata for AI-generated images per Article 50(2)' clearly states a specific verb ('generate') and resource ('watermarking metadata for AI-generated images'), distinguishing it from sibling tools like watermark_text, watermark_video, and watermark_audio by explicitly scoping to images. The mention of C2PA compliance adds further specificity.

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?

The description clearly indicates this tool is for AI-generated images, providing context that it produces C2PA-compliant metadata and instructions. However, it does not explicitly mention when not to use this tool or point to alternatives (e.g., watermark_text for text), though sibling names make the distinction implicit. This fits the 'clear context, no exclusions' level.

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/SonnyLabs/EU_AI_ACT_MCP'

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