Skip to main content
Glama

get_recent_data

Fetches recent messages from Modernity's live stream buffer, newest first, with source and category filters to provide a current activity snapshot.

Instructions

Fetch recent messages from Modernity's live stream buffer (20k ring buffer, newest-first). Returns messages with source, category, timestamp, title, and message text. Use source/category filters to narrow results. Good for getting a snapshot of what's happening now.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of messages to return (default 20, max 500)
sourceNoFilter by source: bluesky, mastodon, coingecko, kalshi, hackernews, github, usgs, gdelt, wikimedia, mempool, opensky, arxiv, sec, sports, weather, etc.
categoryNoFilter by category: social, crypto, finance, news, tech, geo, aviation, space, security, research, sports

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the fixed 20k ring buffer (implying a bounded, possibly lossy window), newest-first ordering, and the exact fields returned (source, category, timestamp, title, message text). It omits rate limits, freshness/update cadence, and whether messages can be missed between reads, which matters for a live-stream tool.

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 tight sentences, front-loaded with what the tool returns and its buffer characteristics, then filtering advice, then the use case. No filler, no redundancy.

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?

There is no output schema, but the description compensates by enumerating the returned fields and the ordering. For a three-optional-parameter read tool this is nearly complete; only edge behavior (empty buffer, freshness lag) is left unstated.

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 description coverage is 100%, so limit/source/category values and the default 20 / max 500 are already documented in the schema. The description only restates the purpose of the filters ('to narrow results') without adding semantics beyond what the schema provides, which is the baseline 3 case.

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?

Specific verb and resource: fetch recent messages from a live stream buffer, with explicit ordering (newest-first) and buffer size (20k ring). It clearly separates itself from analytical siblings like query_topic or analyze_topic by emphasizing 'snapshot of what's happening now', but it never names an actual alternative tool or states a boundary condition.

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?

'Use source/category filters to narrow results' plus 'Good for getting a snapshot of what's happening now' gives clear context for when this tool is the right choice. There is no statement of when NOT to use it or which sibling to prefer for historical/analytical queries, so it stops short of an explicit routing rule.

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