Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Equipment Rental Compare 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.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and largely fails it: it never states that results are capped at 50 rows, what the default limit is, whether ties are broken deterministically, or what the returned rows look like. The only disclosed trait, high-vs-low ordering, is already encoded in the ascending parameter.

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, front-loaded with the operation and scoped to the named dataset, with the parenthetical example adding an interpretive hook. Nothing is wasted, though the terseness comes at the cost of the missing operational detail.

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

Completeness3/5

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

For a three-parameter tool with no annotations and no output schema, the description is minimally viable: it establishes purpose and the numeric-column constraint. It leaves the limit parameter's behavior and the shape of the result unexplained.

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 33% (only ascending is documented), so the description must compensate. It does clarify that the column must be numeric, which the bare schema does not say, but limit's default and 50-row ceiling remain undocumented in both places.

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?

Names a specific operation (return highest/lowest rows) on a specific resource (the Equipment Rental Compare dataset) keyed by a numeric column, and frames it as the answer to 'which is the most/least X'. It does not name or distinguish itself from any sibling such as dataset_search or dataset_stats, which are the likely alternatives for this kind of query.

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 'which is the most/least X' framing implies the use case (extremal lookup rather than full listing or aggregation), which is better than nothing. However it never states when to prefer this over dataset_stats, dataset_search, or dataset_row, nor any prerequisites or exclusions.

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