Skip to main content
Glama

Arb Topic History

arb_topic_history
Read-onlyIdempotent

Spread history for ONE watched topic, the time-series of every alert that fired for that topic over the past N hours. Use to chart how a specific cross-venue mispricing evolved (e.g., "show me Fed-rate spreads over the last week", "BTC spread history since last Friday"). Topic must be one of the watched topics, call arb_watchlist to enumerate.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic": "fed"
    },
    "name": "arb_topic_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoLook-back window in hours. Default 72, max 720.
limitNoMax rows. Default 200, max 1000.
topicYesWatchlist topic key like "fed", "btc", "cpi", "gdp", "sp500", "recession", "2028_president". Lowercase; matches arb_watchlist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior. The description adds that the result is a time-series of alerts that fired for the topic, not raw spread ticks, and that an unwatched topic is invalid. It does not explain pagination or error behavior, but it adds meaningful data-shape context beyond the annotations.

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?

Three front-loaded sentences: purpose and data shape first, usage examples second, prerequisite and discovery path last. Every sentence carries actionable information with no filler.

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

Completeness4/5

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

For a simple read-only history endpoint with no output schema, the description covers the data returned, the valid-topic constraint, the lookback semantics, and how to discover topics. Minor gaps remain around the exact fields in each alert row and pagination behavior, but an agent has enough to invoke it correctly.

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

Parameters3/5

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

Schema coverage is 100%, so parameter formats, defaults, and bounds are already documented. The description reinforces that topic is singular and must match the watchlist, and that hours is the lookback window, but it adds no new syntax or semantics for limit. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: retrieves spread history for ONE watched topic as a time-series of alerts over a lookback window. It distinguishes scope from multi-topic siblings with 'ONE watched topic', though it doesn't explicitly name the closest alternative (e.g., arb_recent_alerts).

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?

Gives a clear when-to-use context ('chart how a specific cross-venue mispricing evolved') with concrete example queries. It also states the prerequisite that the topic must be on the watchlist and directs the agent to arb_watchlist to enumerate valid topics. No explicit when-not guidance, but the scoping is implied well.

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.