Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Walkvo 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

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It adds the numeric-column requirement but mostly restates the ranking concept from the title. It does not disclose output format, default limit behavior, tie handling, or whether the returned rows are in sorted order.

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 compact sentence with no filler, and the core highest/lowest concept is front-loaded. It is efficient, though the brevity contributes to under-specification in other dimensions.

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?

With no output schema and no annotations, the description should clarify what the tool returns (e.g., rows, values, or counts) and how limit and ascending shape the result. It covers the numeric-column requirement but leaves the output format and ordering behavior undisclosed.

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?

Schema coverage is only 33%, and the description partially compensates: it clarifies that 'column' must be numeric and maps 'highest/lowest' to the ascending flag. However, it says nothing about 'limit' and relies on the schema for the ascending default.

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 indicate the operation: return the highest or lowest rows of a dataset ordered by a numeric column. The 'most/least X' phrasing helps map natural-language ranking questions to this tool. It is distinct from siblings like dataset_row and dataset_stats, though it does not explicitly name them.

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?

Use is implied through 'which is the most/least X' for top-N/bottom-N questions, but there is no explicit statement of when to choose this tool over dataset_stats or dataset_search, and no exclusions or prerequisites are mentioned.

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