Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Med Spa Cost Checker 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 behavioral burden. It implies a read operation but never states that it is non-destructive, says nothing about the 50-row cap, tie handling, or what the response contains. Most of the behavioral surface is left undocumented.

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 front-loaded sentence with no filler; the ranking intent and the natural-language question it answers are stated up front. The em-dash aside is slightly awkward but costs little.

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 a third of parameters documented, the description should do more work. It never explains what a 'row' looks like on return, whether all columns or only the ranked column come back, or how 'limit' behaves, leaving an agent to guess at invocation and output shape.

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 description coverage is only 33% (only 'ascending' documented), so the description should compensate more than it does. It does add real meaning for 'column' (must be numeric) and restates the highest/lowest polarity that maps to 'ascending', but the 'limit' parameter (range 1-50) is never mentioned or explained.

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 names a concrete operation (return the highest/lowest rows ranked by a numeric column) on a named resource (the Med Spa Cost Checker dataset), which is more specific than 'rank rows' alone. It does not, however, differentiate itself from plausible siblings like dataset_stats, dataset_search, or dataset_row.

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' gives an implied trigger question, so an agent can infer when to reach for this tool. There is no explicit when-not guidance, no mention of prerequisites such as the column needing to be numeric-enforced, and no named alternative (e.g. dataset_stats for aggregate extrema).

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