Skip to main content
Glama

spurvik_generate_art50_badge

Read-onlyIdempotent

Generate a copy-paste EU AI Act Article 50 notice: a badge.js tag or a React snippet, in any of the 24 EU languages, with a preview of the notice text. The language is inferred from a domain-like systemName when locale is omitted.

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": {
      "systemName": "<systemName>"
    },
    "name": "spurvik_generate_art50_badge"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoColor theme for the Shadow DOM badge: dark, light, or auto.
formatNoSnippet output format: script (1-line HTML badge.js tag) or react (<AIDisclosureLabel /> JSX component).
localeNoOfficial EU ISO 639-1 language code for the Art. 50 notice (inferred from domain ccTLD when omitted).
noticeNoArticle 50 disclosure variant: interaction (Art. 50(1)), generated, synthetic_media (Art. 50(4)), public_interest_text, or emotion_biometric.
placementNoBadge position on page: bottom-right (default), bottom-left, or inline.
systemNameYesProduct or assistant name, or the site domain.
whitelabelNoHide the Spurvik trust link (Pro or Done-For-You).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / format / description
      Added value: +"Snippet output format: script (1-line HTML badge.js tag) or react (<AIDisclosureLabel /> JSX component)."
    • addedInput schema / properties / locale / description
      Added value: +"Official EU ISO 639-1 language code for the Art. 50 notice (inferred from domain ccTLD when omitted)."
    • addedInput schema / properties / notice / description
      Added value: +"Article 50 disclosure variant: interaction (Art. 50(1)), generated, synthetic_media (Art. 50(4)), public_interest_text, or emotion_biometric."
    • addedInput schema / properties / placement / description
      Added value: +"Badge position on page: bottom-right (default), bottom-left, or inline."
    • addedInput schema / properties / theme / description
      Added value: +"Color theme for the Shadow DOM badge: dark, light, or auto."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the read-only, non-destructive, idempotent, closed-world profile, so the bar is lower. The description still adds real behavioral context: locale is inferred from a domain-like systemName when omitted, and the call returns a preview of the notice text alongside the snippet. It does not mention any auth/tier constraints beyond whitelabel being Pro, nor how variations across the 24 languages are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the produced artifact, then the language-inference rule. No filler, no repetition of enum values already in the schema.

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?

With 7 parameters, 5 enums, and no output schema, the description gives enough to call it correctly and signals the return includes a snippet plus a notice-text preview. It stops short of describing the full response shape (e.g., whether embed instructions or license/attribution text come back), which keeps it from a 5.

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 100%, so baseline is 3, but the description adds a cross-parameter interaction rule the schema does not state: locale defaults to inference from a domain-like systemName, which tells the agent how to set systemName to get the right language output. It also confirms format semantics (script vs react) at a glance.

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?

Specific verb (Generate) plus a concrete resource (EU AI Act Article 50 notice) and the exact artifacts produced: a badge.js <script> tag or a React <AIDisclosureLabel /> snippet, in 24 EU languages with a text preview. An agent can tell this is a disclosure-artifact generator, distinct from scan/classify/setup siblings, without opening the schema.

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?

Usage is implied by the artifact description (use when you need a copy-paste Art. 50 disclosure), but there is no explicit when-to-use framing, no when-not conditions, and no named alternative such as spurvik_setup_snippet, which an agent could plausibly confuse with this.

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.