Skip to main content
Glama

Nic Get Hierarchy

nic_get_hierarchy
Read-onlyIdempotent

Corporate ownership hierarchy for a bank or holding company, sourced from the Federal Reserve NIC (ffiec.gov/npw) Relationships data, "which holding company owns this bank?" / "list the subsidiaries of this BHC". direction="up" (default) walks the ownership chain to its top holder(s), for a bank subsidiary this typically resolves to a single ultimate parent (e.g. a bank holding company). direction="down" lists entities OWNED BY the given RSSD ID; pass rssd_id of the TOP-TIER parent (found via direction="up") to get the full corporate family. total_subsidiary_count is a DISTINCT count computed in SQL (deduped by RSSD ID across multiple ownership paths to the same subsidiary), it is always the true total, independent of limit/offset; use offset to page beyond the first limit rows. Coverage note: this is our own computed closure over NIC's public Relationships file, not necessarily identical to NIC's own web UI tiering figure, see pack README.

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": {
      "rssd_id": 852218,
      "direction": "up"
    },
    "name": "nic_get_hierarchy"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoFor direction="down": max subsidiary rows to return, 1-200, default 50 (total_subsidiary_count is always the true distinct total, not the page size)
offsetNoFor direction="down": pagination offset into total_subsidiary_count, default 0
rssd_idYesNIC RSSD ID to start from
directionNo"up" (ancestors/owners, default) or "down" (subsidiaries/descendants)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the description earns credit for added context instead: it discloses that results are a computed closure over the public Relationships file and may differ from NIC's own UI tiering, and it explains that total_subsidiary_count is a SQL DISTINCT count unaffected by limit/offset. It doesn't describe return fields or rate limits, keeping it below a 5.

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-loaded with purpose and the direction semantics, then supporting caveats. Some phrasing is dense and mildly redundant (total_subsidiary_count's independence from limit/offset appears in both prose and schema), but nearly every sentence carries useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema and four parameters, the description covers direction, pagination, count semantics, and provenance caveats well, but it never says what a result row contains (entity name, RSSD ID, relationship type), which an agent needs to interpret output. Adequate but with a clear gap.

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 the baseline is 3, but the description goes beyond the schema by explaining the up/down direction semantics, the requirement that rssd_id be the top-tier parent for a full family listing, and how offset relates to total_subsidiary_count. This adds real meaning rather than restating field docs.

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?

Specific verb+resource: retrieves the corporate ownership hierarchy for a bank or holding company from NIC Relationships data, and it frames the resource with the user questions it answers ("which holding company owns this bank?"). It doesn't explicitly distinguish itself from siblings such as nic_get_institution, but the ownership-hierarchy scope is unambiguous.

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 concrete workflow guidance: use direction="up" (default) for ancestors, direction="down" for entities owned by the given RSSD, and pass the TOP-TIER parent's RSSD ID (found via direction="up") to get the whole family. It does not state when to pick a different tool instead, so it stops short of a 5.

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.