LP Pool Check
Read a liquidity pool's volume, TVL and fee APR over 1 and 7 days, and spot a short APR spike.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"lpcheck": {
"url": "https://lpcheck.openkrill.app/mcp"
}
}
}Remote-Endpunkte
https://lpcheck.openkrill.app/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (6)
🟢check_pool(pool_id, pool_address, chain, token_a, token_b, ...)
Use this when the user asks about one real liquidity pool, such as "volume and fee APR for WETH and USDC on Ethereum" or "is this pool APR a spike?". Pass pool_id (a DefiLlama UUID), or chain plus token_a and token_b, for example chain "ethereum", token_a "WETH", token_b "USDC". Do not try pool_address first: the open index has no pool contract addresses, so it always returns needs_tokens. Returns 1-day and 7-day volume and fee APR, TVL, an APR flag with a reason, a risk checklist with warnings, price trend, token risk flags when a public source covers them, and an informational position-type label. Symbols for one token pair with several fee tiers or exchanges return the highest-TVL pool, with the others in other_tiers. Symbols that match different tokens return status ambiguous. The optional range fields (price_lower, price_upper, price_now, holding_days, capital_usd, gas_usd, exit_cost_usd) add the same fee-versus-impermanent-loss estimate as estimate_lp, at this pool's fee APR. For a pure what-if with no pool, use estimate_lp.
Eingabe-Schema
{
"type": "object",
"properties": {
"pool_id": {
"type": "string",
"minLength": 8,
"maxLength": 80,
"description": "DefiLlama pool id, a UUID such as \"b99bcdf5-1350-4269-981e-0e9b5cccb007\", from find_active_pools or other_tiers. Send it alone"
},
"pool_address": {
"type": "string",
"minLength": 8,
"maxLength": 80,
"description": "Pool contract address. The open yields index has no pool contract addresses, so this always returns needs_tokens. Prefer pool_id, or chain with token_a and token_b"
},
"chain": {
"type": "string",
"minLength": 2,
"maxLength": 40,
"description": "Chain name or short alias, used with token_a and token_b: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, solana, zksync, linea, gnosis, scroll, mantle, celo, sonic, or sui. Aliases such as eth, arb, op, bnb, matic, avax, and sol also work"
},
"token_a": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "First token symbol or contract address, such as \"WETH\" or \"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\". Needs chain and token_b"
},
"token_b": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Second token symbol or contract address, such as \"USDC\""
},
"holding_days": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Holding window for the fee-versus-IL estimate. Requires price_lower, price_upper, and price_now"
},
"price_lower": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Lower price of the range, in quote per base"
},
"price_upper": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Upper price of the range, in quote per base"
},
"price_now": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Current price in the same units as the range"
},
"capital_usd": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Position size, so gas and exit cost can be compared with fees. Not stored as a record of who asked"
},
"gas_usd": {
"type": "number",
"minimum": 0,
"description": "Gas you expect to pay to enter and exit, in the same currency as capital_usd"
},
"exit_cost_usd": {
"type": "number",
"minimum": 0,
"description": "Other exit cost, such as a withdrawal fee, in the same currency as capital_usd"
}
},
"description": "Send pool_id alone, or chain plus token_a and token_b, for example {\"chain\": \"ethereum\", \"token_a\": \"WETH\", \"token_b\": \"USDC\"}. pool_address alone always returns needs_tokens.",
"additionalProperties": false,
"examples": [
{
"pool_id": "b99bcdf5-1350-4269-981e-0e9b5cccb007"
}
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"not_found",
"ambiguous",
"needs_tokens",
"unavailable"
],
"description": "ok: one pool read (other fee tiers of the same pair are in other_tiers). ambiguous: the symbols match different tokens, see other_tiers. needs_tokens: pass token addresses or a pool id. not_found: no match. unavailable: a source did not answer"
},
"message": {
"type": "string",
"description": "What happened and what to pass next"
},
"pool": {
"type": "object",
"properties": {
"pool_id": {
"type": "string"
},
"chain": {
"type": "string"
},
"project": {
"type": "string"
},
"symbol": {
"type": "string"
},
"tvl_usd": {
"type": [
"number",
"null"
],
"description": "Total value locked in the pool, in USD"
},
"fee_rate": {
"type": [
"number",
"null"
],
"minimum": 0,
"description": "Swap fee as a fraction, not a percent: 0.003 means 0.3%. Read from pool_meta"
},
"pool_meta": {
"type": [
"string",
"null"
],
"description": "DefiLlama pool label, often the fee tier such as \"0.3%\""
},
"il_risk": {
"type": [
"string",
"null"
]
},
"exposure": {
"type": [
"string",
"null"
]
},
"tokens": {
"type": "array",
"items": {
"type": "string"
}
},
"windows": {
"type": "object",
"properties": {
"volume_usd_1d": {
"type": [
"number",
"null"
],
"description": "Trading volume over the last day, in USD"
},
"volume_usd_7d": {
"type": [
"number",
"null"
],
"description": "Trading volume over the last 7 days, in USD"
},
"fee_apr_percent_1d": {
"type": [
"number",
"null"
],
"description": "Fee APR in percent from 1-day volume: volume x fee_rate x 365 / TVL x 100"
},
"fee_apr_percent_7d": {
"type": [
"number",
"null"
],
"description": "Fee APR in percent from 7-day volume, annualized the same way"
}
},
"required": [
"volume_usd_1d",
"volume_usd_7d",
"fee_apr_percent_1d",
"fee_apr_percent_7d"
]
},
"published_apy": {
"type": "object",
"properties": {
"apy": {
"type": [
"number",
"null"
]
},
"apy_base": {
"type": [
"number",
"null"
]
},
"apy_reward": {
"type": [
"number",
"null"
]
},
"apy_base_7d": {
"type": [
"number",
"null"
]
},
"outlier": {
"type": "boolean"
}
},
"required": [
"apy",
"apy_base",
"apy_reward",
"apy_base_7d",
"outlier"
]
}
},
"required": [
"pool_id",
"chain",
"project",
"symbol",
"tvl_usd",
"fee_rate",
"windows",
"published_apy",
"tokens"
]
},
"other_tiers": {
"type": "array",
"description": "Other matching pools or fee tiers. Pass one pool_id from here to read it",
"items": {
"type": "object",
"properties": {
"pool_id": {
"type": "string"
},
"chain": {
"type": "string"
},
"project": {
"type": "string"
},
"symbol": {
"type": "string"
},
"tvl_usd": {
"type": [
"number",
"null"
],
"description": "Total value locked in the pool, in USD"
},
"fee_rate": {
"type": [
"number",
"null"
],
"minimum": 0,
"description": "Swap fee as a fraction, not a percent: 0.003 means 0.3%. Read from pool_meta"
},
"pool_meta": {
"type": [
"string",
"null"
],
"description": "DefiLlama pool label, often the fee tier such as \"0.3%\""
},
"il_risk": {
"type": [
"string",
"null"
]
},
"exposure": {
"type": [
"string",
"null"
]
},
"tokens": {
"type": "array",
"items": {
"type": "string"
}
},
"windows": {
"type": "object",
"properties": {
"volume_usd_1d": {
"type": [
"number",
"null"
],
"description": "Trading volume over the last day, in USD"
},
"volume_usd_7d": {
"type": [
"number",
"null"
],
"description": "Trading volume over the last 7 days, in USD"
},
"fee_apr_percent_1d": {
"type": [
"number",
"null"
],
"description": "Fee APR in percent from 1-day volume: volume x fee_rate x 365 / TVL x 100"
},
"fee_apr_percent_7d": {
"type": [
"number",
"null"
],
"description": "Fee APR in percent from 7-day volume, annualized the same way"
}
},
"required": [
"volume_usd_1d",
"volume_usd_7d",
"fee_apr_percent_1d",
"fee_apr_percent_7d"
]
},
"published_apy": {
"type": "object",
"properties": {
"apy": {
"type": [
"number",
"null"
]
},
"apy_base": {
"type": [
"number",
"null"
]
},
"apy_reward": {
"type": [
"number",
"null"
]
},
"apy_base_7d": {
"type": [
"number",
"null"
]
},
"outlier": {
"type": "boolean"
}
},
"required": [
"apy",
"apy_base",
"apy_reward",
"apy_base_7d",
"outlier"
]
}
},
"required": [
"pool_id",
"chain",
"project",
"symbol",
"tvl_usd",
"fee_rate",
"windows",
"published_apy",
"tokens"
]
}
},
"apr_flag": {
"type": "string",
"enum": [
"real",
"spike",
"unconfirmed"
],
"description": "real: steady trading. spike: a short burst, not a steady rate. unconfirmed: no 7-day comparison, do not call it real"
},
"apr_flag_reason": {
"type": "string"
},
"price_trend": {
"type": "array",
"description": "Price change per token from DefiLlama coins",
"items": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ok",
"unavailable",
"unsupported"
],
"description": "unsupported: no public source covers this chain"
},
"change_1d_percent": {
"type": [
"number",
"null"
],
"description": "Price change over 1 day, in percent"
},
"change_7d_percent": {
"type": [
"number",
"null"
],
"description": "Price change over 7 days, in percent"
},
"points": {
"type": "integer",
"description": "How many price points the change uses"
}
},
"required": [
"token",
"status",
"change_1d_percent",
"change_7d_percent",
"points"
]
}
},
"active_range": {
"type": "object",
"description": "The open index does not publish the current tick band",
"properties": {
"status": {
"type": "string",
"enum": [
"not_in_index"
]
},
"message": {
"type": "string"
}
},
"required": [
"status",
"message"
]
},
"token_risk": {
"type": "array",
"description": "GoPlus token-security flags per token, when the chain is covered",
"items": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ok",
"unavailable",
"unsupported"
],
"description": "unsupported: no public source covers this chain"
},
"trusted": {
"type": [
"boolean",
"null"
]
},
"mintable": {
"type": [
"boolean",
"null"
]
},
"honeypot": {
"type": [
"boolean",
"null"
]
},
"transfer_pausable": {
"type": [
"boolean",
"null"
]
},
"freeze_or_blacklist": {
"type": [
"boolean",
"null"
]
},
"trading_cooldown": {
"type": [
"boolean",
"null"
]
},
"cannot_buy": {
"type": [
"boolean",
"null"
]
},
"buy_tax": {
"type": [
"number",
"null"
],
"description": "GoPlus scale, where 1 means 100%"
},
"sell_tax": {
"type": [
"number",
"null"
],
"description": "GoPlus scale, where 1 means 100%"
},
"holder_count": {
"type": [
"number",
"null"
]
},
"top_holder_percent": {
"type": [
"number",
"null"
],
"description": "Share held by the largest holder, in percent"
},
"top10_holder_percent": {
"type": [
"number",
"null"
],
"description": "Share held by the 10 largest holders, in percent"
},
"severe": {
"type": "boolean",
"description": "True when a severe flag is set, such as honeypot or cannot-buy"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"token",
"status",
"severe",
"notes"
]
}
},
"position_type": {
"type": "string",
"enum": [
"fee-earning",
"accumulating at lows",
"disguised token holding"
]
},
"position_type_reason": {
"type": "string"
},
"estimate": {
"type": "object",
"properties": {
"in_range_now": {
"type": [
"boolean",
"null"
],
"description": "Whether price_now is inside the range. null for the full-range formula"
},
"fee_fraction": {
"type": "number",
"description": "Expected fee income over the holding period, as a fraction of the position: 0.0153 means 1.53%"
},
"il_fraction_at_later": {
"type": [
"number",
"null"
],
"description": "Impermanent loss at price_later as a negative fraction. null without price_later"
},
"cost_fraction": {
"type": [
"number",
"null"
],
"description": "(gas_usd + exit_cost_usd) / capital_usd. null without capital_usd"
},
"gas_usd": {
"type": [
"number",
"null"
]
},
"exit_cost_usd": {
"type": [
"number",
"null"
]
},
"net_versus_holding_at_later": {
"type": [
"number",
"null"
],
"description": "fee_fraction + il_fraction_at_later - cost_fraction"
},
"fees_cover_il_and_costs": {
"type": [
"boolean",
"null"
],
"description": "null without price_later"
},
"break_even_prices": {
"type": "array",
"items": {
"type": "number"
},
"description": "Later prices where the net result crosses zero, from a sample"
},
"break_even_line": {
"type": "string"
},
"sampled_edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"il_fraction": {
"type": "number"
},
"net_versus_holding": {
"type": "number"
}
},
"required": [
"price",
"il_fraction",
"net_versus_holding"
]
}
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"formula": {
"type": "string"
}
},
"description": "Fee-versus-impermanent-loss estimate, present only when holding_days and price_now were passed"
},
"depth_note": {
"type": "string"
},
"risk_checklist": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"triggered": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"ok",
"warning",
"unknown"
]
},
"message": {
"type": "string"
}
},
"required": [
"id",
"name",
"triggered",
"status",
"message"
]
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"as_of": {
"type": [
"string",
"null"
],
"description": "ISO 8601 UTC time of the yields index read, or null when nothing was read"
},
"note": {
"type": "string"
}
},
"required": [
"name",
"as_of"
]
}
},
"as_of": {
"type": "string",
"description": "ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch."
},
"notice": {
"type": "string"
},
"fee_apr_formula": {
"type": "string"
},
"source": {
"type": "object",
"description": "Who the data comes from, to cite and to check it against.",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
]
}
},
"required": [
"status",
"apr_flag",
"sources",
"as_of",
"notice",
"source"
]
}🟢find_active_pools(chains, min_volume_usd_1d, min_fee_percent, limit)
Use this when the user wants pools across chains or DEXes with recent volume and a fee rate, such as "high fee pools on Base with real volume". All arguments are optional: chains, min_volume_usd_1d (default 50000), min_fee_percent (default 0.05), and limit (default 5, at most 8). Returns each pool's id, volume, TVL, fee rate, 1-day and 7-day fee APR, and an APR flag with its reason, highest 1-day fee APR first. A small pool with a one-day volume spike can rank first, so check tvl_usd and apr_flag before you lead with it, or raise min_volume_usd_1d. It does not read token contracts or the current tick. Call check_pool with a returned pool_id for token flags and the risk checklist.
Eingabe-Schema
{
"type": "object",
"properties": {
"chains": {
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 40
},
"maxItems": 6,
"description": "Optional chain names, such as [\"base\"] or [\"ethereum\", \"arbitrum\"]. Supported: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, solana, zksync, linea, gnosis, scroll, mantle, celo, sonic, or sui. Omit to scan every chain in the index"
},
"min_volume_usd_1d": {
"type": "number",
"minimum": 0,
"description": "Minimum 1-day volume in USD. Default 50000. Raise it, for example to 1000000, to skip small pools with a one-day spike"
},
"min_fee_percent": {
"type": "number",
"minimum": 0,
"maximum": 20,
"description": "Minimum swap fee in percent, not a fraction: 0.3 means 0.3%. Read from pool metadata. Default 0.05"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"description": "How many pools to return, at most 8. Default 5"
}
},
"additionalProperties": false,
"examples": [
{
"chains": [
"base"
],
"min_volume_usd_1d": 100000,
"min_fee_percent": 0.3
}
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"unavailable"
],
"description": "unavailable: the yields index could not be read; try again later"
},
"message": {
"type": "string"
},
"count": {
"type": "integer"
},
"pools": {
"type": "array",
"description": "Pools ranked by 1-day fee APR, highest first. Check tvl_usd and apr_flag before leading with one",
"items": {
"type": "object",
"properties": {
"pool_id": {
"type": "string"
},
"chain": {
"type": "string"
},
"project": {
"type": "string"
},
"symbol": {
"type": "string"
},
"tvl_usd": {
"type": [
"number",
"null"
],
"description": "Total value locked in the pool, in USD"
},
"fee_rate": {
"type": [
"number",
"null"
],
"minimum": 0,
"description": "Swap fee as a fraction, not a percent: 0.003 means 0.3%. Read from pool_meta"
},
"pool_meta": {
"type": [
"string",
"null"
],
"description": "DefiLlama pool label, often the fee tier such as \"0.3%\""
},
"il_risk": {
"type": [
"string",
"null"
]
},
"exposure": {
"type": [
"string",
"null"
]
},
"tokens": {
"type": "array",
"items": {
"type": "string"
}
},
"windows": {
"type": "object",
"properties": {
"volume_usd_1d": {
"type": [
"number",
"null"
],
"description": "Trading volume over the last day, in USD"
},
"volume_usd_7d": {
"type": [
"number",
"null"
],
"description": "Trading volume over the last 7 days, in USD"
},
"fee_apr_percent_1d": {
"type": [
"number",
"null"
],
"description": "Fee APR in percent from 1-day volume: volume x fee_rate x 365 / TVL x 100"
},
"fee_apr_percent_7d": {
"type": [
"number",
"null"
],
"description": "Fee APR in percent from 7-day volume, annualized the same way"
}
},
"required": [
"volume_usd_1d",
"volume_usd_7d",
"fee_apr_percent_1d",
"fee_apr_percent_7d"
]
},
"published_apy": {
"type": "object",
"properties": {
"apy": {
"type": [
"number",
"null"
]
},
"apy_base": {
"type": [
"number",
"null"
]
},
"apy_reward": {
"type": [
"number",
"null"
]
},
"apy_base_7d": {
"type": [
"number",
"null"
]
},
"outlier": {
"type": "boolean"
}
},
"required": [
"apy",
"apy_base",
"apy_reward",
"apy_base_7d",
"outlier"
]
},
"apr_flag": {
"type": "string",
"enum": [
"real",
"spike",
"unconfirmed"
],
"description": "real: steady trading. spike: a short burst, not a steady rate. unconfirmed: no 7-day comparison, do not call it real"
},
"apr_flag_reason": {
"type": "string"
}
},
"required": [
"pool_id",
"chain",
"project",
"symbol",
"tvl_usd",
"fee_rate",
"windows",
"published_apy",
"tokens",
"apr_flag",
"apr_flag_reason"
]
}
},
"note": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"as_of": {
"type": [
"string",
"null"
],
"description": "ISO 8601 UTC time of the yields index read, or null when nothing was read"
},
"note": {
"type": "string"
}
},
"required": [
"name",
"as_of"
]
}
},
"as_of": {
"type": "string",
"description": "ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch."
},
"notice": {
"type": "string"
},
"fee_apr_formula": {
"type": "string"
},
"source": {
"type": "object",
"description": "Who the data comes from, to cite and to check it against.",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
]
}
},
"required": [
"status",
"count",
"pools",
"sources",
"as_of",
"notice",
"source"
]
}🟢estimate_lp(price_now, price_later, price_lower, price_upper, holding_days, ...)
Estimate fees versus impermanent loss. Use this when the user gives numbers for a what-if and wants to know whether swap fees cover impermanent loss, gas, and exit cost. It needs no pool and reads no live data. Pass price_now, holding_days, and fee_apr_percent, for example price_now 2500, holding_days 14, fee_apr_percent 40. Add price_lower and price_upper for a concentrated range, or omit both for the full-range formula. Optionally pass price_later, capital_usd, gas_usd, and exit_cost_usd. Returns the formula, the fee fraction, the impermanent loss fraction, whether fees cover it and the costs you passed, a plain break-even price line, and break-even prices from a sample. It does not look up gas or recommend a position. To read a real pool's volume and fee APR, use check_pool.
Eingabe-Schema
{
"type": "object",
"properties": {
"price_now": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Current price, quote token per base token, such as 2500 for ETH in USDC"
},
"price_later": {
"type": "number",
"exclusiveMinimum": 0,
"description": "A later price to score. Omit to get break-even prices and the range edges only"
},
"price_lower": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Lower bound of a concentrated range. Omit, with price_upper, for the full-range formula"
},
"price_upper": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Upper bound of a concentrated range"
},
"holding_days": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "How many days the fee APR is applied, a whole number from 1 to 365, such as 14"
},
"fee_apr_percent": {
"type": "number",
"minimum": 0,
"maximum": 100000,
"description": "Annualized fee APR in percent, not a fraction: 40 means 40%. For example the 1-day fee APR from check_pool"
},
"capital_usd": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Position size, so gas and exit cost can be turned into a fraction of the position"
},
"gas_usd": {
"type": "number",
"minimum": 0,
"description": "Gas you expect to pay. Not looked up"
},
"exit_cost_usd": {
"type": "number",
"minimum": 0,
"description": "Other exit cost. Not looked up"
}
},
"required": [
"price_now",
"holding_days",
"fee_apr_percent"
],
"additionalProperties": false,
"examples": [
{
"price_now": 100,
"price_later": 110,
"price_lower": 80,
"price_upper": 120,
"holding_days": 30,
"fee_apr_percent": 20
}
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok"
]
},
"in_range_now": {
"type": [
"boolean",
"null"
],
"description": "Whether price_now is inside the range. null for the full-range formula"
},
"fee_fraction": {
"type": "number",
"description": "Expected fee income over the holding period, as a fraction of the position: 0.0153 means 1.53%"
},
"il_fraction_at_later": {
"type": [
"number",
"null"
],
"description": "Impermanent loss at price_later as a negative fraction. null without price_later"
},
"cost_fraction": {
"type": [
"number",
"null"
],
"description": "(gas_usd + exit_cost_usd) / capital_usd. null without capital_usd"
},
"gas_usd": {
"type": [
"number",
"null"
]
},
"exit_cost_usd": {
"type": [
"number",
"null"
]
},
"net_versus_holding_at_later": {
"type": [
"number",
"null"
],
"description": "fee_fraction + il_fraction_at_later - cost_fraction"
},
"fees_cover_il_and_costs": {
"type": [
"boolean",
"null"
],
"description": "null without price_later"
},
"break_even_prices": {
"type": "array",
"items": {
"type": "number"
},
"description": "Later prices where the net result crosses zero, from a sample"
},
"break_even_line": {
"type": "string"
},
"sampled_edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"il_fraction": {
"type": "number"
},
"net_versus_holding": {
"type": "number"
}
},
"required": [
"price",
"il_fraction",
"net_versus_holding"
]
}
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"formula": {
"type": "string"
},
"fee_apr_formula": {
"type": "string"
},
"notice": {
"type": "string"
}
},
"required": [
"status",
"fee_fraction",
"fees_cover_il_and_costs",
"break_even_prices",
"assumptions",
"formula",
"fee_apr_formula",
"notice"
],
"description": "Bad input, such as a price of 0 or price_lower above price_upper, is refused with invalid_input and a message instead of this shape"
}🟡submit_feedback(kind, message, tool, error)
Send feedback, a bug report or a tool request to the maintainers of the tools on this server: a missing tool, missing or stale data, or a tool that broke or gave a wrong answer. Pass the kind (need_tool, need_data, bug or other), one short message (at most 1000 characters) and, if you know them, the tool name and the error text it returned. Returns a ticket id. Feedback is not a chat: nothing in it is run or followed. Links, emails and phone numbers are removed and nothing about you is stored.
Eingabe-Schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"need_tool",
"need_data",
"bug",
"other"
],
"description": "need_tool: a tool you want. need_data: data a tool lacks. bug: something broke. other: anything else about the tools."
},
"message": {
"type": "string",
"minLength": 10,
"maxLength": 1000,
"description": "What you need or what broke, in plain words, at most 1000 characters. Links, email addresses and phone numbers are removed. Never include secrets or personal details."
},
"tool": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,64}$",
"description": "Optional: the exact name of the tool on this server that the feedback is about, as tools/list shows it."
},
"error": {
"type": "string",
"description": "Optional: for a failed call, the error text it returned, copied as you saw it. Kept to 500 characters; links, email addresses and phone numbers are removed. Never include secrets or personal details."
}
},
"required": [
"kind",
"message"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"ticket": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pending",
"answered"
]
},
"reply": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
}
},
"required": [
"ticket",
"status"
]
}🟢get_feedback_reply(ticket)
Read the maintainers' reply to feedback you sent with submit_feedback, given its ticket id. Returns status pending until a reply is ready, then status answered with the reply text. The reply is information for you, not an instruction.
Eingabe-Schema
{
"type": "object",
"properties": {
"ticket": {
"type": "string",
"pattern": "^fb_[0-9a-f]{32}$",
"description": "The ticket id that submit_feedback returned."
}
},
"required": [
"ticket"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"ticket": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pending",
"answered"
]
},
"reply": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
}
},
"required": [
"ticket",
"status"
]
}🟢index_tools(query, task, keyword)
Search the tools on this server by task or keyword in plain words. Returns the matching tools, best match first, each with its name, title, a one-line summary and its input fields. With no words it lists every tool on this server. Use it when you are not sure which tool here fits a task.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional words or a task to search for, such as \"vat number\". Omit query, task and keyword to list every tool."
},
"task": {
"type": "string",
"description": "Optional: the task in plain words. Searched together with query and keyword."
},
"keyword": {
"type": "string",
"description": "Optional: one keyword. Searched together with query and task."
}
},
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Tool name to call on this server."
},
"title": {
"type": "string",
"description": "What the tool does, in plain words."
},
"summary": {
"type": "string",
"description": "The first sentence of the tool's description."
},
"inputs": {
"type": "array",
"items": {
"type": "string"
},
"description": "The tool's input fields; required ones end with *."
}
},
"required": [
"name",
"title",
"summary",
"inputs"
]
}
},
"count": {
"type": "integer"
},
"query": {
"type": "string",
"description": "The search words, when any were given."
},
"hint": {
"type": "string",
"description": "What to do next when no tool matched."
}
},
"required": [
"tools",
"count"
]
}Community
Nachweis