Skip to main content
Glama

Directional Flow ranking

get_df_ranking
Read-only

Closelook’s Directional Flow ranking: the nightly trend-quality score (recency-weighted regression on log-closes, ~330 covered stocks) ranked seven ways — top scores, rising fastest (21d), this week’s biggest moves (5d), steadiest builders (63d), still getting stronger, getting weaker, falling fastest. Mirrors closelook.net/stocks/rankings/directional-flow/. End-of-day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoWhich ranking cut (default: top = highest scores)
limitNoRows to return, 1–25 (default 10)

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark readOnlyHint=true and destructiveHint=false. The description adds valuable context: data freshness ('nightly', 'End-of-day'), methodology ('recency-weighted regression on log-closes'), and coverage (~330 stocks). This goes beyond what annotations convey, though it doesn't disclose every edge case.

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 yet efficient. The first sentence is a compact definition, the seven views are listed, and the closing sentence provides source context. No filler words; every clause contributes.

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?

With no output schema, the description carries a heavier burden. It explains the ranking concept and all view options, but doesn't explicitly state the response format (e.g., whether it returns ticker and score). For a simple ranking tool, it's nearly complete, but a brief mention of output shape would seal the gap.

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?

Schema covers both parameters with descriptions and an enum for view. The description enhances the enum by mapping each value to human-readable phrases with timeframes: 'rising fastest (21d)', 'this week’s biggest moves (5d)', etc., adding meaning not present in the schema itself.

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 clearly identifies the tool as returning the nightly Directional Flow ranking, with specific methodology (recency-weighted regression on log-closes) and enumerates all seven ranking views. This distinguishes it from sibling tools like get_signal_scores or get_factor_regime.

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 description provides clear context: it is the nightly, end-of-day ranking tool, and it mirrors a known web page. It implies when to use it (for trend-quality rankings) without explicitly naming alternatives or exclusion scenarios, so it stops short of a 5.

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.

TDQS

A4/5.0
Disambiguation4/5

Most tools map cleanly to a distinct Closelook surface — indices, macro boards, rankings, research, tape, wires. There are a few near-neighbor pairs like get_df_ranking vs get_ranking and get_market_instrument vs get_stock_snapshot, but the detailed descriptions resolve most potential misselection.

Naming Consistency5/5

Every tool follows a clear imperative verb + noun pattern — get_, define_term, compare_indices, search_closelook — with consistent snake_case and essentially all resource-oriented nouns. The naming is predictable and easy to navigate.

Tool Count4/5

25 tools is on the heavy side, above the typical well-scoped range, but each endpoint maps to a meaningful product area of Closelook's public site. The count is justified by the breadth of a financial intelligence service, though it could have been trimmed slightly.

Completeness5/5

The tool surface covers the major Closelook workflows: indices, rankings, macro monitors, stock-level data, earnings, wires, research search, and portfolio snapshots. For a read-only intelligence server there are no obvious dead ends — depth and background material is paired with lookups and daily updates.

Resources