Skip to main content
Glama

ComplianceCN — toys, batteries, cosmetics, food contact: CE, GPSR, UN 38.3, CPC/GCC and more

EU declaration basis

check_eu_declaration_basis
Read-onlyIdempotent

Use when a buyer, customs or distributor requests an EU Declaration of Conformity. Returns applicable legislation, standards, evidence gaps and fields needing confirmation immediately. Does not issue or sign a declaration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_idNoThe case this call continues, from an earlier result. Omit to start a new product case.
marketsNoOptional destination-market hints. Omit when product_description names the destination.
categoryNoOptional structured category hint. Canonical IDs and common English/Chinese labels are accepted. Omit when product_description contains enough information for extraction.
languageNoLanguage for seller-facing text. Questions and messages come back in it; en or zh.zh
age_groupNoIntended user age. Decides whether toy safety rules apply and which small-parts and warning duties follow.
has_radioNoWhether the product transmits: Bluetooth, Wi-Fi, NFC, or any other radio. Decides the RED conformity route in the EU and FCC authorisation in the US.
has_batteryNoWhether the product contains or ships with any battery, including a coin cell in a remote.
battery_typeNoCell chemistry. Decides whether UN 38.3 transport testing and battery-passport duties apply. Use unknown rather than guessing.
product_nameNoHuman-readable product or SKU name
evidence_heldNoEvidence IDs the seller already holds, from a previous result's evidence_checklist. Marks each item held rather than unknown; it does not verify the document.
sales_channelNoWhere the product is sold. Marketplaces impose their own evidence requests on top of the legal requirements.
verified_onlyNoExclude decision rules not checked against primary sources
eu_destinationNoDestination member state, where it changes the answer. Language and producer-registration duties differ across the EU.
supply_chain_roleNoThe seller's role in the chain. Decides which duties are theirs rather than the manufacturer's or importer's.
applicable_modulesNoOptional additional modules that should be assessed together with the primary category, for example toys plus battery-electronics.
product_descriptionNoPreferred first input: describe the product, destination market, sales channel and any known supplier documents in plain language. The tool extracts a preliminary profile and fills the internal checklist. Required when category/markets are not already supplied.
is_childrens_productNoWhether the product is marketed as a children's product; keep unknown when not established.
food_contact_materialNoThe material that touches food. Migration limits and test methods differ by material.
includes_mains_chargerNoWhether a mains plug, wall charger or power adapter ships in the box. A supplied charger is separately in scope.
is_electrically_operatedNoWhether the toy is electrically operated, including mains-powered or battery-powered operation.
evidence_inventory_completeNoTrue only when evidence_notes/evidence_text and evidence_held together form a complete inventory. Otherwise unprovided applicable evidence remains unknown, not missing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changed
    • removedInput schema / properties / accessible_small_parts
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedInput schema / properties / age_group / description
      Added value: +"Intended user age. Decides whether toy safety rules apply and which small-parts and warning duties follow."
    • removedInput schema / properties / battery_compartment_security
      Removed value: -{
      -  "enum": [
      -    "tool_required",
      -    "two_independent_actions",
      -    "other_secured",
      -    "unsecured",
      -    "unknown"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / battery_type / description
      Added value: +"Cell chemistry. Decides whether UN 38.3 transport testing and battery-passport duties apply. Use unknown rather than guessing."
    • changedInput schema / properties / case_id / description
      Previous value: -"Opaque ComplianceCN product-case ID returned by the first successful free workflow call. Carry it unchanged through clarification retries, Stage 2 and human review for the same product/SKU. Never reuse it for another product or SKU."New value: +"The case this call continues, from an earlier result. Omit to start a new product case."
    • removedInput schema / properties / claims_therapeutic
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / properties / clarification_answer
      Removed value: -{
      -  "description": "Continuation shortcut for the exact same case_id when answering questions_required. Send the seller's natural-language answer here; the service restores and merges the previous canonical product profile. Never use this field to introduce a different product or SKU.",
      -  "maxLength": 6000,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / contact_duration
      Removed value: -{
      -  "enum": [
      -    "short",
      -    "long_term",
      -    "unknown"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / contact_temperature
      Removed value: -{
      -  "enum": [
      -    "ambient",
      -    "hot_fill",
      -    "cooking_reheating",
      -    "freezing",
      -    "unknown"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / eu_destination / description
      Added value: +"Destination member state, where it changes the answer. Language and producer-registration duties differ across the EU."
    • addedInput schema / properties / evidence_held / description
      Added value: +"Evidence IDs the seller already holds, from a previous result's evidence_checklist. Marks each item held rather than unknown; it does not verify the document."
    • removedInput schema / properties / evidence_notes
      Removed value: -{
      -  "description": "Document and evidence information known by the seller or agent: filenames, supplier claims, models, standards, issuers, dates, or extracted key text. Explicit evidence may be mapped to evidence IDs; authenticity, completeness and SKU coverage still need original-file and human review.",
      -  "maxLength": 6000,
      -  "type": "string"
      -}
    • removedInput schema / properties / evidence_observations
      Removed value: -{
      -  "default": [],
      -  "description": "Sanitised document observations that may continue between workflow stages: apparent type, filename/reference, models, organisation, date, identifiers, standards, confidence and unresolved issues. Do not include file contents, verbatim extracts, quotations, addresses or unrelated personal information.",
      -  "items": {
      -    "properties": {
      -      "confidence": {
      -        "default": "low",
      -        "enum": [
      -          "low",
      -          "medium",
      -          "high"
      -        ],
      -        "type": "string"
      -      },
      -      "document_date": {
      -        "anyOf": [
      -          {
      -            "maxLength": 80,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "document_reference": {
      -        "anyOf": [
      -          {
      -            "maxLength": 260,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Filename or short seller/agent reference only. Do not send a local path, URL, document body or quotation."
      -      },
      -      "document_type": {
      -        "anyOf": [
      -          {
      -            "maxLength": 160,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Plain-language apparent document type; this does not authenticate or approve the document."
      -      },
      -      "evidence_id": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "ce_declaration",
      -              "ce_label_artwork",
      -              "rohs_evidence",
      -              "radio_test_report",
      -              "un38_3_test_summary",
      -              "battery_label_artwork",
      -              "eu_economic_operator",
      -              "weee_registration",
      -              "battery_epr_registration",
      -              "fcc_authorization",
      -              "fcc_sdoc",
      -              "fcc_label_artwork",
      -              "us_responsible_party",
      -              "lithium_shipping_marks",
      -              "prop65_assessment",
      -              "marketplace_safety_report",
      -              "ukca_or_ce_mark",
      -              "uk_rohs_evidence",
      -              "uk_radio_compliance",
      -              "uk_importer_details",
      -              "uk_weee_registration",
      -              "uk_battery_epr_registration",
      -              "uk_un38_3_test_summary",
      -              "uk_marketplace_safety_report",
      -              "au_rcm_supplier_declaration",
      -              "au_radio_compliance",
      -              "au_eess_supplier_evidence",
      -              "au_importer_supplier_details",
      -              "au_battery_shipping_evidence",
      -              "au_marketplace_safety_report",
      -              "toy_safety_assessment",
      -              "en71_mechanical_report",
      -              "en71_chemical_report",
      -              "electrical_toy_report",
      -              "battery_compartment_assessment",
      -              "choking_risk_assessment",
      -              "age_grading_rationale",
      -              "toy_warning_artwork",
      -              "german_warning_copy",
      -              "marketplace_toy_evidence_package",
      -              "toy_third_party_test_report",
      -              "toy_cpc_certificate",
      -              "toy_retesting_plan",
      -              "toy_cbp_efiling_evidence",
      -              "toy_tracking_label_artwork",
      -              "toy_small_parts_warning_artwork",
      -              "uk_toy_declaration",
      -              "uk_en71_report",
      -              "uk_toy_marking",
      -              "uk_toy_importer_details",
      -              "uk_toy_radio_compliance",
      -              "uk_toy_battery_evidence",
      -              "uk_toy_warning_artwork",
      -              "uk_toy_retesting_plan",
      -              "uk_toy_marketplace_evidence_package",
      -              "au_toy_safety_report",
      -              "au_toy_supplier_declaration",
      -              "au_toy_warning_artwork",
      -              "au_toy_importer_details",
      -              "au_toy_radio_compliance",
      -              "au_toy_battery_evidence",
      -              "au_toy_retesting_plan",
      -              "au_toy_marketplace_evidence_package",
      -              "cosmetic_formula_review",
      -              "cosmetic_safety_report",
      -              "cosmetic_pif",
      -              "cosmetic_cpn_notification",
      -              "cosmetic_label_artwork",
      -              "cosmetic_responsible_person",
      -              "cosmetic_claim_substantiation",
      -              "cosmetic_facility_registration",
      -              "cosmetic_adverse_event_process",
      -              "cosmetic_notification",
      -              "food_contact_material_spec",
      -              "food_contact_use_conditions_spec",
      -              "food_contact_migration_report",
      -              "food_contact_plastic_oml_sml_report",
      -              "food_contact_ceramic_glass_release_report",
      -              "food_contact_paper_board_component_review",
      -              "food_contact_coating_adhesive_ink_review",
      -              "food_contact_metal_release_review",
      -              "food_contact_hot_use_protocol",
      -              "food_contact_repeated_use_simulation",
      -              "food_contact_doc",
      -              "food_contact_traceability",
      -              "food_contact_label_artwork",
      -              "food_contact_polymer_resin_clearance",
      -              "food_contact_fda_status",
      -              "food_contact_supplier_declaration",
      -              "food_contact_california_prop65_screen"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Canonical evidence ID when the apparent document type can be mapped safely; otherwise null."
      -      },
      -      "issuer_or_lab": {
      -        "anyOf": [
      -          {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Issuing organisation or laboratory name only; omit personal names and addresses."
      -      },
      -      "issues": {
      -        "default": [],
      -        "description": "Concise unresolved checks only; never include document quotations or report text.",
      -        "items": {
      -          "maxLength": 240,
      -          "type": "string"
      -        },
      -        "maxItems": 16,
      -        "type": "array"
      -      },
      -      "models_covered": {
      -        "default": [],
      -        "description": "Model/SKU identifiers explicitly stated by the seller, agent or extracted document facts.",
      -        "items": {
      -          "maxLength": 120,
      -          "type": "string"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "provenance": {
      -        "default": "agent_extraction",
      -        "enum": [
      -          "seller_statement",
      -          "agent_extraction",
      -          "llm_inference",
      -          "keyword_inference"
      -        ],
      -        "type": "string"
      -      },
      -      "report_or_certificate_number": {
      -        "anyOf": [
      -          {
      -            "maxLength": 140,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "standards_referenced": {
      -        "default": [],
      -        "items": {
      -          "maxLength": 160,
      -          "type": "string"
      -        },
      -        "maxItems": 24,
      -        "type": "array"
      -      },
      -      "status": {
      -        "default": "mentioned_uncertain",
      -        "enum": [
      -          "reported_held",
      -          "mentioned_uncertain",
      -          "not_held",
      -          "needs_human_review"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "maxItems": 40,
      -  "type": "array"
      -}
    • removedInput schema / properties / evidence_text
      Removed value: -{
      -  "description": "Document/evidence information already known or extracted by an agent. File upload is optional and separate. Do not paste sensitive certificates or full reports into agent chat.",
      -  "maxLength": 6000,
      -  "type": "string"
      -}
    • addedInput schema / properties / food_contact_material / description
      Added value: +"The material that touches food. Migration limits and test methods differ by material."
    • removedInput schema / properties / food_type
      Removed value: -{
      -  "enum": [
      -    "dry",
      -    "aqueous",
      -    "acidic",
      -    "fatty",
      -    "alcoholic",
      -    "mixed",
      -    "unknown"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / has_battery / description
      Added value: +"Whether the product contains or ships with any battery, including a coin cell in a remote."
    • addedInput schema / properties / has_radio / description
      Added value: +"Whether the product transmits: Bluetooth, Wi-Fi, NFC, or any other radio. Decides the RED conformity route in the EU and FCC authorisation in the US."
    • addedInput schema / properties / includes_mains_charger / description
      Added value: +"Whether a mains plug, wall charger or power adapter ships in the box. A supplied charger is separately in scope."
    • removedInput schema / properties / ingredients_reviewed
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / properties / is_sunscreen
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedInput schema / properties / language / description
      Previous value: -"Response language. Canonical values are zh or en. Common English and Chinese labels are accepted during preflight and normalized."New value: +"Language for seller-facing text. Questions and messages come back in it; en or zh."
    • removedInput schema / properties / repeated_use
      Removed value: -{
      -  "enum": [
      -    "single_use",
      -    "repeated_use",
      -    "unknown"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / sales_channel / description
      Previous value: -"Sales channel. Canonical values are amazon, other_marketplace, own_site or unknown. Common natural-language English and Chinese labels are accepted and normalized."New value: +"Where the product is sold. Marketplaces impose their own evidence requests on top of the legal requirements."
    • removedInput schema / properties / sells_in_california
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedInput schema / properties / supply_chain_role / description
      Previous value: -"Supply-chain role. Canonical values are manufacturer, importer, distributor, marketplace_seller or unknown. Common natural-language English and Chinese labels are accepted and normalized."New value: +"The seller's role in the chain. Decides which duties are theirs rather than the manufacturer's or importer's."
    • removedInput schema / properties / toy_chemical_assessment_complete
      Removed value: -{
      -  "type": "boolean"
      -}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive semantics. The description adds useful behavioral detail: it returns results immediately, reports gaps and confirmation fields, and explicitly does not issue or sign the declaration. There is no contradiction with the annotations.

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 with no filler: trigger first, output second, boundary last. Every sentence carries selection-relevant information.

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?

Given the rich input schema, output schema, and annotations, the description is nearly complete for correct selection and invocation. The only gap is that it does not explicitly point the agent to sibling tools when the request is not about an EU DoC, leaving some routing to inference.

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%, so the structured schema already documents all 21 parameters. The description does not add parameter-level detail, but also does not need to; it stays at the level of overall purpose and outputs.

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 description starts with a specific trigger ('buyer, customs or distributor requests an EU Declaration of Conformity') and names its exact outputs ('applicable legislation, standards, evidence gaps and fields needing confirmation'). The closing line 'Does not issue or sign a declaration' clearly separates it from a document-generating tool. This distinguishes it from sibling tools like check_us_import_certification or check_bat_ery_transport_documents by its EU DoC focus.

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?

'Use when...' is an explicit condition for selecting this tool over siblings. The 'Does not issue or sign' line adds a when-not boundary, but the description does not name specific alternative tools or state when to prefer them.

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