Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

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

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It implies a read-only ranking query by describing returned 'rows', but does not explicitly confirm it is non-mutating, does not mention pagination, ordering ties, or what an empty result means. For a pure read/rank tool the gap is modest but real.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence leads with the operation and resource, then adds a clarifying intent phrase. Nothing is wasted and the most important information is front-loaded.

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?

With no annotations and no output schema, the description must define behavior on its own. It covers the core operation adequately for a simple tool, but omits default-limit behavior, tie-breaking, and return shape, which an agent would want before invoking.

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% (only 'ascending' is documented), so the description needs to compensate. It does add meaning for 'column' by specifying the column must be numeric, and 'highest (or lowest)' reinforces the ascending flag's direction. But 'limit' is never mentioned — neither its default nor the max of 50 — leaving a third of the parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific operation (returning the highest/lowest rows), the resource (the Wen Receipts dataset), and the mechanism (ranking by a numeric column), plus a plain-language framing of the use case ('which is the most/least X'). This clearly separates it from sibling tools like dataset_stats (aggregation), dataset_search (filtering), and dataset_row (single-row fetch).

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 description implies the use case via 'which is the most/least X', which suggests ranking/top-N retrieval rather than filtering or aggregation. However, it never states when to prefer this over dataset_stats or dataset_search, 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