Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Binstockly 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.5/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 clearly states the core behavior (returning top rows by a numeric column), but it does not mention default limit, default ordering direction, null/non-numeric handling, or explicitly confirm the operation is read-only. No contradiction with annotations exists.

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 sentence with an illustrative quote, containing no redundant words. The key details—ranking by a numeric column, highest/lowest behavior, and the intended question—are front-loaded and each phrase adds value.

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 3-parameter tool without an output schema, the description conveys the high-level purpose and return concept ('rows'), but it omits important context such as default limit, output shape, and how to choose among sibling tools. It is adequate for basic understanding but not fully complete for an agent anticipating edge cases or tool selection.

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% (ascending has a description). The description adds meaning by indicating the column must be numeric and linking 'lowest first' to the ascending flag, but it says nothing about the limit parameter. Since schema coverage is low, the description partially compensates but leaves limit semantics implicit.

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?

The title 'Rank rows by a numeric column' states a specific verb and resource, and the description clarifies it returns the highest or lowest rows for a numeric column, with a clear use-case example ('which is the most/least X'). However, it does not explicitly distinguish itself from sibling tools like dataset_search or dataset_stats, so it falls short of a 5.

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 when to use this tool via the phrase 'which is the most/least X' and specifies that the ordering column must be numeric. Yet it provides no explicit guidance on when not to use it or which sibling tool to choose instead, leaving the routing decision to inference.

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

Each tool has a distinct role: schema, provenance, exact lookup, substring search, row comparison, summary stats, and top/bottom ranking. The only minor overlap is between dataset_row and dataset_compare for single-value exact matches, but the descriptions clarify their intended use cases.

Naming Consistency5/5

All tools follow the same dataset_ prefix with concise, lowercase, underscore-separated names. The naming pattern is highly predictable and makes the tool surface easy to scan.

Tool Count5/5

Seven tools is well-scoped for a read-only dataset exploration server. Each tool covers a meaningful querying or metadata need without redundancy or bloat.

Completeness4/5

The tool set covers schema inspection, provenance, exact matches, substring search, comparisons, numeric statistics, and top/bottom rankings. A general paginated 'list all rows' capability is missing, but agents can work around it using search or compare tools.

Resources