Skip to main content
Glama

rank_windows

Read-onlyIdempotent

Rank all four time windows (7d/30d/90d/all-time) from a dashboard paste in one call, computing cascade metrics per window. Accepts partial input with named keys.

Instructions

Rank all four time windows (7d/30d/90d/all-time) in one call from a dashboard paste — paste the full table from ccusage, tokscale, or the Claude Max usage dashboard and get the cascade (Υ, SNR, Leverage, Velocity, 10xDEV, class, card) for each window. Each window is parsed and scored independently. Named keys required (input/output/cacheCreate/cacheRead); positional order is NOT safe here (dashboards list cache_read before cache_create — see WINDOWED_PROFILES gotcha). Omit windows you don't have — partial input is allowed (1–4 windows). Does NOT submit to the board; use tokenpull_submit for zero-paste publishing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
7dNoccusage/tokscale paste or JSON for the 7-day window (optional)
30dNoccusage/tokscale paste or JSON for the 30-day window (optional)
90dNoccusage/tokscale paste or JSON for the 90-day window (optional)
allNoccusage/tokscale paste or JSON for the all-time window (optional)
source_toolNowhich token reader produced the paste (for cross-tool variance tracking)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
windowsNoCascade results per window
Behavior5/5

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

Annotations already indicate readOnlyHint and idempotentHint, but the description adds important behavioral traits: independent parsing per window, no submission capability, and partial input allowance. No contradiction with annotations.

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?

The description is dense but well-structured with critical information front-loaded. A minor redundancy (e.g., 'from a dashboard paste' could be shortened) prevents a perfect score.

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?

Given the complexity of multi-window ranking, the gotcha, and partial input, the description covers all essential context. An output schema exists (mentioned in signals), so return values need no explanation. Completeness is excellent.

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 description coverage is 100%, yet the description adds significant meaning: required named keys, positional unsafety, partial input flexibility, and purpose of source_tool. The gotcha warning is especially valuable.

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 states the tool ranks all four time windows from a dashboard paste, computing cascade metrics per window. It distinguishes from the sibling tool 'tokenpull_submit' by explicitly stating it does NOT submit to the board.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (having a paste from cusage/tokscale/etc.), provides a crucial gotcha about positional order, and directs to tokenpull_submit for publishing. Full guidance on partial input is also given.

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/SunrisesIllNeverSee/sigrank-mcp'

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