Skip to main content
Glama

compute_group_ownership

Read-only

Computes the EFFECTIVE OWNERSHIP (look-through / economic transparency) of a block of the group: "who really owns how much of the sub-subsidiary, going up the whole chain?". Goes up the ownership links and the assignments of people, multiplies the % along each path and sums the paths. ⚠️ ONLY dependencies of type business count as a stake in the capital (structured shares %, or % written in the label): a structural dependency is a HIERARCHY arrow, visual, and stays ignored even if it carries shares — otherwise a containment arrow would make a holder appear that is not one. A stake is therefore modeled with add_dependency({type:'business', shares}). Returns the sorted ultimate holders (people and entities without a holder), their detailed paths, and data-quality notes (links with a % ignored for not being business, unstructured labels, cut cross-holdings, total ≠ 100%). READ-ONLY — it does not modify the schema. Fits whenever an effective %, a transitive ownership, or "who controls X" is asked.

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": {
      "targetCellId": "<targetCellId>"
    },
    "name": "compute_group_ownership"
  }
}

Input Schema

NameRequiredDescriptionDefault
minPctNoFilter: returns only the effective holders above this threshold (in %).
targetCellIdYesID of the block (company/subsidiary) whose effective ownership table is wanted.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / minPct / description
      Previous value: -"Filtre : ne retourne que les détenteurs effectifs au-dessus de ce seuil (en %)."New value: +"Filter: returns only the effective holders above this threshold (in %)."
    • changedInput schema / properties / targetCellId / description
      Previous value: -"ID du bloc (société/filiale) dont on veut la table de détention effective."New value: +"ID of the block (company/subsidiary) whose effective ownership table is wanted."
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, and the description goes well beyond that: it explains the look-through algorithm, the critical rule that only `business` dependencies count as capital stakes while `structural` hierarchy arrows are ignored even if they carry shares, and it enumerates the data-quality notes returned (ignored links, unstructured labels, cut cross-holdings, totals ≠ 100%). The 'READ-ONLY' restatement is redundant, but the business/structural distinction is substantive behavioral context an agent could not infer from annotations or schema.

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?

Content is front-loaded: purpose and algorithm first, then the critical business/structural caveat, then return contents and fit. Every sentence carries information, though the all-caps emphasis and emoji are stylistically noisy and the 'READ-ONLY — it does not modify the schema' line duplicates the readOnlyHint annotation.

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?

For a read-only computation tool with no output schema, the description does the work of describing returns: sorted ultimate holders, their detailed paths, and specific data-quality notes. Combined with full schema coverage and safety annotations, an agent has everything needed to call it correctly.

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%, with targetCellId, minPct, and expectedProjectId all documented in the schema itself. The description reinforces the notion of a 'block (company/subsidiary)' as the target and mentions thresholds implicitly, but adds no syntax, defaults, or semantics beyond the schema. 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?

The description states a specific verb and resource ('Computes the EFFECTIVE OWNERSHIP ... of a block of the group') and immediately defines the computation as path multiplication up the chain. The parenthetical '(look-through / economic transparency)' and the question 'who really owns how much of the sub-subsidiary' make the tool's distinct role recognizable against a direct-ownership sibling without needing its schema.

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?

It gives an explicit fit condition: 'Fits whenever an effective %, a transitive ownership, or "who controls X" is asked.' That is clear when-to-use guidance. It does not name a competing tool or state when-not to use it, so it stops short of full routing guidance.

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.