Skip to main content
Glama

Sanctions screening: OFAC, UK, EU, UN

Counterparty Check API: KYB, sanctions screening, insolvency

check_counterparty
Read-onlyIdempotent

Can I do business with this company? One call checks a supplier, customer or partner against official sources and returns a checklist: pass, fail, review or unverified per check, each with its source link and time. To screen a vendor list, pass up to 10 companies in companies: one checklist per company, same price each.

For names or crypto wallets against sanctions lists only, use screen_sanctions ($0.01).

Inputs: query for one company, or companies for up to 10 (a name or number each, or an object with these same fields). country narrows a name search to one register. vatNumber, iban and walletAddresses are the details the counterparty gave you: each adds a check (VAT registered to this company, IBAN valid and in its country, wallets not sanctioned); leave out what you do not have.

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.05 per counterparty-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_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
ibanNoThe bank account the counterparty wants to be paid on, e.g. "DK5000400440116243"
queryNoThe counterparty to check: a name (e.g. "Novo Nordisk") or an identifier: LEI
countryNoISO 3166 alpha-2 country code to disambiguate, e.g. "DK", "GB", "NO", "FR", "FI", "EE", "IE", "CZ", "LV", "LT", "SK", "SE", "BE", "NL", "US"
companiesNoCheck a list of companies in one run instead of `query`: up to 10 companies, each a name or number ("Tesco PLC") or an object with the fields above
vatNumberNoThe VAT number the counterparty gave you, with its country prefix, e.g. "DK24256790"
walletAddressesNoWallet addresses the counterparty wants to be paid on, e.g. ["0x7FF9cFad3877F21d41Da833E2F775dB0569eE3D9"]

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / country / examples
      Added value: +[
      +  "DK"
      +]
    • addedInput schema / properties / query / examples
      Added value: +[
      +  "24256790"
      +]
    • addedInput schema / properties / vatNumber / examples
      Added value: +[
      +  "DK24256790"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "balance_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "charged_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "duration_seconds": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "candidates": {
      +            "description": "Only when status is ambiguous: companies that fit the name.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "charged": {
      +            "description": "False for ambiguous and failed rows and for a checked row with `failed_sources`.",
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "checks": {
      +            "description": "The checklist: check, status (pass, fail, review, unverified), detail, source, source_url, checked_at.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "company": {
      +            "additionalProperties": true,
      +            "description": "Identity from the register and GLEIF, with a source URL per value.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "failed_sources": {
      +            "description": "Sources we asked that timed out, failed or could not be read, so their data is missing. Not empty = not charged. A source named with \"(... on our side)\" or \"(our copy is out of date)\" is our fault: asking again does not help until we fix it. Includes \"VIES\" when VIES could not verify the VAT number (the `vatNumber` you gave, or else the one the register lists). Filled on checked rows and on a `failed` row of the HTTP API that was not checked because the free partial answers for the day were used up; empty on other `failed` rows, whose `message` says why.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "iban": {
      +            "additionalProperties": true,
      +            "description": "IBAN structure and country result.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "insolvency": {
      +            "additionalProperties": true,
      +            "description": "The insolvency section of the company report the check rests on: UK Gazette notices, Polish KRS proceedings, French, German or Dutch notices, or for a US company the Form 8-K reports of its SEC registrant read for Item 1.03 Bankruptcy or Receivership (`notices`, `covers_from`, `covers_to`, `registrant`, `reporting`, `later_event`). null when no insolvency source was read.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "latest_financials": {
      +            "additionalProperties": true,
      +            "description": "Newest fiscal year's key figures with basis and source.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "message": {
      +            "description": "Why a row is ambiguous, failed or not charged, and what to do next. Absent on a charged row.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "notice": {
      +            "description": "Screening aid, not a compliance, credit or legal determination.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "people": {
      +            "additionalProperties": true,
      +            "description": "Officers, shareholders and beneficial owners the national register names (UK, PL, NO, FR, CZ, EE, LV, SK).",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "query": {
      +            "description": "The input as given.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "retrieved_at": {
      +            "description": "When the check ran (UTC).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "sanctions": {
      +            "additionalProperties": true,
      +            "description": "entity (the company's screening row; `identifier_matches`: listings that carry the company's own registration number or LEI), people_with_matches (also a match that the sanctions_people check sets aside: a French or Norwegian company officer, with its SIREN or organisation number, that only partly matches listings of other countries; the check's detail names it), people_screened.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "sanctions_hits": {
      +            "description": "Only when no single company was resolved (ambiguous or failed rows): sanctions listings matching the name asked for or a candidate's name (screened_name, listed_name, list_name, entry_id, score 0-100, source_url), screened free. Empty when none matched. null when the name was not screened: on the API these free screens count against the key's daily free partial answers, and past them `message` says so (use sanctions-screening); also null on a row not checked past that allowance.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "source_url": {
      +            "description": "The main identity source.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "status": {
      +            "description": "checked; ambiguous (candidates returned, nothing charged); failed (not checked, nothing charged; on the HTTP API also a company with a failed source once the caller's free partial answers for the day are used up).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "summary": {
      +            "additionalProperties": true,
      +            "description": "Counts per status, needs_attention (fail and review checks) and unverified_checks.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "us_listing": {
      +            "additionalProperties": true,
      +            "description": "SEC registrant data when the company files with the SEC.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "vat": {
      +            "additionalProperties": true,
      +            "description": "VIES result for the VAT number.",
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "wallets": {
      +            "description": "Wallet address screening rows.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "warnings": {
      +            "description": "Sources that failed or were partly read.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "rows",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, and the description adds behavior those annotations cannot convey: per-row billing, free on failure or timeout (55 s), partial results with `warnings` naming a non-responding source, and a 60/min rate limit (10 on a new free key) with a ~10-second retry and a rate_limited free refusal. That is exactly the operational context an agent needs before committing to a paid call.

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 decision question and the outcome shape, then grouped into alternatives, inputs, and operational constraints — well structured and dense. Minor redundancy: pricing is stated both as 'charged per row returned, at the price below' and again as a trailing '$0.05 per counterparty-check' line, which repeats the billing point.

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?

For a 6-parameter, paid, open-world lookup with an output schema, everything an agent needs to call it correctly is present: input alternatives, optional detail fields, cost, failure and partial-failure semantics, timeout, and rate limits. Return-value shape is not over-explained, which is right given the output schema exists.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description adds meaning beyond it: `query` vs `companies` are framed as alternatives (one company vs up to 10), `country` is described as narrowing a name search to one register, and each detail field is tied to the check it triggers (VAT registered to this company, IBAN valid and in its country, wallets not sanctioned). That explains consequences of parameter choices, not just formats.

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 user question and states a specific verb+resource: one call checks a supplier, customer or partner against official sources and returns a pass/fail/review/unverified checklist. It explicitly distinguishes itself from the sibling screen_sanctions (sanctions-only screening) and covers the batch mode in the same breath, so an agent can tell it apart without opening 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?

Names the alternative explicitly with a condition ('For names or crypto wallets against sanctions lists only, use screen_sanctions ($0.01)') and explains when to switch to batch screening ('To screen a vendor list, pass up to 10 companies'). It also tells the agent to omit detail fields it does not have, which is real exclusion guidance rather than implied usage.

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.