Skip to main content
Glama

Counterparty Check (add-on)

counterparty_check
Read-onlyIdempotent

Optional add-on: a one-call bundle of sourced facts. Give any of a company name, domain, LEI or crypto wallet address (plus an optional EU VAT number) and get: a name screen on the OFAC, EU and UK lists with UN designations flagged, US federal exclusions (SAM.gov debarments and suspensions of firms, by name or UEI), an OFAC wallet check, a GLEIF LEI match and status, domain age, registrar and email-auth, and an EU VAT number format check (format only, not a registry lookup). A name screen needs fresh OFAC, EU and UK lists (48-hour check window each) and returns 503 before payment if any of those is stale. Domain-only, address-only and UEI-only checks do not require the EU or UK lists. Each fact carries its source, retrieval time and limits. Evidence only: no risk score or verdict; not a compliance determination. Signed receipt. Price: $0.01 per call via x402 (USDC on Base or XRP on XRPL). The response includes a provenance block (sg-provenance/1): each fact carries its source, source URL, retrieval time and limits; evidence only, no score, rating or verdict. Example arguments: {"name":"Siemens Aktiengesellschaft","domain":"siemens.com","vat":"DE129274202"}.

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": "counterparty_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
leiNo20-character LEI (instead of a GLEIF name search)
ueiNo12-character SAM.gov Unique Entity ID: exact match in the SAM.gov exclusions extract (name= is also matched there)
vatNoEU VAT number with 2-letter country prefix (EL for Greece, XI for Northern Ireland); format check only, not a VIES registration check
nameNoCompany legal or trading name: screened on OFAC, EU and UK sanctions lists and SAM.gov exclusions (entities only) and matched in GLEIF
domainNoCompany domain: registration age, registrar, DNS and email-auth facts
addressNoCrypto wallet address to check against OFAC-listed addresses
countryNoISO 3166 alpha-2 country filter for LEI matches

Output Schema

NameRequiredDescriptionDefault
dataNoSourced facts[] plus sanctions, us_exclusions (SAM.gov), wallet, lei, domain and vat sections; each section says whether it was checked and why not
receiptNoEd25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt. New receipts carry a signed `evidence` object: service_version, data_timestamp, validation, terms_version, terms_hash, provenance_hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only cover readOnly/openWorld/idempotent/non-destructive), the description discloses pricing ($0.01 per call via x402, USDC on Base or XRP on XRPL), a concrete failure mode (503 returned before payment when any required list is stale, with a 48-hour window per list), and that a signed receipt is produced. It also sets expectations about the evidence-only posture with no risk score or verdict, which materially affects how an agent should interpret and relay results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded and dense with useful detail, but the provenance information is duplicated nearly verbatim ('Each fact carries its source, retrieval time and limits' appears twice, the second time expanded). Since an output schema exists, the detailed re-explanation of the return payload is partly redundant, and the trailing example could have been left to the schema's own examples.

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 7-parameter, zero-required, open-world, paywalled aggregation tool, the description covers everything an agent needs before calling: what facts come back, cost and payment rails, the stale-list precondition and its error code, and that outputs are evidence with no verdict. With a full output schema and rich annotations already present, no material gap remains.

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% and each parameter is already well documented, so the baseline is 3. The description earns above that by explaining the combination logic ('Give any of a company name, domain, LEI or crypto wallet address, plus an optional EU VAT number'), tying input shape to which underlying lists must be fresh, and supplying a worked example object. It stops short of 5 because it does not clarify what happens with multiple identifiers supplied at once (union of facts vs. priority).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific framing ('a one-call bundle of sourced facts') and then enumerates exactly which facts are returned: OFAC/EU/UK name screen, UN designations, SAM.gov exclusions, OFAC wallet check, GLEIF LEI match, domain age/registrar/email-auth, and EU VAT format check. That is a clear verb+resource statement an agent can act on. It loses the top score because it never names the sibling tools it aggregates (sanctions_screen, lei_lookup, domain_facts, sanctions_address), so an agent must infer the bundling relationship from the descriptions of those other tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage context is implied rather than stated: 'Optional add-on' suggests it is not the default path, and the note that 'Domain-only, address-only and UEI-only checks do not require the EU or UK lists' tells the agent which input shapes avoid list-freshness risk. However, there is no explicit when-to-use-this-vs-siblings guidance, no statement of when a single-fact tool would be preferable, and 'optional add-on' is never resolved into a concrete condition.

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.

Resources