Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Sbarvo dataset by a numeric column — "which is the most/least X".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
columnYes
ascendingNotrue for the lowest first; default highest first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden. It discloses only that ranking is by a numeric column and can be highest or lowest; it does not state default ordering, the meaning of limit, behavior on non-numeric columns or ties, or the shape of the returned rows.

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 a single, front-loaded sentence with no wasted words. It is terse without being rambling, though it could have included a parenthetical on the default ordering without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and an output schema, the description is too thin. An agent still cannot predict the return format, default limit behavior, or error handling, and the lack of sibling differentiation means it may invoke dataset_stats instead for similar questions.

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

Parameters2/5

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

Schema description coverage is only 33%, so the description must compensate for undocumented parameters. It adds meaning for 'column' (must be numeric) and partially for 'ascending' (highest vs lowest), but it says nothing about 'limit', leaving a key parameter semantically empty.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title and description clearly state a ranking operation: get the highest or lowest rows of the dataset by a numeric column. The gloss 'which is the most/least X' makes the purpose concrete and distinguishes it from column-listing, stats, or search siblings, though it does not explicitly call out the difference.

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 a natural use case ('which is the most/least X') but gives no explicit when-to-use or when-not-to-use guidance. It doesn't mention alternatives like dataset_stats or dataset_search, so the agent must infer the appropriate context from the tool name and siblings.

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.

Resources