Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It accurately states the core ranking behavior (highest/lowest rows) and the numeric-column requirement, but says nothing about the default limit when omitted, error behavior for non-numeric or missing columns, or tie handling. An agent is left to guess at these edge behaviors.

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?

A single sentence, front-loaded with behavior ("highest (or lowest) rows... by a numeric column") followed by a compact intent gloss. Every phrase earns its place; only the minor overlap with the title keeps it from a 5.

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 annotations and no output schema, the description is thin. An agent can handle the happy path (valid numeric column, explicit limit) but cannot know the default limit behavior, the exact return shape, or what happens with a non-numeric or missing column — gaps that matter for correct invocation and result interpretation.

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 coverage is only 33% — only ascending has a description. The tool description adds a real constraint by calling the column "numeric," which the schema does not enforce (column is just a string), and it clarifies the ranking semantics behind ascending. It adds nothing about limit, though limit's bounds are self-evident in the schema.

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 states a specific operation — returning "the highest (or lowest) rows of the Subsroom dataset by a numeric column" — and glosses the intent as "'which is the most/least X'." This is clearly distinguishable in flavor from siblings like dataset_search or dataset_stats, though it never names them explicitly.

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 quoted user-question framing ("which is the most/least X") provides an implicit trigger for when to use this tool. However, it gives no explicit when-not-to-use guidance and does not differentiate from dataset_stats or dataset_search, which could plausibly answer similar 'most/least' questions.

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.

Resources