Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

No annotations and no output schema, so the description carries the full behavioral burden, yet it discloses little: no default for 'limit', no indication of what the returned rows look like, and no tie-breaking or numeric-type handling. It only restates the ascending/descending behavior already covered by the schema.

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 extremum framing is stated first. The em-dash aside is slightly redundant with the opening clause but not wasteful.

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, key details are missing: default limit, cap behavior at 50, and the shape of the returned rows. The description is adequate for a first call but not complete.

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 low (33%), so the description must compensate, and it does add one meaningful constraint — the column must be numeric — plus the highest/lowest mapping. It still says nothing about 'limit' (no default, no max-of-50 note) or the accepted column-name format.

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?

States a specific operation ('highest (or lowest) rows ... by a numeric column') on a named dataset, which an agent can distinguish from siblings like dataset_stats or dataset_row. It does not, however, explicitly name or contrast with those siblings, so the differentiation is implicit.

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 parenthetical 'which is the most/least X' gives an implied use case (extremum questions) but offers no explicit when-to-use vs. dataset_stats/dataset_search guidance and no exclusions. Usage is inferable rather than 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