Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

A3.7/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 burden of behavioral disclosure. It discloses the core ranking behavior and ascending/descending intent, but it does not mention default limits, tie-handling, response shape, or what happens if the column is non-numeric.

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, efficient sentence that front-loads the core behavior and adds a clarifying example. Every part earns its place; there is no wasteful verbiage.

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?

The tool is relatively simple with three optional-ish parameters and no output schema, so a minimal description can be sufficient. Still, it lacks guidance on default limit behavior, expected output format, and how this differs from dataset_stats or dataset_row, making it only minimally complete.

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 low (33%), so the description must compensate. It adds the important meaning that 'column' must be numeric, but it does not explain 'limit' beyond the schema's min/max, and the 'ascending' semantics are mostly already covered by 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?

Description clearly states a specific operation: return the highest/lowest rows of the PTOroom dataset by a numeric column, with a concrete use-case phrase ('which is the most/least X'). It is clear and specific, but it does not explicitly contrast itself with sibling tools like dataset_stats or dataset_row.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The quoted use case 'which is the most/least X' gives an agent a clear context for when to invoke this tool. It does not provide explicit exclusions or mention alternatives, but the intended query scenario is understandable enough to guide selection.

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