Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Outsourced IT Quotes 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 disclosure burden, and it largely abstains. It does not confirm this is a read-only operation with no side effects, does not describe the return shape, and does not mention the hard 50-row ceiling that materially limits results. The only behavioral cue offered is the implicit directionality of 'highest (or lowest)'.

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?

A single compact sentence with the operative concept ('highest (or lowest) rows ... by a numeric column') front-loaded, followed by a clarifying example. No filler or repetition, though the em-dash example is slightly redundant with the leading clause.

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 annotations, no output schema, and only 33% parameter coverage, the description leaves too much unstated for a tool an agent must call correctly: what a returned row looks like, how ties are broken, what happens with a non-numeric column, and what limit defaults to are all absent.

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% — just the 'ascending' flag is documented in the schema. The description usefully adds that the target column must be numeric, which the schema's bare 'string' type does not convey, and clarifies the highest/lowest semantics. It says nothing about 'limit', its default, or the maximum of 50, leaving one parameter entirely undocumented.

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 description states a specific operation (return the highest or lowest rows) on a specific resource (the Outsourced IT Quotes dataset) via a specific mechanism (a numeric column), and the quoted example 'which is the most/least X' makes the intent unambiguous. It does not, however, name or contrast itself with siblings like dataset_row or dataset_search, so an agent must infer the distinction.

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 phrase 'which is the most/least X' implies the class of question this tool answers, which is useful framing for selecting it over dataset_search or dataset_stats. But there is no explicit when-to-use/when-not guidance and no mention of an alternative tool for related tasks such as comparing two columns or aggregating statistics.

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