Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the core behavior: returning highest or lowest rows by a numeric column. But it does not mention default limit behavior, ordering ties, null handling, or what the returned rows look like.

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

Conciseness4/5

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

The description is compact and front-loads the key operation. The quoted 'which is the most/least X' adds illustrative value, though the description is a fragment and could have used the space to mention limit defaults.

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, the description is usable but leaves important gaps. Without an output schema or annotations, it should state whether it returns full rows, how many are returned by default, and what the output ordering exactly is.

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 must compensate. It usefully clarifies that column must be numeric and maps highest/lowest to ordering, but it does not explain the limit parameter or what happens when limit is omitted.

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' and description 'highest (or lowest) rows ... by a numeric column' clearly state the action and resource. The ranking semantics are enough to tell it apart from siblings like dataset_row and dataset_stats, though it does not explicitly name those alternatives.

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 phrase 'which is the most/least X' signals the intended use case for ranking questions. However, there is no explicit guidance about when not to use this tool or when to prefer siblings like dataset_stats or dataset_search.

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 dataset operation: schema, provenance, exact lookup, multi-value comparison, substring search, numeric stats, and ranking. The only near-overlap is dataset_row and dataset_compare, but the multi-value/ordered behavior of compare makes its purpose clearly different.

Naming Consistency5/5

All tools follow a consistent dataset_<noun> snake_case pattern. The convention makes the tool surface predictable and easy to navigate.

Tool Count5/5

Seven tools is well-scoped for a dataset exploration server. Each tool covers a distinct querying need without the set feeling bloated or sparse.

Completeness5/5

The tool set covers the full lifecycle of exploring a read-only dataset: schema discovery, provenance, exact filtering, fuzzy search, comparison, statistics, and top/bottom ordering. There are no obvious dead ends for common dataset questions.

Resources