Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

No annotations are provided, so the description carries the full behavioral burden and largely drops it. It does not say what is returned (a row? a list?), how the limit cap of 50 behaves, how ties or nulls are handled, or what happens if the named column is non-numeric despite the 'numeric column' requirement. The only behavioral hint is the implicit highest-first default.

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 tight sentence with the operation front-loaded, plus a short parenthetical that aids intent matching. The trailing example adds real routing value rather than waste, though the em-dash construction is slightly awkward.

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 simple three-parameter read tool this is minimum viable: an agent can form the call from column plus the high/low hint. However, with no annotations and no output schema, the description should have covered the return shape and the limit default/cap, and it does not.

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% — 'ascending' is described in the schema, while 'limit' (1-50 cap) and the required 'column' have no schema descriptions. The description partially compensates by revealing that 'column' must be numeric and by restating the high/low direction, but it says nothing about the limit parameter or the default value. Net effect is roughly baseline adequacy.

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 specific operation (returning the highest or lowest rows of the Cookievo dataset ranked by a numeric column), which the title only gestures at. It is distinguishable from dataset_stats and dataset_row by its ranking semantics. It stops short of naming a sibling it is not, so it lands at 4 rather than 5.

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 quoted flavor text ("which is the most/least X") implicitly tells the agent what user intent maps to this tool, which is more than nothing. But there is no explicit when-to-use statement, no exclusion of dataset_stats/dataset_compare, and no note about when to prefer this over fetching a single row. Usage is implied, not stated.

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