Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

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

A4/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does state that rows are ordered highest/lowest by a numeric column and that the result is a set of rows. However, it does not disclose default limit behavior, handling of non-numeric columns, ties, or output formatting, leaving meaningful gaps.

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 efficient sentence with a useful illustrative example and no filler. It front-loads the core ranking behavior and is appropriately sized for a tool of this complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter tool with no output schema, the description covers the essential return value ('rows'), the ordering direction, and the column type requirement. It is nearly complete, though limit semantics and edge-case behavior are left implicit.

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%, so the description should compensate. It adds the important 'numeric column' constraint for the column parameter, but gives no explanation of the limit parameter's role as the number of rows returned, and only the schema covers ascending's behavior. Partial but not sufficient.

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 title and description name a specific operation: returning the highest or lowest rows of the dataset by a numeric column, with a concrete query example ('which is the most/least X'). This clearly differentiates it from siblings like dataset_search (searching) and dataset_stats (aggregate statistics).

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 context for use — answering 'most/least X' questions by ranking rows — but does not explicitly name when to prefer it over sibling tools or list exclusions. This is clear context without alternative guidance, so it earns a 4 rather than a 5.

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.2/5.0
Disambiguation5/5

Each tool targets a distinct query mode: schema, provenance, exact lookup, substring search, multi-value comparison, numeric aggregates, and top/bottom rows. Although dataset_row and dataset_compare both filter on column equality, their descriptions clearly separate single-value from multi-value ordered use.

Naming Consistency4/5

All tools share a consistent dataset_ prefix and snake_case, making the family obvious. The suffix is not uniformly verb_noun, mixing nouns (columns, provenance, stats) with verbs (compare, search), so it is predictable but not perfectly consistent.

Tool Count5/5

Seven tools is well-scoped for a single-dataset query server. Each tool corresponds to a common question type about the FMlane dataset, and none feel redundant or superfluous.

Completeness4/5

The set covers the core data-exploration surface: schema, provenance, exact/contains lookup, comparisons, numeric summaries, and extremes. Minor gaps exist, such as no distinct-value enumeration or grouped counts, but they can usually be worked around with dataset_compare and dataset_search.

Resources