Skip to main content
Glama

Open Sanctions Get Entity

open_sanctions_get_entity
Read-onlyIdempotent

Get full details for a sanctioned entity by its OpenSanctions ID. Returns all properties including names, addresses, identifiers, sanctions programs, and related entities. 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": {
      "id": "Q7747",
      "_apiKey": "your-opensanctions-api-key"
    },
    "name": "open_sanctions_get_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOpenSanctions entity ID (e.g., "Q7747")
_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.

Output Schema

NameRequiredDescriptionDefault
idYesOpenSanctions entity ID
namesYesKnown names for this entity
notesYesAdditional notes about entity
scoreYesSearch relevance score
schemaYesEntity type (Person, Company, Organization, Vessel, Aircraft)
targetYesWhether entity is a sanctions target
topicsYesAssociated topics/categories
captionYesEntity display name
datasetsYesDatasets this entity appears in
positionYesPosition held if applicable
countriesYesAssociated country codes
last_seenYesDate entity last appeared
birth_dateYesBirth date if Person
first_seenYesDate entity first appeared
last_changeYesDate of last data change
nationalityYesNationalities

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.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower. The description adds real context beyond them: it returns all properties, and it requires a user-supplied commercial API key that Pipeworx does not provide. It does not mention rate limits, failure behavior for unknown IDs, or response shape specifics.

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?

Three short sentences, front-loaded with purpose before return contents and prerequisites. The API key sentence overlaps with the schema's far more detailed _apiKey description, but nothing is padded and no sentence is wasted.

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?

An output schema exists, so return values need not be spelled out, and the safety annotations are complete. The main remaining gap is that the description never says the required ID typically comes from a prior search_entities call, which is the one piece of workflow context an agent needs to call this successfully.

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%, and the schema already documents both parameters in depth, including where to obtain the API key and the keyless alternative. The description's sentence about _apiKey largely restates the schema, adding no new semantic detail, so the baseline 3 applies.

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?

States a specific verb and resource: 'Get full details for a sanctioned entity by its OpenSanctions ID.' This clearly separates a single-entity lookup from search-style siblings, though the description never names a sibling to contrast with explicitly.

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 rather than stated: it only works with an OpenSanctions ID, which tells an agent it must already have an identifier, and it declares the BYO API key prerequisite. There is no explicit statement of when to prefer this over open_sanctions_search_entities or the sanctions_screen alternative, aside from that alternative appearing only in the schema's _apiKey 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.