Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Reputzo 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. Dates show when Glama detected each change.

  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 present, so the description carries the disclosure burden. It explains the core rank-ordering behavior (highest or lowest by numeric column) but does not disclose the default when limit is omitted, tie-breaking behavior, or how invalid or non-numeric columns are handled.

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 front-loaded sentence conveys the behavior, scope, and a concrete query example with no filler. Every phrase earns its place.

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 signature this is mostly adequate, but the optional limit has no stated default and there is no output schema describing what the ranked rows look like. An agent could make a valid call but might not know what response or default row count to expect.

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 33%, so the description needs to compensate. It adds the key constraint that the column must be numeric and clarifies highest vs. lowest ordering, but it leaves the limit parameter to be inferred from its name and schema bounds.

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?

Title 'Rank rows by a numeric column' states a specific verb and resource, and the description elaborates on highest/lowest rows and the 'which is the most/least X' use case. It is clear enough to distinguish from sibling tools like dataset_search or dataset_stats, though it does not explicitly name a sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear use-case trigger: ranking rows by a numeric column to answer 'which is the most/least X.' It does not explicitly list exclusions or alternative tools, but the context for when to use this tool is readily apparent.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools are clearly distinct (schema, provenance, stats, top), but dataset_row and dataset_compare can be confused since both filter by column values — the exact vs. multiple-values distinction is subtle, though search is clearly different with substring matching.

Naming Consistency5/5

All tools follow the dataset_ prefix with a clear noun (columns, compare, provenance, row, search, stats, top), making the naming pattern perfectly consistent and predictable.

Tool Count5/5

Seven tools is well-scoped for querying a single dataset, covering schema, content, search, comparison, statistics, ranking, and provenance without unnecessary bloat.

Completeness4/5

The surface covers all common dataset query operations (schema, lookup, filtering, search, stats, ordering, provenance), but there is no tool for aggregating by groups or listing dataset versions, which are minor gaps.

Resources