Skip to main content
Glama

etf_flow_today

Retrieve today's aggregate flows for US-listed spot crypto ETFs, including Bitcoin and Ethereum net flows, 5-day streak, and cumulative AUM.

Instructions

US-listed spot crypto ETF aggregate flows today. BTC + ETH net flow, 5d streak, cumulative AUM. Source: SoSoValue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Tool 'etf_flow_today' is registered in the TOOLS list with a description about US-listed spot crypto ETF aggregate flows today, sourced from SoSoValue. Takes no input parameters.
    {
        "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": {}},
    },
  • The call_tool function dispatches 'etf_flow_today' to _api_get('/api/etf_flow', args), making a GET request to the backend API endpoint /api/etf_flow.
    if name == "etf_flow_today":
        return _api_get("/api/etf_flow", args)
  • The _api_get helper function handles HTTP GET requests to the FalsifyLab API backend, with authorization, error handling, and JSON parsing.
    def _api_get(path: str, params: dict | None = None) -> dict:
        if params:
            from urllib.parse import urlencode
            path = f"{path}?{urlencode(params)}"
        req = urllib.request.Request(
            f"{API_BASE}{path}",
            headers={
                "User-Agent": USER_AGENT,
                "Accept": "application/json",
                **({"Authorization": f"Bearer {API_KEY}"} if API_KEY else {}),
            },
        )
        try:
            with urllib.request.urlopen(req, timeout=20) as r:
                return json.loads(r.read())
        except urllib.error.HTTPError as e:
            body = e.read().decode(errors="ignore")[:400]
            return {"error": f"HTTP {e.code}: {body}"}
        except Exception as e:
            return {"error": str(e)[:200]}
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It mentions the data source and scope but does not state read-only nature, data freshness, or any limitations. It is adequate but not explicit.

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 extremely concise, one sentence with key details, front-loaded with the main purpose. Every part is essential with no redundancy.

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 no parameters, no output schema, and no annotations, the description fully covers what the tool does. It provides sufficient context for an agent to understand the data returned.

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 has zero parameters with 100% coverage. The description adds meaning by detailing the output fields (BTC+ETH net flow, 5d streak, cumulative AUM), providing value beyond 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 clearly states it provides US-listed spot crypto ETF aggregate flows today, including BTC+ETH net flow, 5-day streak, and cumulative AUM. It specifies the source (SoSoValue), making it distinct from sibling tools like macro_tape or top_yield_farms.

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 obtaining today's ETF flow data but lacks explicit guidance on when to use versus alternatives, or any context on prerequisites or exclusions.

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