Skip to main content
Glama

rank_windows

Rank multiple time windows (7d, 30d, 90d, all-time) in one API call by pasting usage dashboard tables. Parse and score each window independently without submitting to the leaderboard.

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)
Behavior4/5

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

With no annotations, the description must disclose behavior. It explains that each window is parsed independently, named keys are required, partial input is allowed, and the tool does not submit to the board. It lacks an explicit statement about being read-only or non-destructive, but the context implies it.

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 concise and front-loaded with the core purpose, followed by key details (partial input, named keys, gotcha). It earns each sentence and does not waste words, though it could be slightly more streamlined.

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?

Given no output schema, the description mentions the cascade metrics returned but does not detail the exact output format. It covers the gotchas, parameter types, and intended use, making it fairly complete for a complex tool.

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 coverage is 100%, but the description adds value: it explains the independent scoring of windows, the requirement for named keys, the gotcha about positional order vs named keys in dashboards, and the source_tool parameter for tracking. This goes beyond the schema's 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 clearly states the tool's purpose: ranking all four time windows from a dashboard paste. It specifies the source tools (ccusage, tokscale, Claude Max) and the output cascade metrics (Υ, SNR, Leverage, etc.). This distinguishes it from siblings like 'tokenpull_submit' which submits 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?

Explicit guidance is provided: omit windows not available (partial input allowed, 1–4 windows), use named keys due to positional gotcha, and note that this tool does not submit to the board; for that use 'tokenpull_submit'. This helps the agent decide when to use this tool.

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