Skip to main content
Glama

check_offshore_exposure

Read-onlyIdempotent

Walk an entity's ownership chain upward and flag each sanctioned or secrecy-jurisdiction hop; returns a 4-state verdict to guide risk branching.

Instructions

Walk the ownership chain upward from an entity and flag, hop by hop, whether each node is sanctioned and/or sits in a secrecy jurisdiction (classic tax-haven / offshore-secrecy country). Returns the chain, the flagged hops, and a structured 4-state verdict — BRANCH ON verdict, NOT on exposed. States: no_ownership_data (we hold zero ownership edges from this entity — NOT a clean verdict, exposure cannot be evaluated), flagged (a sanctioned or secrecy-jurisdiction hit sits on the walked chain), checked_to_max_depth_truncated (walk reached the depth cap with more chain above — a flagged owner may still sit higher, NOT clean), checked_full_clean (the walk ran out of chain before the cap, no flag). Also returns depth_walked (how deep the walk actually reached) and depth_capped. READ depth_capped EVEN WHEN THE VERDICT IS checked_full_clean, because the two co-occur. Measured 2026-08-11 anonymously with max_depth=6: verdict: 'checked_full_clean', depth_walked: 1, depth_capped: true, plan: 'free'. depth_capped: true means A CAP WAS IN FORCE, not that the cap necessarily bit — here the chain genuinely ended after one hop, below the free plan's 2-hop ceiling. The honest report of that response is 'clean over the one hop of ownership we hold, on a walk a free key limits to two', which is what the payload's own note says in prose. Never promote checked_full_clean to 'no offshore exposure' without quoting depth_walked. Anonymous callers walk at most 2 hops however high you set max_depth. Legacy exposed boolean is retained but is only meaningful when verdict='flagged'. Get the id from search_entities or lookup_by_identifier.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "check_offshore_exposure"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity id to assess.
max_depthNoMax ownership hops to request (default 6). Anonymous callers are capped at 2 — read `depth_walked` in the response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare the safe-read profile (readOnly, idempotent, non-destructive, open-world), and the description goes well beyond that: it enumerates the four verdict states, explains that `no_ownership_data` and truncation states are NOT clean verdicts, warns that `depth_capped` can co-occur with `checked_full_clean`, discloses that anonymous callers are capped at 2 hops regardless of max_depth, and notes that the legacy `exposed` boolean is only meaningful under `flagged`. That is exactly the plan-limit and false-negative context an agent needs before reporting a result.

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 purpose is front-loaded in the first sentence, which is good. But the text is long for a two-parameter tool and repeats itself: `depth_capped` is explained, then re-explained with a worked example, and the 'don't promote checked_full_clean to no exposure' point appears twice in different phrasings. The measured 2026-08-11 payload is useful but could be compressed without losing the caveat.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does so thoroughly: the chain, the flagged hops, the four-state `verdict`, `depth_walked`, `depth_capped`, and the deprecated `exposed`. Given the tool's real complexity (multi-hop graph walk with plan-based truncation and false-negative risk), nothing essential is missing.

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 description coverage is 100%, so `id` and `max_depth` are already documented, including the anonymous 2-hop cap in the schema itself. The description adds value beyond the schema by telling the agent where to obtain `id` and by emphasizing that `depth_walked`/`depth_capped` in the response must be read alongside `max_depth`, effectively linking the parameter to the observable outcome.

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 verb and resource: 'Walk the ownership chain upward from an entity and flag, hop by hop, whether each node is sanctioned and/or sits in a secrecy jurisdiction.' That tells an agent exactly what the tool computes and what it returns. It does not, however, distinguish this tool from plausible siblings like trace_ownership_path or get_sanctions — the only sibling references (search_entities, lookup_by_identifier) are about sourcing the id, not about choosing this tool over another.

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 use case is clear — assess onward ownership exposure / offshore secrecy risk — and the description states a prerequisite: 'Get the id from search_entities or lookup_by_identifier.' It also gives strong guidance on interpreting the result ('BRANCH ON `verdict`, NOT on `exposed`'). What it lacks is explicit when-not-to-use guidance or a named alternative for chain-tracing-only or sanctions-listing-only needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.