Skip to main content
Glama

market_context

Read-onlyIdempotent

Get aggregated market context for a date in one call — Fear & Greed, whale summary, sentiment, stablecoin flows, funding rates, golden alerts, analyst summaries (8 sources parallel) — Single-call aggregated market snapshot for a given date. Queries 8 data sources in parallel — Fear & Greed, whale daily summary, social sentiment (BTC/ETH/SOL), stablecoin flows, BTC funding rates, Golden Alerts daily count, analyst daily summaries (shortSummary only), and top arbitrage opportunities. No authentication required. Use ?date=YYYY-MM-DD (default = today; max 730 days back / 2 years). For dates older than 365 days where daily snapshots have been purged, the endpoint automatically falls back to the permanent monthly archive tables, returning monthly averages instead of daily values. metadata.resolution indicates 'daily' (exact day data) or 'monthly' (monthly averages from archive). metadata.dataCompleteness is the percentage of the 8 sources that have data for the requested date (0-100%). Today is cached 5 minutes; hi

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate to retrieve (YYYY-MM-DD). Defaults to today. Max 730 days back (2 years). Dates older than 365d automatically use monthly archive.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoRequested date (YYYY-MM-DD)
metadataNo
arbitrageNo
fearGreedNoFear & Greed index for the date (daily score or monthly avg when resolution=monthly).
sentimentNoSocial sentiment for BTC, ETH, SOL (daily score or monthly avg when resolution=monthly).
updatedAtNo
stablecoinNoStablecoin flow snapshot for the date.
attributionNo
fundingRatesNoBTC perpetual funding rate summary for the date (daily or monthly avg).
goldenAlertsNoGolden Alerts daily summary for the date.
whaleSummaryNoAggregated whale movement counts for the date.
analystSummariesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "analystSummaries": {
      +      "items": {
      +        "description": "One analyst's public daily summary (only available for daily resolution).",
      +        "properties": {
      +          "analystId": {
      +            "type": "string"
      +          },
      +          "btcTrend": {
      +            "nullable": true,
      +            "type": "string"
      +          },
      +          "confluenceScore": {
      +            "nullable": true,
      +            "type": "number"
      +          },
      +          "shortSummary": {
      +            "type": "string"
      +          },
      +          "signalCount": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "arbitrage": {
      +      "items": {
      +        "description": "Top arbitrage opportunity (only available for daily resolution ≤180 days).",
      +        "properties": {
      +          "buyExchange": {
      +            "type": "string"
      +          },
      +          "sellExchange": {
      +            "type": "string"
      +          },
      +          "spreadPct": {
      +            "type": "number"
      +          },
      +          "symbol": {
      +            "type": "string"
      +          },
      +          "usdVolume": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "attribution": {
      +      "$ref": "#/components/schemas/Attribution"
      +    },
      +    "date": {
      +      "description": "Requested date (YYYY-MM-DD)",
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "fearGreed": {
      +      "description": "Fear & Greed index for the date (daily score or monthly avg when resolution=monthly).",
      +      "nullable": true,
      +      "properties": {
      +        "classification": {
      +          "type": "string"
      +        },
      +        "score": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "fundingRates": {
      +      "description": "BTC perpetual funding rate summary for the date (daily or monthly avg).",
      +      "properties": {
      +        "avg": {
      +          "nullable": true,
      +          "type": "number"
      +        },
      +        "byExchange": {
      +          "type": "object"
      +        },
      +        "sentiment": {
      +          "nullable": true,
      +          "type": "string"
      +        },
      +        "symbol": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "goldenAlerts": {
      +      "description": "Golden Alerts daily summary for the date.",
      +      "nullable": true,
      +      "properties": {
      +        "highCount": {
      +          "type": "number"
      +        },
      +        "lowCount": {
      +          "type": "number"
      +        },
      +        "mediumCount": {
      +          "type": "number"
      +        },
      +        "topTokens": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "totalCount": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "metadata": {
      +      "properties": {
      +        "dataCompleteness": {
      +          "description": "Percentage of 8 sources with data for this date (0-100)",
      +          "type": "number"
      +        },
      +        "date": {
      +          "type": "string"
      +        },
      +        "generatedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "isToday": {
      +          "type": "boolean"
      +        },
      +        "resolution": {
      +          "description": "'daily' = exact day data from snapshots; 'monthly' = monthly averages from permanent archive (triggered for dates >180 days old with <50% daily completeness)",
      +          "enum": [
      +            "daily",
      +            "monthly"
      +          ],
      +          "type": "string"
      +        },
      +        "sourcesAvailable": {
      +          "type": "number"
      +        },
      +        "sourcesTotal": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "sentiment": {
      +      "description": "Social sentiment for BTC, ETH, SOL (daily score or monthly avg when resolution=monthly).",
      +      "items": {
      +        "description": "Social sentiment score for one token.",
      +        "properties": {
      +          "score": {
      +            "nullable": true,
      +            "type": "number"
      +          },
      +          "sentiment": {
      +            "nullable": true,
      +            "type": "string"
      +          },
      +          "symbol": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "stablecoin": {
      +      "description": "Stablecoin flow snapshot for the date.",
      +      "nullable": true,
      +      "properties": {
      +        "signal": {
      +          "nullable": true,
      +          "type": "string"
      +        },
      +        "totalFlow24h": {
      +          "type": "number"
      +        },
      +        "totalNow": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "updatedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "whaleSummary": {
      +      "description": "Aggregated whale movement counts for the date.",
      +      "nullable": true,
      +      "properties": {
      +        "inflowCount": {
      +          "type": "number"
      +        },
      +        "outflowCount": {
      +          "type": "number"
      +        },
      +        "totalMoves": {
      +          "type": "number"
      +        },
      +        "totalUsdValue": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds substantial behavioral context beyond them: queries 8 sources in parallel, falls back to monthly archive tables for old dates, and exposes metadata.resolution and metadata.dataCompleteness. It also notes caching for today. This is a rich behavioral disclosure with no contradiction.

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

Conciseness3/5

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

The description is information-dense but structurally redundant: the opening sentence and the following em-dash phrase both announce 'single-call aggregated snapshot', and the 8-source list appears twice. The ending appears truncated ('Today is cached 5 minutes; hi'), suggesting incomplete cleanup. The content is organized logically thereafter, so it earns a mid-range score rather than lower.

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?

For a tool with one optional parameter and an existing output schema, the description covers all operational essentials: date format, default, time range, fallback behavior, response metadata fields, data completeness semantics, and caching. The only visible flaw is the truncated last phrase, which does not materially affect completeness for the agent's decision.

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 schema already covers the single optional date parameter at 100%, so baseline is 3. The description adds value beyond the schema by explaining the default (today), the max lookback (730 days), and the automatic fallback to monthly averages for dates older than 365 days. That extra guidance justifies a 4.

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 specifies a clear verb-resource pair: 'Get aggregated market context for a date in one call' and enumerates the exact set of data sources queried. It differentiates itself from the many sibling endpoints (fear_greed, funding_rates) by emphasizing the single-call aggregation of 8 sources. Repeated phrasing, e.g. 'Single-call aggregated market snapshot', reinforces purpose without ambiguity.

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 provides concrete invocation guidance: use ?date=YYYY-MM-DD, default is today, max 730 days back, and behavior for dates older than 365 days. It clearly implies use this when an aggregated snapshot across multiple market dimensions is wanted rather than calling individual endpoints. It does not explicitly name alternative tools or state 'when not to use', so it falls short of a 5.

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