Skip to main content
Glama

macro_tape

Retrieve live snapshots of US macro indicators including SPX, NDX, RUT, VIX, UST 2y/10y, DXY, GOLD, WTI, BTC, ETH with last price and 1-day and 5-day percentage changes.

Instructions

Live US macro snapshot: SPX, NDX, RUT, VIX, UST 2y/10y, DXY, GOLD, WTI, BTC, ETH. Last price + 1d/5d % change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolsNo

Implementation Reference

  • Tool definition / input schema for 'macro_tape'. Defines the tool name, description (live US macro snapshot: SPX, NDX, RUT, VIX, UST 2y/10y, DXY, GOLD, WTI, BTC, ETH), and inputSchema accepting optional 'symbols' array.
    {
        "name": "macro_tape",
        "description": "Live US macro snapshot: SPX, NDX, RUT, VIX, UST 2y/10y, "
                       "DXY, GOLD, WTI, BTC, ETH. Last price + 1d/5d % change.",
        "inputSchema": {
            "type": "object",
            "properties": {
                "symbols": {"type": "array", "items": {"type": "string"}},
            },
        },
    },
  • Handler for 'macro_tape': dispatches to the backend API endpoint /api/macro by calling _api_get('/api/macro', args). The args (symbols filter) are passed as query parameters.
    if name == "macro_tape":
        return _api_get("/api/macro", args)
  • Tool registration: the 'macro_tape' tool entry is part of the TOOLS list at index 4 (line 136-146). The list is returned in response to 'tools/list' MCP method.
    TOOLS = [
        {
            "name": "top_yield_farms",
            "description": "Latest 24h top DeFi yield farm picks with realistic "
                           "APY (emissions stripped), risk notes, TVL, protocol. "
                           "Sourced from FalsifyLab daily aggregator.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "limit": {"type": "integer", "default": 10,
                               "description": "max results (1-50)"},
                    "min_apy": {"type": "number", "default": 0,
                                 "description": "filter floor in pct"},
                    "asset": {"type": "string",
                               "description": "filter by asset symbol (BTC, ETH, SOL, etc.)"},
                },
            },
        },
        {
            "name": "hl_vault_leaderboard",
            "description": "Hyperliquid vault leaderboard with NAV, 30d return, "
                           "max drawdown, follower count, composite score. "
                           "Real-time scrape of HL info API.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "limit": {"type": "integer", "default": 10},
                    "sort_by": {"type": "string",
                                  "enum": ["score", "tvl", "return_30d", "followers"],
                                  "default": "score"},
                },
            },
        },
        {
            "name": "insider_buy_clusters",
            "description": "Form 4 insider buy clusters (3+ insiders bought same "
                           "ticker in 24-48h). Bullish signal. Filtered to "
                           "open-market purchases (P code), excluding awards/gifts.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "window_hours": {"type": "integer", "default": 24},
                    "min_insiders": {"type": "integer", "default": 3},
                },
            },
        },
        {
            "name": "sec8k_material_today",
            "description": "Material SEC 8-K filings today filtered by item code: "
                           "2.02 (earnings), 5.02 (officer change), 2.01 (M&A), "
                           "3.02 (dilution), 4.02 (restatement), 3.01 (delisting).",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "items": {"type": "array", "items": {"type": "string"},
                                "description": "item codes (e.g. ['2.02','5.02'])"},
                    "ticker": {"type": "string",
                                "description": "filter by ticker symbol"},
                },
            },
        },
        {
            "name": "macro_tape",
            "description": "Live US macro snapshot: SPX, NDX, RUT, VIX, UST 2y/10y, "
                           "DXY, GOLD, WTI, BTC, ETH. Last price + 1d/5d % change.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "symbols": {"type": "array", "items": {"type": "string"}},
                },
            },
        },
        {
            "name": "etf_flow_today",
            "description": "US-listed spot crypto ETF aggregate flows today. "
                           "BTC + ETH net flow, 5d streak, cumulative AUM. "
                           "Source: SoSoValue.",
            "inputSchema": {"type": "object", "properties": {}},
        },
        {
            "name": "active_airdrop_farms",
            "description": "Active airdrop / points-farming opportunities. "
                           "Detected from DefiLlama yield gaps (where reported "
                           "APY exceeds base+rewards = likely points program). "
                           "Includes realistic APY, TVL, capital required, "
                           "confidence score. Sourced from Suki defi_scanner.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "limit": {"type": "integer", "default": 10},
                    "min_apy": {"type": "number", "default": 0,
                                 "description": "filter floor pct (realistic APY)"},
                    "min_tvl_usd": {"type": "number", "default": 0,
                                      "description": "filter pools <X TVL"},
                    "chain": {"type": "string",
                                "description": "filter (ethereum, base, arbitrum, etc.)"},
                },
            },
        },
        {
            "name": "polymarket_whale_positions",
            "description": "Top Polymarket whale wallets and their current "
                           "active positions sized >$10k. Copy-trade reference.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "min_position_usd": {"type": "integer", "default": 10000},
                },
            },
        },
    ]
Behavior2/5

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

With no annotations, the description should fully disclose behavioral traits. It does not explicitly state that the tool is read-only or indicate any side effects, though the context implies a read operation.

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 description is two concise sentences that efficiently convey the core function, though it could benefit from slightly more structure or elaboration on parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple snapshot tool with one optional parameter and no output schema, the description covers the main function but lacks detail on parameter behavior and return format, leaving moderate gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage and the description does not mention the 'symbols' parameter, leaving its purpose and usage unclear. The description lists specific symbols, but does not clarify if the parameter filters or overrides this.

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 states it provides a live US macro snapshot with specific assets (SPX, NDX, etc.) and data points (last price + 1d/5d % change). It is distinct from sibling tools which cover different domains.

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?

The description implies usage for macro data but does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FalsifyLab/falsifylab-alpha-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server