{
  "id": "lookup.vat",
  "object": "tool",
  "name": "EU VAT check",
  "summary": "Validate a VAT number with VIES.",
  "description": "Checks an EU VAT number (or Northern Ireland XI number) against the European Commission's VIES service and returns whether it's valid, plus the registered name and address where the member state shares them.",
  "category": "lookup",
  "hosted_by": "Opentools",
  "runtime": "worker",
  "side_effects": false,
  "status": "live",
  "credits": 1,
  "price": "$0.0010",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0010"
    }
  ],
  "mcp_name": "lookup_vat",
  "input_schema": {
    "type": "object",
    "properties": {
      "vat_number": {
        "type": "string",
        "minLength": 2,
        "maxLength": 32,
        "description": "VAT number, ideally with its country prefix, e.g. FR40303265045"
      },
      "country": {
        "description": "Country code if the number has no prefix (EL for Greece)",
        "type": "string",
        "pattern": "^[A-Za-z]{2}$"
      }
    },
    "required": [
      "vat_number"
    ]
  },
  "kind": "tool"
}