Skip to main content
Glama

Event base rates

get_event_stats
Read-onlyIdempotent

Historical base rates for the technical events firing on a ticker today (e.g. RSI below 30, golden/death cross, new 52-week high/low). For each active event: the forward returns (1w/1m/3m/6m/1y) seen historically after similar events across the US universe, with the sample size and an unconditional baseline to compare against. Answers 'what usually happened after this'; small samples warrant caution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesTicker symbol, e.g. 'SPY'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
tickerNo
active_eventsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / active_events / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / note / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / ticker / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "active_events": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "ticker": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: the statistics are drawn from the US universe, each event comes with a sample size, and small samples are flagged as caution-worthy.

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?

Three dense sentences, front-loaded with the primary purpose and followed by what is returned per event and the small-sample caveat. Nearly every clause earns its place, though the parenthetical example list could be trimmed.

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?

An output schema exists, and the description still usefully previews the return shape (forward returns at 1w/1m/3m/6m/1y, sample size, unconditional baseline), which helps the agent judge relevance. It is complete enough for a single-parameter read-only tool.

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?

Only one parameter (ticker) and schema description coverage is 100%, so the schema fully documents it. The description adds the implicit scoping of 'on a ticker today' but no format or syntax detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb+resource: historical base rates for technical events firing today, with concrete examples of the event types (RSI below 30, golden/death cross, 52-week high/low). This clearly separates it from siblings like get_technical_indicators, which report current indicator state rather than historical forward-return statistics.

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?

Provides clear usage context via the quoted question it answers, 'what usually happened after this', which tells the agent the intended analytical framing. It does not, however, state when not to use it or point to an alternative sibling for current indicator values or raw price history.

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