Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the KnownVehicle 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/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. It discloses the core behavior — returning the highest or lowest rows by a numeric column and the highest-first default — but is silent on edge cases such as non-numeric column values, null handling, tie-breaking, and the shape of the returned rows. Partial but not complete behavioral disclosure.

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 compact sentence with a clarifying parenthetical. The intent is front-loaded ('highest or lowest rows') and nothing is wasted. It earns its place, though it is too brief to also serve the guidance role the tool needs.

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 moderately complex — three parameters, one required, no output schema, and no annotations — so the description must carry substantial weight. It covers the what (rank by numeric column) adequately but omits tool-selection guidance and edge-case behavior. For a ranking tool amidst a large sibling set, this leaves meaningful gaps the agent must guess at.

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% (only 'ascending' has a schema description), so the description should compensate for 'column' and 'limit'. It does not: the only parameter hint it adds is the title's 'numeric column' constraint. The meaning of 'limit' bounds and the column type requirement are left to inference rather than spelled out.

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 KnownVehicle dataset by a numeric column, with the memorable framing 'which is the most/least X'. It names a specific verb (rank/top), a specific resource, and the operative dimension, and it aligns with the title. It doesn't, however, explicitly contrast itself with siblings like dataset_stats or dataset_search, which keeps it from a 5.

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?

No guidance is given on when to use this tool versus its alternatives. With nine siblings operating on the same dataset (dataset_row, dataset_search, dataset_stats, dataset_compare), the agent must infer that ranking is the right operation. No exclusions or conditions are offered.

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