Skip to main content
Glama

Open Sanctions Search Entities

open_sanctions_search_entities
Read-onlyIdempotent

Search global sanctions, watchlists, and PEP (politically exposed persons) databases. Returns matched entities with names, countries, datasets, and sanctions details. Example: search_entities("Vladimir Putin") or search_entities("Huawei", schema="Company"). Requires your own OpenSanctions API key, passed as _apiKey.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Gazprom",
      "_apiKey": "your-opensanctions-api-key"
    },
    "name": "open_sanctions_search_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesName or keyword to search (e.g., "Gazprom", "Kim Jong")
schemaNoEntity type: "Person", "Company", "Organization", "Vessel", "Aircraft"
_apiKeyYesYour own OpenSanctions API key (BYO, Pipeworx does not supply one; OpenSanctions is a commercial service). Get one at opensanctions.org/api, free for non-commercial use, paid for commercial. For a keyless US sanctions/export-control screen, use the sanctions-screening pack (sanctions_screen) instead.
countriesNoComma-separated country codes (e.g., "ru,cn,ir")

Output Schema

NameRequiredDescriptionDefault
queryYesThe search query string provided
totalYesTotal number of matching entities
entitiesYesFormatted entity objects
returnedYesNumber of entities in this response

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your own OpenSanctions API key (BYO — Pipeworx does not supply one; OpenSanctions is a commercial service). Get one at opensanctions.org/api — free for non-commercial use, paid for commercial. For a keyless US sanctions/export-control screen, use the sanctions-screening pack (sanctions_screen) instead."New value: +"Your own OpenSanctions API key (BYO, Pipeworx does not supply one; OpenSanctions is a commercial service). Get one at opensanctions.org/api, free for non-commercial use, paid for commercial. For a keyless US sanctions/export-control screen, use the sanctions-screening pack (sanctions_screen) instead."
  2. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds genuine value by disclosing the BYO API key requirement and that OpenSanctions is a commercial service, but it says nothing about rate limits, result caps, or pagination on an open-world search.

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?

Four short sentences, front-loaded with purpose and return fields, then examples, then the key requirement. No filler, though the examples slightly duplicate the schema's own examples.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't detail return values, and it still summarizes the matched-entity fields. The key prerequisite (own API key, commercial service) is stated, leaving only edge-case behavior like result limits unaddressed.

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 coverage is 100%, so all four parameters are already documented with examples in the schema itself. The description restates only query and schema through examples and does not add meaning about countries filtering or _apiKey handling beyond what the schema already says; baseline 3 applies.

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?

States a specific verb and resource ('Search global sanctions, watchlists, and PEP databases') plus what is returned. The 'search entities' framing plus concrete query examples makes it distinguishable from open_sanctions_get_entity, which by name implies single-record retrieval.

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 is implied through examples ('Vladimir Putin', 'Huawei' with schema="Company"), showing both free-text and typed search. However, the description itself gives no explicit when-to-use versus when-not guidance and never names a sibling alternative; the keyless alternative (sanctions_screen) is mentioned only inside the _apiKey schema field, not the description.

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.