Skip to main content
Glama

Kaleidoscope MCP (SEC & financial data)

Securities Lending Borrowers (which dealers borrow from which funds, N-PORT)

sec_lending_borrowers
Read-onlyIdempotent

Securities lending: which dealers borrow from which funds, from SEC N-PORT (each fund lists its securities-lending borrowers, with LEI and value on loan), 2019 to the latest quarter. Three entry points:

  • no borrower / fund: top borrowers ranked by value on loan across all reporting funds, with n_funds, n_fund_families and share of the total.

  • borrower (dealer name or LEI, e.g. 'Goldman Sachs', 'BARCLAYS BANK PLC'): the dealer's lending funds ranked by value, plus its quarterly history (history).

  • fund (series id S000... or fund name, e.g. 'Fidelity 500 Index'): the fund's borrowers at its latest report, plus quarterly history.

As-of: N-PORT reports are staggered by fund fiscal quarter, so one month-end covers only some funds. as_of (default: latest data) means each fund's latest report in the 92 days ending as_of, so every reporting fund counts once. as_of_effective and window say what was used. Each fund row carries report_date and the N-PORT accession / filing_url (open with get_filing). Borrowers without an LEI are keyed by name, so one dealer can appear under two names (e.g. 'BofA Securities, Inc.' and 'BANK OF AMERICA SECURITIES INC'); other_matches lists the alternatives for a name lookup. Values are USD on loan as the fund reported it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
fundNoFund series id (S000...) or fund name (substring).
as_ofNoYYYY-MM-DD; default the latest report date.
limitNoRows to return, 1-200.
borrowerNoDealer name (substring) or 20-char LEI.
history_quartersNoQuarters of history for borrower / fund lookups, 0-28.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnly/idempotent/non-destructive; the description goes well beyond that by explaining the staggered N-PORT fiscal-quarter reporting and the 92-day lookback that makes each fund count once, plus the `as_of_effective`/`window` diagnostics. It also discloses a real data hazard — LEI-less borrowers keyed by name causing duplicate dealer identities, with `other_matches` as the remedy — and points at accession/filing_url for follow-up.

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?

It is front-loaded with the purpose in bold and organized into bulleted modes plus an 'As-of' and a data-caveat paragraph, so an agent can skim. It is on the long side and the borrower-name-collision note could be tighter, but every sentence carries operational information rather than filler.

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 still states what each mode returns (ranked lists with n_funds, n_fund_families, share of total, per-fund `report_date`, accession/filing_url) and how values are denominated (USD on loan as reported). For a five-parameter, zero-required analytics tool, nothing essential for correct invocation 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 coverage is 100%, so the baseline is 3; the description still adds meaning by giving literal examples for `borrower` ('BARCLAYS BANK PLC') and `fund` ('Fidelity 500 Index'), clarifying the LEI-vs-name ambiguity, and explaining the 92-day semantics of `as_of` far beyond the schema's 'default the latest report date'. Only `limit` and `history_quarters` are left entirely to the schema.

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 names a specific resource (securities-lending borrowers from SEC N-PORT) and a concrete verb-like pivot (top borrowers / a dealer's lending funds / a fund's borrowers), with the source dataset and date coverage in the first sentence. An agent can distinguish this from siblings like get_filing or adv_private_funds without opening the schema.

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

Usage Guidelines5/5

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

It explicitly enumerates the three entry points and states which parameter (none, `borrower`, `fund`) triggers each, plus what each returns. This is exactly the when-to-use routing an agent needs, expressed as mutually exclusive modes.

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