Skip to main content
Glama

Rank by stat

rank_by_stat

Rank the first 25 Pokémon by a base stat. Specify limit and order to see top or bottom entries.

Instructions

Rank all 25 entries by a base stat. order defaults to desc, limit defaults to 5.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statYesStat to rank by.
limitNoHow many to return (default 5).
orderNo"asc" or "desc" (default desc).desc
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It mentions the fixed scope ('all 25 entries') and default values for order and limit, which is useful. However, it does not describe the output format, tie-breaking behavior, or whether it is a read-only operation, leaving some ambiguity.

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 two concise sentences, front-loaded with the primary action and followed by essential defaults. Every word adds value, with no redundancy or filler.

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 simple ranking tool with full parameter schema coverage and no output schema, the description adequately covers purpose and defaults. It does not explain the exact return shape, but this is a minor gap given the tool's simplicity and the context provided by sibling tools.

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

Parameters3/5

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

The input schema already provides complete parameter descriptions and defaults (stat enum, limit default 5, order default desc). The description's mention of defaults duplicates schema information, adding no new semantic insight. Baseline of 3 applies due to 100% schema coverage.

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 function with a specific verb ('Rank') and resource ('all 25 entries by a base stat'). This differentiates it from sibling tools like search_by_name or get_pokemon, which serve other purposes.

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

Usage Guidelines3/5

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

The description implies its use case (ranking entries by a stat) but does not explicitly state when to prefer it over alternatives or provide exclusions. There is no mention of competing tools or circumstances where another tool would be more appropriate.

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/alexverdin/mcp-pokedex-demo'

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