Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Retainvo 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/5.0
Behavior2/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 states the core ranking behavior but does not disclose default limit behavior, tie handling, null handling, or whether the result is a sorted list or a truncated top-N set. The description adds little beyond the title and tool name.

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 one concise sentence with the key ranking idea front-loaded. It is not bloated, though the parenthetical quote adds only marginal value and partially duplicates the title.

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 top-N ranking tool, the description covers the essential purpose and the need for a numeric column. However, without an output schema or annotations, it does not fully clarify return shape, default limits, or edge-case behavior, so it is only minimally complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 needs to compensate. It usefully explains that 'column' must be numeric, but it does not explain the 'limit' parameter or clarify the default ordering beyond what the schema already says for 'ascending'. This leaves a meaningful parameter-semantics gap.

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 identifies the operation: returning the highest or lowest rows of the Retainvo dataset based on a numeric column. The phrase 'which is the most/least X' makes the intent easy to grasp, though it does not explicitly distinguish it from sibling tools like dataset_stats or dataset_search.

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 the use case: ranking rows by a numeric value to find extremes. However, it does not mention when to prefer this over sibling tools or when not to use it, leaving the routing decision mostly to the agent's 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.8/5.0
Disambiguation4/5

Tools are mostly distinct: columns, provenance, stats, and top handle schema, metadata, aggregates, and sorted rows, while row, compare, and search retrieve rows with clearly different matching semantics. Row and compare could be confused (exact vs any-of) but the descriptions make the distinction explicit.

Naming Consistency4/5

All tools share the 'dataset_' prefix and snake_case, giving a uniform and predictable family. However, the second element mixes nouns (columns, provenance, row, stats) with verbs (compare, search, top), so it is not a strict verb_noun pattern.

Tool Count5/5

Seven tools is within the ideal range and each tool covers a distinct dataset querying capability. There is no redundancy or bloat, and every tool earns its place for the server's narrow purpose.

Completeness5/5

The set covers schema discovery, provenance attribution, exact and fuzzy row retrieval, numeric statistics, and top-N ranking. For a read-only dataset exploration server, there are no obvious missing operations or dead ends.

Resources