Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It conveys the core behavior (sorting by a numeric column, ascending or descending) and the constraint that the column must be numeric. However, it does not disclose the output format, tie handling, default sort order (though implied by schema), or behavior when the column is non-numeric. This is a moderate gap given no annotations.

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?

The description is a single concise sentence that is front-loaded with the core purpose. It contains no filler and every word contributes to understanding the tool's function, making it highly efficient.

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?

The tool is relatively simple with three parameters, but there is no output schema and no annotations. The description explains the ranking behavior but omits details about the return value (e.g., does it return full rows or just the column?), handling of ties, and default ordering. While adequate for basic use, an agent might need more information to fully anticipate results.

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' has a description), so the description must compensate. It adds the important semantic that the column must be numeric, which is useful. It does not elaborate on 'limit' or the required 'column' beyond what the schema already specifies, but the numeric constraint is a meaningful addition.

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?

The description clearly states the tool's purpose: returning the highest or lowest rows of a dataset ordered by a numeric column. It uses a specific verb ('highest/lowest rows') and identifies the resource ('Ppmly dataset') and the key attribute ('numeric column'). This distinguishes it from siblings like dataset_search or dataset_stats, which address different queries.

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 usage for ranking questions ('which is the most/least X') but does not explicitly state when to use this tool versus alternatives. There is no mention of when not to use it or any comparison to sibling tools, so guidance is only implicit.

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

A4/5.0
Disambiguation4/5

Each tool has a distinct purpose: schema, exact lookup, substring search, comparison, stats, top values, and provenance. The 'compare' and 'row' tools could overlap slightly for exact matches, but their descriptions clarify the intended use.

Naming Consistency5/5

All tools use a consistent 'dataset_' prefix followed by a clear noun or verb, such as dataset_columns, dataset_row, dataset_top. This makes the tool set predictable and easy to navigate.

Tool Count5/5

Seven tools is well within the ideal 3–15 range and covers the essential query operations for a dataset without redundancy. The count feels appropriately scoped for a data exploration server.

Completeness4/5

The toolkit covers schema, lookup, search, comparison, statistics, ranking, and provenance, which addresses most common dataset questions. A generic 'list all rows' or pagination tool is missing, but the existing tools likely cover typical use cases.

Resources