Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the WalkthroughDesk 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.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It conveys ranking direction and numeric-column requirement but does not state what the output looks like, how ties are handled, or whether this is a read-only operation.

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 a single compact sentence with no filler. The key ranking purpose is front-loaded, though the trailing parenthetical phrase adds only modest value.

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

Completeness2/5

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

For a tool with no output schema and sparse parameter documentation, the description leaves important gaps: it does not describe the returned row structure, the default limit behavior, or how to combine limit and ascending effectively. It is adequate for simple use but not fully self-contained.

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 adds meaning by specifying the column must be numeric and that highest/lowest ranking is supported, but it does not explain the limit parameter beyond what the schema's min/max provides.

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 description clearly states the tool ranks rows of the WalkthroughDesk dataset by a numeric column and returns the highest or lowest rows. It does not explicitly contrast with sibling tools, but the ranking behavior is distinct enough from search, stats, and row retrieval.

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" implies usage for top/bottom ranking questions. However, it gives no explicit guidance on when to prefer this tool over dataset_search or dataset_stats, and no exclusions or alternatives are mentioned.

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 clear role: schema, provenance, exact row lookup, substring search, compare, stats, and top/bottom rows. dataset_row and dataset_compare both filter rows, but the distinction between exact single-value lookup and ordered multi-value comparison is clear enough from the descriptions.

Naming Consistency5/5

All tools follow a consistent dataset_<noun> pattern, making the tool family immediately recognizable and predictable. No mixed styles or vague verbs are present.

Tool Count5/5

Seven tools is well-scoped for a dataset exploration server: schema, provenance, lookup, search, comparison, stats, and ranking cover the core operations without unnecessary redundancy.

Completeness4/5

The tool surface covers schema discovery, provenance, exact lookup, substring search, comparison, numeric statistics, and ordering, which covers most common dataset questions. Minor gaps exist such as no general multi-condition filtering or pagination for search results, but agents can work around these.

Resources