Skip to main content
Glama

Net Interest Margin Analysis

margin_analysis
Read-onlyIdempotent

The net interest margin taken apart: each earning asset's balance, yield and contribution, each funding line's balance and cost, what moved the margin by volume and rate, history and peers, with each line's MDRM codes. (Source: FFIEC Call Report Schedules RI and RC-K (BankRegReports).) Dollar amounts are in thousands of US dollars ($000s); ratios are percentages.

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": {
      "rssd_id": "<rssd_id>"
    },
    "name": "margin_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
peersNoComma-separated RSSD ids for a custom peer list.
rssd_idYesFederal Reserve RSSD id.
quartersNoQuarters of history, 1 to 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description correctly spends its budget on what annotations cannot say: the upstream data source (FFIEC Call Report Schedules RI and RC-K via BankRegReports) and the units contract — dollars in $000s, ratios in percentages. That unit disclosure is materially useful for interpreting results. It does not mention cost, latency, or whether peer comparison requires a minimum number of peer RSSD ids.

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?

The core purpose is front-loaded in the opening clause, and the two follow-on parentheses carry source and unit facts that genuinely cannot be inferred elsewhere. The first sentence is long and list-heavy, bordering on a run-on, but no clause is wasted.

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?

With no output schema, the description must carry the return shape — and it does, by enumerating the asset-side, funding-side, attribution, history/peer, and MDRM components. Combined with the units contract and source citation, an agent has enough to call and interpret it. It stops short of describing the response's nesting or how peers are surfaced in the payload.

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%, so all three parameters (rssd_id, quarters, peers) are already documented, including the 1–20 range and the comma-separated peer format. The description adds no parameter-specific semantics beyond an oblique reference to 'history and peers'; its unit statement clarifies output values rather than parameter meaning. Baseline 3 applies.

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?

Names the specific resource (net interest margin) and enumerates the exact decomposition it returns: asset balance/yield/contribution, funding balance/cost, volume/rate attribution, history and peers, plus MDRM codes. An agent can tell this is a NIM attribution tool rather than a generic profitability report. It does not explicitly differentiate itself from the sibling profitability_analysis or peer_analysis tools, which keeps it below a 5.

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

Usage Guidelines3/5

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

Usage is only implied by the content list: the presence of 'history and peers' hints that the quarters and peers parameters are optional enrichments, but nothing states when to choose this tool over profitability_analysis or bank_peer_ranking. No prerequisites, exclusions, or alternative routing is given.

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.

Resources