Skip to main content
Glama

trace_ownership_path

Read-onlyIdempotent

Walk the ownership graph upward from a root entity to trace who ultimately controls it, returning ordered hops and depth-cap flags so intermediate holders aren't mistaken for the beneficial owner.

Instructions

Walk the ownership graph upward from a root entity and return the ordered hops connecting it to the ultimate beneficial owner. Use this to answer 'who ultimately controls X?'. Get the root id from search_entities. THE HOP AT THE TOP OF THE LIST IS NOT NECESSARILY THE ULTIMATE OWNER, AND max_depth IS A REQUEST, NOT A PROMISE. Measured 2026-08-11 anonymously: max_depth=6 came back as max_depth: 2, depth_capped: true, plan: 'free' — the walk stopped two hops up and the payload said so only in those two fields. So before you name a UBO, compare hop_count with the RETURNED max_depth and check depth_capped: if the walk was capped and the topmost owner still has owners, you have found an intermediate holder, not the beneficial owner. A paid API key walks deeper. Shape: a single flat hops array (each hop from/fromName/to/toName/role/share/source), not one array per branch. as_observed is a standing caveat: edges carry the date we OBSERVED them in a registry, not a validity period — we hold no ownership end dates, so a link shown here may already have ended.

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": {
      "root": "<root>"
    },
    "name": "trace_ownership_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootYesRoot entity id to trace from.
max_depthNoMax hops to request (default 6). The plan lowers it — anonymous callers measured at 2 — so trust the response's `max_depth` / `depth_capped`, not this value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description adds substantial behavior the agent could not otherwise know: plan-based depth capping, the measured anonymous case returning max_depth=2 with depth_capped=true, the rule that a paid key walks deeper, and the as_observed caveat that edges carry observation dates rather than validity periods.

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?

Front-loads the purpose and the UBO-verification warning, and each block carries real information. It is on the long side, and the plan-cap story is told twice (inline and in the caps-heavy caveat paragraph), which is slightly redundant given the schema already documents the plan lowering.

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?

With no output schema, the description takes on return-shape duty and does it: a single flat hops array with per-hop fields (from/fromName/to/toName/role/share/source), plus the hop_count, max_depth, and depth_capped fields needed to interpret results. The as_observed staleness caveat closes the remaining interpretive gap for a read-only graph walk.

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%, so the baseline is 3, and the description earns above it by reinterpreting max_depth as a request rather than a guarantee and telling the agent to trust the response's max_depth/depth_capped instead. It also frames root as an entity id sourced from search_entities rather than an arbitrary string.

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?

Names a specific verb and resource ('Walk the ownership graph upward from a root entity') and states the exact return ('ordered hops connecting it to the ultimate beneficial owner'). The 'who ultimately controls X?' framing plus a pointer to search_entities for the root id lets an agent separate it from generic graph traversal siblings like graph_path or graph_neighbourhood.

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?

Gives a clear use case ('who ultimately controls X?') and a prerequisite workflow step ('Get the root id from search_entities'), which is real routing guidance. It stops short of naming when NOT to use it or which sibling to pick for breadth-first neighbourhood exploration versus upward ownership chains, so it falls short of full alternative routing.

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