Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

C2.7/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 mentions sorting by highest or lowest but does not explain the default ordering, the limit parameter's cap of 50, or the return format. It also does not specify that the column must be numeric or that the dataset is fixed. This is insufficient for an agent to anticipate behavior.

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 concise sentence that front-loads the purpose. It contains no fluff or redundancy, earning a high score for conciseness.

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 incomplete. It omits key operational details such as the default sorting order, the optional limit with its maximum, and what the result looks like. An agent would need to inspect the schema and possibly infer behavior, which is risky.

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?

The description adds some meaning to the 'column' parameter by stating it must be numeric, which is not in the schema. However, it does not explain the 'limit' parameter or its constraints, and the 'ascending' parameter is already described in the schema. With only 33% schema coverage, the description should compensate more but falls short.

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 Corp Tax Calculator dataset by a numeric column, identifying the core operation. However, it does not explicitly distinguish it from sibling tools like dataset_row or dataset_stats, which also operate on the dataset. The verb 'rank' is implicit via 'highest (or lowest) rows', but it is clear enough.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as dataset_search, dataset_stats, or dataset_row. It implies a ranking use case ('which is the most/least X') but does not explicitly state when this is the appropriate choice or when to use another tool.

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