Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_us_liquidity

Read-onlyIdempotent

Pulls structured US liquidity ledger from SEC XBRL filings, separating cash, restricted cash, and debt maturities to reveal actual available funds.

Instructions

US liquidity ledger — 미국 기업의 사용 가능 유동성 원장 (SEC XBRL, JSON).

"RIVN 런웨이가 현금만 기준인지", "제한 현금 빼면 실제로 쓸 수 있는 돈이 얼마인지", "1년 내 갚을 돈은 얼마인지" 같은 질문에 사용합니다. 재무 요약의 현금 한 줄로는 안 되는 것 - 단기투자·제한 현금·미인출 리볼버·부채 만기· 보고기간 후 조달 - 을 SEC XBRL 원문에서 출처·기준일별로 구조화합니다.

  • 총액(total_available)은 기준일이 같은 항목만 더합니다. 제한 현금은 절대 총액에 넣지 않고, 포함형 총계와 교차검증만 합니다(중복 차감 방지).

  • 미보고 항목은 0이 아니라 not_reported 로 남습니다. 제한·만기 자료가 없으면 runway_inputs.official_runway 는 unavailable 입니다 - 그때는 현금만 민감도(cash_only_base)까지만 말할 수 있습니다.

  • 이 도구는 런웨이 개월 수를 계산하지 않습니다. 분모(burn)는 get_us_financial_statement 의 영업현금흐름에서 읽는 쪽이 정합니다.

Args: ticker: US 티커 (예: "RIVN", "CRSP")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses material behavior: total_available only sums same-date items, restricted cash is never included in the total, missing items are reported as not_reported rather than 0, and official_runway becomes unavailable when restricted/maturity data is absent. This gives an agent accurate expectations about edge cases and calculation semantics.

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?

The description is information-dense but well-organized: a short lede, concrete example questions, then bullet points covering the most critical behavioral rules and exclusions. Every sentence adds distinct value, and the structure makes the key caveats easy to parse.

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?

Given the tool has an output schema and only one parameter, the description covers all essential contextual aspects: data source, item composition, same-date summation rule, missing-data semantics, relation to runway calculation, and pointer to the sibling tool for burn. Nothing critical seems missing for an agent to invoke it correctly.

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?

The input schema only defines ticker as a string with no description, so the description must carry the semantic burden. It does so by specifying 'US ticker' and providing examples like RIVN and CRSP. This is adequate for a single parameter, though it could add detail on ticker format expectations or delisting/non-US edge cases.

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 clearly identifies the tool as a US liquidity ledger built from SEC XBRL data, and enumerates the specific questions it answers around available cash, restricted cash, short-term investments, revolver, debt maturities, and post-report financing. It also distinguishes itself from a simple cash line in a financial summary, so an agent can tell what this tool uniquely provides.

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?

The description gives concrete use-case examples and states an important boundary: this tool does not compute runway months, and the burn denominator should come from get_us_financial_statement. It names the relevant sibling and clarifies what the tool is not for, though it stops short of a comprehensive when-to-use vs. when-not-to-use matrix for all sibling alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.