Skip to main content
Glama

rank_candidates

Rank candidate symbols by relative strength against a benchmark, delivering trend, RSI, ATR%, and drawdown metrics to shortlist names for deeper research.

Instructions

Order a candidate list by relative strength, with supporting measures.

Turns a raw list into a shortlist worth spending the research agents on.
Returns trend structure, distance from the 50-day, RSI, ATR as a percentage
of price and drawdown from the one-year high for each name. Symbols whose
history could not be retrieved appear under `unavailable` rather than
quietly dropping out.

This orders candidates; it does not judge them.

Args:
    symbols: Up to 40 symbols. Each costs a separate history request.
    benchmark: Symbol for relative strength, default "SPY".
    lookback_days: Calendar days of history per symbol.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolsYes
benchmarkNoSPY
lookback_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses concrete behavioral details: symbols with missing history appear under 'unavailable' rather than being silently dropped, each symbol costs a separate history request (rate/cost implication), and the tool returns specific metrics (trend, RSI, ATR, drawdown). This goes well beyond a generic read-only expectation, though it does not mention edge cases like invalid symbols or network errors.

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 well-structured: a one-sentence summary, a supporting paragraph on usage and outputs, a clear non-goal statement, and a compact Args section. Every sentence adds information; there is no fluff or repetition. The front-loading makes the core purpose immediately obvious.

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?

Despite having an output schema, the description enriches context by explaining the 'unavailable' behavior, the nature of the metrics, and the per-symbol cost. The tool has only three parameters and no nested objects, so the description covers the full decision-making surface. It is complete for both selection and invocation.

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

Parameters5/5

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

Schema coverage is 0%, so the description must explain all parameters, and it does so thoroughly. 'symbols' is described with a limit and per-symbol cost, 'benchmark' is explained as the relative-strength reference with default SPY, and 'lookback_days' is defined as calendar days of history. This adds meaning the raw schema lacks.

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 opens with a specific verb phrase 'Order a candidate list by relative strength', immediately distinguishing this as a ranking/screening tool compared to sibling data-retrieval tools. It further clarifies the output purpose ('shortlist worth spending the research agents on') and explicitly states what it does not do ('does not judge them').

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 phrase 'Turns a raw list into a shortlist worth spending the research agents on' provides clear context for when to use this tool (as a pre-research screening step). It also gives an explicit non-use ('does not judge them') to set expectations. However, it does not name alternative tools, so it stops short of a full 5.

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/Saivikaskillamsetty/tradingdesk'

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