Skip to main content
Glama

ICS2 Stop-Words Checker

ics2_check
Read-onlyIdempotent

Check a goods description against the official EU ICS2 stop-words list — terms too vague or generic for an entry summary declaration (ENS) goods description. A standalone stop-word means automatic rejection, an embedded one means make the description more specific; clean=true means no listed term matched, not that it will be accepted. The Commission's whitelist of accepted goods descriptions (ICS2 Common Repository, from 17 November 2026) is applied first: a whole description that is a whitelist entry is not flagged, even when it contains a stop-word, and the answer carries whitelist_match naming the entry and the stop words it contains. For commodity codes use hs_code_lookup; for duty/VAT uk_duty_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Strictly a reference check — not an ENS filing, not a customs-compliance determination, not legal advice.

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": {
      "description": "<description>"
    },
    "name": "ics2_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
descriptionYesThe goods description to check.

Output Schema

NameRequiredDescriptionDefault
okYes
as_ofYes
resultYes
statusYes
_sourceYes
editionYes
citationYes
warningsNo
confidenceYes
missing_inputsYes
blocking_errorsNo
envelope_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • removedOutput schema / properties / _meta
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "check_id": {
      -      "type": "string"
      -    },
      -    "edition_basis": {
      -      "type": "string"
      -    },
      -    "ids": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "pattern": {
      -          "type": "string"
      -        },
      -        "scheme": {
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "scheme",
      -        "pattern"
      -      ],
      -      "type": "object"
      -    },
      -    "receipt": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "created_at": {
      -          "type": "string"
      -        },
      -        "dataset_version": {
      -          "additionalProperties": {
      -            "type": "string"
      -          },
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "engine_version": {
      -          "type": "string"
      -        },
      -        "inputs": {},
      -        "reason": {
      -          "enum": [
      -            "key_required",
      -            "quota"
      -          ],
      -          "type": "string"
      -        },
      -        "receipt_hash": {
      -          "type": "string"
      -        },
      -        "result": {
      -          "additionalProperties": {},
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "schema_version": {
      -          "type": "string"
      -        },
      -        "stored": {
      -          "const": false,
      -          "type": "boolean"
      -        },
      -        "tool": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "stored",
      -        "reason",
      -        "schema_version",
      -        "receipt_hash",
      -        "created_at",
      -        "tool",
      -        "inputs",
      -        "dataset_version",
      -        "engine_version",
      -        "result"
      -      ],
      -      "type": "object"
      -    },
      -    "receipt_url": {
      -      "type": "string"
      -    },
      -    "upstream": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "datasets": {
      -          "additionalProperties": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "kind": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "watched",
      -                      "checksum-only",
      -                      "manual"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "last_success": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "reason": {
      -                "type": "string"
      -              },
      -              "stale": {
      -                "type": "boolean"
      -              },
      -              "state": {
      -                "enum": [
      -                  "in_step",
      -                  "changed_upstream",
      -                  "schema_drift",
      -                  "unreachable",
      -                  "window_missed",
      -                  "unknown"
      -                ],
      -                "type": "string"
      -              },
      -              "window_days": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "state",
      -              "kind",
      -              "last_success",
      -              "window_days",
      -              "stale"
      -            ],
      -            "type": "object"
      -          },
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "stale": {
      -          "type": "boolean"
      -        },
      -        "state": {
      -          "enum": [
      -            "in_step",
      -            "changed_upstream",
      -            "schema_drift",
      -            "unreachable",
      -            "window_missed",
      -            "unknown"
      -          ],
      -          "type": "string"
      -        },
      -        "state_read_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "state",
      -        "stale",
      -        "state_read_at",
      -        "datasets"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / normalized_input
      Removed value: -{
      -  "additionalProperties": {},
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / validity
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "as_of": {
      -      "type": "string"
      -    },
      -    "effective_from": {
      -      "type": "string"
      -    },
      -    "effective_to": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "as_of"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "envelope_version",
      -  "ok",
      -  "result",
      -  "confidence",
      -  "_source",
      -  "citation"
      -]New value: +[
      +  "envelope_version",
      +  "ok",
      +  "status",
      +  "missing_inputs",
      +  "edition",
      +  "as_of",
      +  "result",
      +  "confidence",
      +  "_source",
      +  "citation"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / description / description
      Previous value: -"The goods description to check against the EU ICS2 stop-words list."New value: +"The goods description to check."
  3. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / upstream
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "datasets": {
      +      "additionalProperties": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "kind": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "watched",
      +                  "checksum-only",
      +                  "manual"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "last_success": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "stale": {
      +            "type": "boolean"
      +          },
      +          "state": {
      +            "enum": [
      +              "in_step",
      +              "changed_upstream",
      +              "schema_drift",
      +              "unreachable",
      +              "window_missed",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "window_days": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "state",
      +          "kind",
      +          "last_success",
      +          "window_days",
      +          "stale"
      +        ],
      +        "type": "object"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "stale": {
      +      "type": "boolean"
      +    },
      +    "state": {
      +      "enum": [
      +        "in_step",
      +        "changed_upstream",
      +        "schema_drift",
      +        "unreachable",
      +        "window_missed",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "state_read_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "stale",
      +    "state_read_at",
      +    "datasets"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / ids
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "pattern": {
      +      "type": "string"
      +    },
      +    "scheme": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scheme",
      +    "pattern"
      +  ],
      +  "type": "object"
      +}
  5. Changed2 schema fields changed
    • removedOutput schema / properties / _meta / properties / receipt / properties / reason / const
      Removed value: -"key_required"
    • addedOutput schema / properties / _meta / properties / receipt / properties / reason / enum
      Added value: +[
      +  "key_required",
      +  "quota"
      +]
  6. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / receipt
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "created_at": {
      +      "type": "string"
      +    },
      +    "dataset_version": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "engine_version": {
      +      "type": "string"
      +    },
      +    "inputs": {},
      +    "reason": {
      +      "const": "key_required",
      +      "type": "string"
      +    },
      +    "receipt_hash": {
      +      "type": "string"
      +    },
      +    "result": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "schema_version": {
      +      "type": "string"
      +    },
      +    "stored": {
      +      "const": false,
      +      "type": "boolean"
      +    },
      +    "tool": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "stored",
      +    "reason",
      +    "schema_version",
      +    "receipt_hash",
      +    "created_at",
      +    "tool",
      +    "inputs",
      +    "dataset_version",
      +    "engine_version",
      +    "result"
      +  ],
      +  "type": "object"
      +}
  7. Changed1 schema field changed
    • addedOutput schema / properties / _meta / properties / edition_basis
      Added value: +{
      +  "type": "string"
      +}
  8. Changed1 schema field changed
    • addedOutput schema / properties / _meta
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "check_id": {
      +      "type": "string"
      +    },
      +    "receipt_url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  9. Changed5 schema fields changed
    • addedOutput schema / properties / as_of
      Added value: +{
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / edition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "applies_from": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "may_apply_until": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "applies_from",
      +        "may_apply_until"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / envelope_version / enum
      Previous value: -[
      -  "1",
      -  "1.1"
      -]New value: +[
      +  "1",
      +  "1.1",
      +  "1.2"
      +]
    • addedOutput schema / properties / missing_inputs
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "enum": [
      +    "ok",
      +    "partial",
      +    "not_found",
      +    "unsupported",
      +    "ambiguous"
      +  ],
      +  "type": "string"
      +}
  10. Changed2 schema fields changed
    • removedOutput schema / properties / validity / properties / effective_to / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / validity / properties / effective_to / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  11. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  12. Changed5 schema fields changed
    • addedOutput schema / properties / _source / properties / authority_current_edition
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / _source / properties / checked_at
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / _source / properties / dataset_edition
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / envelope_version / const
      Removed value: -"1"
    • addedOutput schema / properties / envelope_version / enum
      Added value: +[
      +  "1",
      +  "1.1"
      +]
  13. Changed29 schema fields changed
    • removedOutput schema / properties / _source / description
      Removed value: -"Citability envelope: EU ICS2 list + legal basis + provenance"
    • removedOutput schema / properties / _source / properties / authority
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / _source / properties / checked
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / _source / properties / dataset
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / _source / properties / legal_basis
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / _source / properties / licence
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / _source / properties / list_in_force
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / _source / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / _source / properties / non_exhaustive
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / _source / properties / provenance_status
      Added value: +{
      +  "enum": [
      +    "verified",
      +    "pending-verification",
      +    "computed",
      +    "live"
      +  ],
      +  "type": "string"
      +}
    • removedOutput schema / properties / _source / properties / retrieved
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / _source / properties / retrieved_via
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / _source / properties / type
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / _source / required
      Previous value: -[
      -  "type",
      -  "authority",
      -  "dataset",
      -  "legal_basis",
      -  "list_in_force",
      -  "source_url",
      -  "licence",
      -  "retrieved",
      -  "non_exhaustive",
      -  "retrieved_via"
      -]New value: +[
      +  "name",
      +  "checked",
      +  "provenance_status"
      +]
    • addedOutput schema / properties / blocking_errors
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "recovery": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "type": "string"
      +          },
      +          "params": {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "action"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "recovery"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / caveat
      Removed value: -{
      -  "description": "Non-exhaustive-list caveat: clean does not mean accepted",
      -  "type": "string"
      -}
    • addedOutput schema / properties / citation
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "qualifier": {
      +      "type": "string"
      +    },
      +    "text": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "text"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / clean
      Removed value: -{
      -  "description": "True if no listed stop-word was found — NOT a guarantee of acceptance",
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / confidence
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "basis": {
      +      "enum": [
      +        "deterministic",
      +        "provenance",
      +        "match_quality",
      +        "freshness"
      +      ],
      +      "type": "string"
      +    },
      +    "level": {
      +      "enum": [
      +        "high",
      +        "medium",
      +        "low"
      +      ],
      +      "type": "string"
      +    },
      +    "score": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "level",
      +    "basis"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / description
      Removed value: -{
      -  "description": "Echo of the submitted description",
      -  "type": "string"
      -}
    • removedOutput schema / properties / disclaimer
      Removed value: -{
      -  "description": "Reference-only disclaimer",
      -  "type": "string"
      -}
    • addedOutput schema / properties / envelope_version
      Added value: +{
      +  "const": "1",
      +  "type": "string"
      +}
    • removedOutput schema / properties / flagged
      Removed value: -{
      -  "description": "Listed stop-words found (empty if none)",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "note": {
      -        "description": "Standalone (automatic rejection) vs embedded guidance",
      -        "type": "string"
      -      },
      -      "term": {
      -        "description": "The listed stop-word found",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "term",
      -      "note"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / normalized_input
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / ok
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / result
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / validity
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "as_of": {
      +      "type": "string"
      +    },
      +    "effective_from": {
      +      "type": "string"
      +    },
      +    "effective_to": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "as_of"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "details": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "description",
      -  "flagged",
      -  "clean",
      -  "caveat",
      -  "_source",
      -  "disclaimer"
      -]New value: +[
      +  "envelope_version",
      +  "ok",
      +  "result",
      +  "confidence",
      +  "_source",
      +  "citation"
      +]
  14. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds real value beyond that: whitelist evaluation order, the whitelist_match field, rate-limit behaviour with reset_at, and explicit non-goals. It does not, however, describe how stop-words are classified in the response (standalone vs embedded) beyond the narrative, so a 4 rather than 5 fits — some behavioural detail is left to the output schema.

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?

Front-loaded with the core action and immediately followed by the two result interpretations, which is the right ordering. A few clauses overlap (the whitelist paragraph and the closing triple disclaimer), but nothing is padding in the sense of restating the name or title.

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?

Output schema exists, so return values need not be enumerated, and the description still calls out the key non-obvious field (whitelist_match) and the rate-limit reset_at. Combined with the disclaimers and sibling routing, it is complete enough to call correctly; only minor gaps remain around input formatting for the goods description.

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 coverage is 100% for the single `description` parameter, so the schema already carries the parameter meaning and the baseline of 3 applies. The description reinforces that the input is a free-text goods description and implicitly constrains it to ICS2 ENS contexts, but adds no format, length, or language guidance beyond that.

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?

States a concrete verb and resource: checking a goods description against the official EU ICS2 stop-words list, and explains what that list means (terms too vague for an ENS goods description). The scope is narrow and unmistakable, so an agent can separate it from lookup or calculation 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 Guidelines5/5

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

Explicitly routes adjacent needs to siblings — hs_code_lookup for commodity codes, uk_duty_calculator for duty/VAT — and states the boundary that this is a reference check, not an ENS filing or compliance determination. It also tells the agent how to read the result (clean=true means no match, not acceptance), which prevents the most likely misuse.

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.