Skip to main content
Glama

Kaleidoscope MCP (SEC & financial data)

Private Credit Flow (seniority / spread / deal-type pulse by month, w/ breakdown) [beta]

mars_private_credit_flow
Read-onlyIdempotent

Aggregate private-credit deal flow as a time series — "what's the private-credit pulse this quarter, and how are spreads moving on senior-secured vs mezzanine?" A window into a market public HY spreads can't see (94K deals from BDC schedules + direct originations + fund raises).

Required: from_date + to_date (max 20-year window) + bucket (week|month|quarter|year). Optional: seniority ('first_lien_senior_secured' / 'first_lien_unitranche' / 'second_lien' / 'subordinated' / 'mezzanine'), deal_type ('direct_loan_origination' / 'portfolio_disclosure_bdc' / 'fund_raise'), lender_investor_id (UUID), breakdown_by (seniority|deal_type|lender|benchmark_rate), include_spreads (default true — adds median cash + PIK coupon bps per bucket), include_bdc_holdings (default false), pit_gate_on + as_of.

Contracts: (1) include_bdc_holdings defaults false — BDC quarterly disclosures (87.5% of rows) re-report the SAME held loan every quarter and would massively inflate flow totals; the default filters them to leave direct originations + fund raises. Set true only for a stock (held-book) view, never for flow. (2) principal_usd is native USD (BDC + SEC forms file in USD — no FX conversion). (3) integrity_tier verified/vouched only. (4) coupon coverage is partial (cash ~79%, PIK ~12%) — medians are over populated rows only.

PIT: pit_gate_on = 'announcement_date' (default — the deal's real timeline, best for descriptive series) OR 'first_seen_at' (leak-free — when the deal became knowable in the corpus; use this for honest backtests, but note it has a coverage cliff at the ingest date). as_of gates the chosen column <= as_of.

Note: industry cut is NOT available — industry_group_type is ~0.4% populated on this table (flagged to mars). Not summable with mars_sector_funding_flow / mars_form_d_flow.

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": {
      "from_date": "<from_date>",
      "to_date": "<to_date>",
      "bucket": "<bucket>"
    },
    "name": "mars_private_credit_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoISO 8601 UTC PIT gate on the pit_gate_on column. Default now().
bucketYesBucket size. Required.
to_dateYesYYYY-MM-DD. Required. Must be > from_date; max 20-year window.
deal_typeNodirect_loan_origination / portfolio_disclosure_bdc / fund_raise.
from_dateYesYYYY-MM-DD. Required. Lower bound on announcement_date.
seniorityNofirst_lien_senior_secured / first_lien_unitranche / second_lien / subordinated / mezzanine.
pit_gate_onNoColumn the as_of PIT gate applies to. 'announcement_date' = real timeline (default); 'first_seen_at' = leak-free for backtests.announcement_date
breakdown_byNoSplit each bucket by this dimension (one flat row per bucket × value).
include_spreadsNoAdd median coupon_cash_bps + coupon_pik_bps per bucket. Default true.
lender_investor_idNoFilter to one lender (investors_v2 UUID).
include_bdc_holdingsNoInclude portfolio_disclosure_bdc rows (re-disclosed held loans — inflates flow). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, but the description adds substantive behavior the schema can't: BDC quarterly disclosures re-report the same held loan so 87.5% of rows would inflate flow totals, principal is native USD with no FX conversion, integrity tiers are pre-filtered, and coupon coverage is partial (~79% cash, ~12% PIK) so medians are over populated rows only. The coverage-cliff warning on first_seen_at is exactly the kind of risk disclosure an agent needs before backtesting.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the purpose with a motivating question, then bolds Required/Optional/Contracts/PIT/Note so an agent can scan to the relevant block. Every sentence carries non-obvious information — no filler, no restating of the title.

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?

For an 11-parameter, multi-enum aggregation tool with no output schema, the definition covers defaults, traps, PIT semantics, and unsupported cuts thoroughly. The remaining gap is return shape: it never says what the response looks like beyond 'median cash + PIK coupon bps per bucket' and flat bucket × value rows, so an agent must call blind to learn the column set.

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 earns above that by supplying the rationale behind defaults (why include_bdc_holdings is false) and the meaning of options beyond their enum strings (what first_seen_at does for leak-freedom, what include_spreads adds in bps). It restates a few things already in the schema (20-year window, enum values), which keeps it from a 5.

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?

States a specific verb and resource ('Aggregate private-credit deal flow as a time series') and anchors it with concrete questions the tool answers (quarterly pulse, senior-secured vs mezzanine spreads). It also positions the dataset against public HY spreads and names two siblings it must not be summed with, so an agent can tell it apart from mars_sector_funding_flow / mars_form_d_flow.

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 explicit conditional guidance inside the tool: default flow view vs stock view ('Set true only for a stock (held-book) view, never for flow'), and announcement_date vs first_seen_at for descriptive series vs honest backtests. It also excludes a cut ('industry is NOT available') and flags non-summability with two named siblings. It stops short of saying which sibling to use when the agent actually wants sector or Form D aggregation.

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