Skip to main content
Glama
tickerbot

Tickerbot MCP Server

Official
by tickerbot

tickerbot_scan

Filter the ticker universe with SQL WHERE clauses, scan historical snapshots, and aggregate stats like counts and medians by sector.

Instructions

Run a SQL WHERE clause against the live ticker universe (or against a past moment with asof — unlimited depth on every plan). Returns matching tickers sorted by chosen column, OR — with group_by — aggregate rollups instead of rows (breadth stats: "count of tickers above their 200dma by sector", "median RSI by sector on 2026-03-03"). The q grammar is a flat WHERE: column names from the schema, AND/OR/NOT, comparison operators, numeric/string literals. No JOIN or subqueries. Example: gap_up AND market_cap < 2000000000 AND NOT earnings_this_week.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesSQL WHERE expression. Max 4000 chars.
dirNoSort direction.
asofNoOptional YYYY-MM-DD or ISO timestamp for a historical scan. Unlimited depth on every plan.
fullNoRow mode: return the FULL wide row for each match (every column) instead of the slim default projection.
limitNoPage size. Max 100. Default 50. Aggregate mode does not paginate — response sets `truncated: true` when groups were cut.
orderNoSort column. Default day_change_pct (rows) / tickers (aggregate).
cursorNoOpaque cursor (row mode only).
fieldsNoComma-separated extra columns to include (row mode only).
havingNoAggregate filter (requires group_by). Example: `COUNT(*) >= 10`.
selectNoAggregate output items (requires group_by). Default: group keys + COUNT(*) AS tickers. Aggregates: count/avg/sum/min/max/stddev/string_agg + FILTER (WHERE …). Alias items with AS. Example: `sector, COUNT(*) AS n, AVG(rsi_14) AS avg_rsi`.
group_byNoAGGREGATE MODE: 1–6 comma-separated group keys (columns or expressions, e.g. `sector`). Results become rollup rows instead of tickers. Alias a key with `AS` to name its JSON key; un-named expressions are named for you.
universeNoOptional universe slug.
Behavior4/5

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

With no annotations, the description takes on the transparency burden. It reveals key behavioral constraints: the flat WHERE grammar, no JOIN/subqueries, unlimited asof depth, and the row-vs-aggregate output modes. It does not mention read-only implications, pagination, or error handling, but the stated limits give substantial insight beyond the schema.

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 dense but every sentence earns its place: it opens with the core action, then explains output modes and grammar constraints, and ends with a practical example. No filler or redundancy; it is appropriately sized for the tool's complexity.

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 12-parameter scan tool with no output schema, the description covers the essential conceptual model: row mode, aggregate mode, the query grammar, and a representative example. It does not spell out default row projections or pagination details, but those are sufficiently documented in the input schema, so only a minor gap remains in return-value clarity.

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 already describes all parameters in detail (100% coverage), so the baseline is 3. The description adds valuable context by explaining the q grammar (AND/OR/NOT, comparison operators, literals) and demonstrating group_by rollups with examples, which deepens understanding beyond the schema's short parameter descriptions.

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 uses a specific verb+resource ('Run a SQL WHERE clause against the live ticker universe') and clearly distinguishes this tool from siblings by explaining its filtering and aggregation power. It also provides a concrete example, making the purpose unmistakable.

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?

It clearly conveys when to use the tool: for arbitrary SQL-like filtering and aggregations over the ticker universe, with a past-moment option. However, it doesn't explicitly name alternative tools (e.g., list_tickers, get_ticker) or state when NOT to use this in favor of those, so it stops short of full exclusionary guidance.

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/tickerbot/tickerbot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server