Skip to main content
Glama

Bosco Labs: official records for AI agents

EU VAT Number Validation (VIES) & IBAN Validator API

check_vat_iban
Read-onlyIdempotent

Answers "is this EU VAT number registered, to whom, and is this IBAN real?" One row per VAT number, checked live against the European Commission's VIES service (valid, registered name and address, a name match against the company you expect), and one row per IBAN, checked against ISO 13616 (check digits, length and layout per country, bank code, country match).

It checks the numbers only: for who the company is, and whether it is sanctioned or insolvent, use check_counterparty.

Inputs: pass vatNumbers (with their country prefix), ibans, or both; each number is one row. expectedName is compared with the name VIES has on file for each VAT number (name_match); expectedCountry with the country of every number, VAT and IBAN (country_match). requesterVatNumber is your own VAT number: VIES then returns a consultation number, proof that you checked.

Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.

Price: $0.002 per check.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_vat_iban"
  }
}

Input Schema

NameRequiredDescriptionDefault
ibansNoIBANs to validate (check digits, length and layout per country, bank code), in electronic or print format, e.g. ["NL91ABNA0417164300", "DE89 3704 0044 0532 0130 00"]
vatNumbersNoEU VAT numbers to check live against VIES, each with its country prefix, e.g. ["IE6388047V", "NL004495445B01"]
expectedNameNoThe company name you expect behind the VAT numbers, e.g. "Google Ireland Ltd"
expectedCountryNoISO 3166 alpha-2 code of the country you expect, e.g. "NL"
requesterVatNumberNoYour own EU VAT number, e.g. "NL123456789B01"

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the supplied readOnly/idempotent/openWorld annotations: publishes per-row pricing ($0.002 per check), a 55 s timeout with free failures, rate limits (60/min, 10 on a new free key) with retry guidance, and partial-failure behavior where the rest of the result still returns with `warnings`. Minor details such as VIES returning a consultation number as proof of consultation further inform behavior.

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-loads the core question, then inputs, then behavior and pricing in clearly separated paragraphs, so scanning is easy. It is on the longer side and the pricing sentence repeats the per-row unit, but nearly every sentence carries operational information.

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?

Covers the full picture for a paid, multi-source validator: what is checked, what happens on partial failure, cost model, latency ceiling, rate limits, and where to go for a different question. An output schema exists, so not spelling out the response shape is appropriate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: `expectedName` maps to a name_match comparison against VIES records, `expectedCountry` yields country_match for both VAT and IBAN rows, `requesterVatNumber` produces a consultation number, and each number produces one row. It does not restate patterns or format rules the schema already carries.

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?

Opens with a concrete question it answers ("is this EU VAT number registered, to whom, and is this IBAN real?") and names the exact sources: live VIES lookup for VAT numbers and ISO 13616 checks for IBANs. It explicitly separates itself from check_counterparty, so an agent can distinguish it from siblings without reading a 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?

States the decision boundary explicitly: "for who the company is, and whether it is sanctioned or insolvent, use check_counterparty," while this tool "checks the numbers only." It also tells the caller they may pass vatNumbers, ibans, or both, which resolves the main invocation ambiguity.

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.