Skip to main content
Glama

agentum-entity-resolver

Validate an EU VAT number against VIES

verify_eu_vat
Read-onlyIdempotent

Validates an EU VAT number against the European Commission VIES service and returns the registered name and address. Use when validating the VAT ID on a supplier invoice, applying reverse charge on a cross-border B2B sale, or confirming a vendor's VAT registration at onboarding. Inputs: vatNumber with 2-letter country prefix (e.g. DE129274202). Returns: valid, countryCode, vatNumber, registeredName, registeredAddress, checkedAt, source (EU_VIES, CACHE, SYNTAX_ONLY), linkedEntity. Source: EU VIES live. Same input → same output. $0.005 per call after 5 free calls/day; pay by card credits, x402: https://agentum.asimplek.cloud/pay

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": {
      "vatNumber": "<vatNumber>"
    },
    "name": "verify_eu_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
vatNumberYesEU VAT number including 2-letter country prefix (e.g. 'LT100004278519')

Output Schema

NameRequiredDescriptionDefault
errorNo
validYes
sourceYes
fullVatYes
checkedAtYes
vatNumberYes
countryCodeYes
linkedEntityYes
registeredNameYes
registeredAddressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / linkedEntity / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "aliases": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "canonicalName": {
      -        "type": "string"
      -      },
      -      "cik": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "confidence": {
      -        "maximum": 1,
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "domains": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "headquartersAddress": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "city": {
      -                "type": "string"
      -              },
      -              "country": {
      -                "type": "string"
      -              },
      -              "postalCode": {
      -                "type": "string"
      -              },
      -              "region": {
      -                "type": "string"
      -              },
      -              "street": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "country"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "incorporationDate": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "jurisdiction": {
      -        "type": "string"
      -      },
      -      "legalAddress": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "city": {
      -                "type": "string"
      -              },
      -              "country": {
      -                "type": "string"
      -              },
      -              "postalCode": {
      -                "type": "string"
      -              },
      -              "region": {
      -                "type": "string"
      -              },
      -              "street": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "country"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "legalForm": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "lei": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "normalizedName": {
      -        "type": "string"
      -      },
      -      "officers": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "appointedOn": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "nationality": {
      -              "type": "string"
      -            },
      -            "occupation": {
      -              "type": "string"
      -            },
      -            "resignedOn": {
      -              "type": "string"
      -            },
      -            "role": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "role"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "parentLei": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "primaryIdType": {
      -        "enum": [
      -          "LEI",
      -          "LT_JAR",
      -          "US_CIK",
      -          "US_EIN",
      -          "EU_VAT",
      -          "NATIONAL_REG"
      -        ],
      -        "type": "string"
      -      },
      -      "primaryIdValue": {
      -        "type": "string"
      -      },
      -      "region": {
      -        "enum": [
      -          "EU",
      -          "US",
      -          "OTHER"
      -        ],
      -        "type": "string"
      -      },
      -      "registrationAuthority": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "registrationNumber": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sources": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fetchedAt": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "type": "string"
      -            },
      -            "sourceId": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "source",
      -            "sourceId",
      -            "fetchedAt"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "status": {
      -        "enum": [
      -          "ACTIVE",
      -          "INACTIVE",
      -          "DISSOLVED",
      -          "LIQUIDATING",
      -          "UNKNOWN"
      -        ],
      -        "type": "string"
      -      },
      -      "taxId": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "tickers": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "ultimateParentLei": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "vatNumber": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "vatValid": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "canonicalName",
      -      "normalizedName",
      -      "jurisdiction",
      -      "region",
      -      "primaryIdType",
      -      "primaryIdValue",
      -      "lei",
      -      "registrationNumber",
      -      "registrationAuthority",
      -      "vatNumber",
      -      "vatValid",
      -      "taxId",
      -      "cik",
      -      "tickers",
      -      "legalForm",
      -      "status",
      -      "incorporationDate",
      -      "legalAddress",
      -      "headquartersAddress",
      -      "parentLei",
      -      "ultimateParentLei",
      -      "domains",
      -      "aliases",
      -      "sources",
      -      "confidence"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "aliases": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "beneficialOwners": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "birthYearMonth": {
      +              "type": "string"
      +            },
      +            "ceasedOn": {
      +              "type": "string"
      +            },
      +            "countryOfResidence": {
      +              "type": "string"
      +            },
      +            "countryRegistered": {
      +              "type": "string"
      +            },
      +            "kind": {
      +              "enum": [
      +                "INDIVIDUAL",
      +                "CORPORATE",
      +                "LEGAL_PERSON",
      +                "PROTECTED",
      +                "UNKNOWN"
      +              ],
      +              "type": "string"
      +            },
      +            "legalForm": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "nationality": {
      +              "type": "string"
      +            },
      +            "naturesOfControl": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "notifiedOn": {
      +              "type": "string"
      +            },
      +            "registrationNumber": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "kind",
      +            "naturesOfControl",
      +            "source"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "canonicalName": {
      +        "type": "string"
      +      },
      +      "cik": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "confidence": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "domains": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "headquartersAddress": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "city": {
      +                "type": "string"
      +              },
      +              "country": {
      +                "type": "string"
      +              },
      +              "postalCode": {
      +                "type": "string"
      +              },
      +              "region": {
      +                "type": "string"
      +              },
      +              "street": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "country"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "incorporationDate": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "jurisdiction": {
      +        "type": "string"
      +      },
      +      "legalAddress": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "city": {
      +                "type": "string"
      +              },
      +              "country": {
      +                "type": "string"
      +              },
      +              "postalCode": {
      +                "type": "string"
      +              },
      +              "region": {
      +                "type": "string"
      +              },
      +              "street": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "country"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "legalForm": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "lei": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "normalizedName": {
      +        "type": "string"
      +      },
      +      "officers": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "appointedOn": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "nationality": {
      +              "type": "string"
      +            },
      +            "occupation": {
      +              "type": "string"
      +            },
      +            "resignedOn": {
      +              "type": "string"
      +            },
      +            "role": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "role"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "parentLei": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "primaryIdType": {
      +        "enum": [
      +          "LEI",
      +          "LT_JAR",
      +          "US_CIK",
      +          "US_EIN",
      +          "EU_VAT",
      +          "NATIONAL_REG"
      +        ],
      +        "type": "string"
      +      },
      +      "primaryIdValue": {
      +        "type": "string"
      +      },
      +      "region": {
      +        "enum": [
      +          "EU",
      +          "US",
      +          "OTHER"
      +        ],
      +        "type": "string"
      +      },
      +      "registrationAuthority": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "registrationNumber": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sources": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fetchedAt": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "sourceId": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "source",
      +            "sourceId",
      +            "fetchedAt"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "enum": [
      +          "ACTIVE",
      +          "INACTIVE",
      +          "DISSOLVED",
      +          "LIQUIDATING",
      +          "UNKNOWN"
      +        ],
      +        "type": "string"
      +      },
      +      "taxId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "tickers": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "ultimateParentLei": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "vatNumber": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "vatValid": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "canonicalName",
      +      "normalizedName",
      +      "jurisdiction",
      +      "region",
      +      "primaryIdType",
      +      "primaryIdValue",
      +      "lei",
      +      "registrationNumber",
      +      "registrationAuthority",
      +      "vatNumber",
      +      "vatValid",
      +      "taxId",
      +      "cik",
      +      "tickers",
      +      "legalForm",
      +      "status",
      +      "incorporationDate",
      +      "legalAddress",
      +      "headquartersAddress",
      +      "parentLei",
      +      "ultimateParentLei",
      +      "domains",
      +      "aliases",
      +      "sources",
      +      "confidence"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, but the description adds meaningful behavior beyond them: the result may come from EU_VIES, CACHE, or SYNTAX_ONLY, and the tool has a pricing model with free calls and per-call cost. Disclosing the source fallback is especially useful because it signals that a result may not always be a live VIES check.

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?

The description is front-loaded with purpose and use cases, and most sentences earn their place. It is slightly long because the return-field list, idempotency note, and payment details go beyond the core selection guidance, but none of it is confusing or wasteful.

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?

Given a single required parameter, full schema coverage, an output schema, and rich annotations, the description is complete enough for correct invocation. It adds usage contexts, source behavior, and cost details without needing to re-explain return values that the output schema already covers.

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 schema already documents the single vatNumber parameter, including the country-prefix requirement. The description repeats the input format with an example but does not add validation rules or edge-case semantics beyond what the schema provides, making the baseline score of 3 appropriate.

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 states a specific verb and resource: validates an EU VAT number against VIES and returns registered name and address. This is clearly distinct from sibling tools such as verify_bank_payee, screen_sanctions, or check_vendor, so an agent can identify the tool's role 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 Guidelines4/5

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

It gives concrete usage contexts: validating a supplier invoice VAT ID, applying reverse charge on cross-border B2B sales, and confirming a vendor's VAT registration at onboarding. It does not name when-not-to-use cases or explicitly route the agent to alternatives such as batch_resolve for bulk VAT checks, so it falls short of full alternative guidance.

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.