Skip to main content
Glama

EuBinder – EU rules for online shops

Draft a GPSR product safety block

gpsr_product_page_block
Read-onlyIdempotent

Writes the GPSR product safety information for an online product page or marketplace listing: manufacturer name and address, EU responsible person, importer, product identifier, warnings and safety information, as listed in GPSR Article 19. Output as HTML and plain text in English, German, French, Dutch, Italian, Spanish, Polish or Romanian (for example the Herstellerangaben block in German), with points to check, including the product picture. Uses only the details given; nothing is stored. It does not judge whether a product is safe and does not choose the responsible person.

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": {
      "manufacturer": "<manufacturer>"
    },
    "name": "gpsr_product_page_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
importerNoEU importer, if any
languageNoLanguage of the block: en, de, fr, nl, it, es, pl or roen
warningsNoWarnings, e.g. age or choking warnings, as on the product or packaging
manufacturerYesManufacturer (maker or brand owner) with postal and electronic address
safety_documentsNoLinks (https) to safety documents, e.g. instructions or a safety data sheet
product_identifierNoType, model, batch, SKU or EAN
responsible_personNoEU responsible person (an economic operator established in the EU, e.g. the importer or an authorised representative); needed when the manufacturer is not established in the EU
safety_informationNoSafety information or instructions for safe use
manufacturer_established_in_euNoWhether the manufacturer is established in the EU

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / importer / description
      Added value: +"EU importer, if any"
    • addedInput schema / properties / importer / properties / email / description
      Added value: +"E-mail address for contact"
    • addedInput schema / properties / importer / properties / postal_address / description
      Added value: +"Postal address"
    • addedInput schema / properties / language / description
      Added value: +"Language of the block: en, de, fr, nl, it, es, pl or ro"
    • addedInput schema / properties / manufacturer / description
      Added value: +"Manufacturer (maker or brand owner) with postal and electronic address"
    • addedInput schema / properties / manufacturer / properties / email / description
      Added value: +"E-mail address for contact"
    • addedInput schema / properties / manufacturer / properties / postal_address / description
      Added value: +"Postal address"
    • addedInput schema / properties / manufacturer_established_in_eu / description
      Added value: +"Whether the manufacturer is established in the EU"
    • changedInput schema / properties / responsible_person / description
      Previous value: -"EU responsible person; needed when the manufacturer is not established in the EU"New value: +"EU responsible person (an economic operator established in the EU, e.g. the importer or an authorised representative); needed when the manufacturer is not established in the EU"
    • addedInput schema / properties / responsible_person / properties / email / description
      Added value: +"E-mail address for contact"
    • addedInput schema / properties / responsible_person / properties / postal_address / description
      Added value: +"Postal address"
    • addedInput schema / properties / safety_documents / description
      Added value: +"Links (https) to safety documents, e.g. instructions or a safety data sheet"
    • addedInput schema / properties / safety_information / description
      Added value: +"Safety information or instructions for safe use"
    • addedInput schema / properties / warnings / description
      Added value: +"Warnings, e.g. age or choking warnings, as on the product or packaging"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the bar is lower, yet the description still contributes: it states that nothing is stored and only supplied details are used, that output is HTML plus plain text with check points, and that it will not judge safety or select the responsible person. Missing only are details on what the check points look like or how partial data is handled.

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?

Three sentences, front-loaded with the action and scope, then output formats and languages, then boundaries. Dense but nearly every clause carries information; the 'Herstellerangaben block in German' example is illustrative rather than essential.

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?

With nine parameters, nested objects and no output schema, the description compensates by stating the output formats (HTML and plain text), the language set, the presence of check points including the product picture, and the non-storage behavior. An agent has enough to invoke it correctly and set expectations for the result.

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 100% and includes rich per-field descriptions (including the note that the responsible person is needed when the manufacturer is outside the EU), so the schema carries the semantics. The description adds little beyond restating the field list and the supported language set, which is already an enum in the schema.

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 opens with a specific verb and resource ('Writes the GPSR product safety information for an online product page or marketplace listing') and enumerates the exact fields covered (manufacturer, EU responsible person, importer, identifier, warnings, safety information) with a legal anchor (Article 19). It is unambiguous what the tool produces, though it never names or contrasts itself with the nearest sibling, accessibility_statement_draft.

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 context is implied by 'online product page or marketplace listing' and by the exclusions ('does not judge whether a product is safe and does not choose the responsible person'), which usefully routes the agent away from expecting safety assessment. However, there is no explicit statement of when to pick this over the sibling drafting or obligation-checking tools.

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.

Resources