Skip to main content
Glama

Get Entity

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.

Input Schema

TableJSON 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

TableJSON 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

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive behavior, so the bar is lower. The description adds useful behavioral context beyond annotations by stating the API key requirement and enumerating the categories of returned data, including names, addresses, identifiers, sanctions programs, and related entities.

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

Conciseness5/5

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

The description is two tight sentences with no filler: the core purpose is front-loaded, followed by return value highlights and the critical API key requirement. Every sentence contributes necessary information.

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?

The tool is well-covered by the annotations (read-only, idempotent) and has an output schema, so the description does not need to explain return payloads. It covers the required inputs, authentication, and result scope; a minor gap is not explicitly pointing to search_entities or resolve_entity for cases where the ID is not yet known, though this is implied.

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?

The input schema already covers both parameters with 100% coverage, including an example ID and a detailed explanation of the _apiKey field. The description adds no additional parameter semantics, so the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: 'Get full details for a sanctioned entity by its OpenSanctions ID.' It clearly conveys that this is a by-ID lookup returning comprehensive properties, which distinguishes it from search-oriented or comparison siblings like search_entities, resolve_entity, and compare_entities.

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

Usage Guidelines4/5

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

The description implies the correct use case: when you already have an OpenSanctions ID and need full entity details. The _apiKey parameter description adds an explicit alternative for keyless scenarios, directing users to the sanctions_screen pack, which provides a when-not-to-use signal.

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.

TDQS

A3.6/5.0
Disambiguation2/5

Multiple tools have overlapping purposes, especially the ask_pipeworx variants (ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, bet_research) which all serve to query data but with subtle differences. An agent would struggle to distinguish which to use without deep understanding of their nuances.

Naming Consistency3/5

Most tool names follow a verb_noun or noun_noun pattern in snake_case, but there are exceptions like 'forget', 'recall', 'remember' which are single verbs, and names like 'ask_pipeworx' mix verb and proper noun. Overall pattern is discernible but not uniform.

Tool Count2/5

33 tools is high for a server named 'Open Sanctions' which implies a focused domain. The tool set spans sanctions, meta-querying, prediction markets, memory, subscriptions, and more, making it feel bloated and unfocused relative to the server's name.

Completeness2/5

For a sanctions server, only two tools (search_entities, get_entity) directly address the domain, missing obvious operations like update, delete, or list. Many tools are unrelated to sanctions, leaving the core domain incomplete.