Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the GPA Grade Compare 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.1/5.0
Behavior3/5

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

No annotations are present, so the description must disclose behavior. It states the tool returns highest or lowest rows, covering the ascending parameter contract. However, it does not mention error cases (e.g., invalid column, no data), how ties are resolved, or how many rows are returned when 'limit' is omitted. The behavioral disclosure is basic but not incomplete.

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 a clarifying 'which is the most/least X' addendum. It uses no words wastefully and front-loads the core ranking behavior. It could be slightly more structured with separation between operation and example, but it is appropriately sized.

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?

With no output schema and no annotations, the description should clarify return format and edge cases. It does not state that the tool returns rows, their structure, or what happens with a non-numeric column. It also names a specific dataset but gives no context about that dataset's schema. For a 3-parameter tool, this description is thin.

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%, with only 'ascending' having a description. The description adds that the column must be numeric, which helps, but it does not explain the 'limit' parameter, its default, or the meaning of the boolean. The description does not compensate enough for the lack of schema descriptions.

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 a verb 'rank' and a resource: rows of the GPA Grade Compare dataset by a numeric column. The phrase 'which is the most/least X' clarifies the intended outcome. It does not explicitly name sibling tools but the focus on top/bottom rows differentiates it from the other dataset tools.

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 gives a clear use case ('which is the most/least X') but does not explain when to prefer this over alternatives like dataset_search, dataset_stats, or dataset_row. There is no explicit when-not or exclusions, so it only implies usage rather than defining decision boundaries.

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