Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Fax Line Index 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, the description carries the full behavioral burden. It discloses that the tool returns top or bottom rows, but says nothing about the default sort direction, limit handling, behavior with non-numeric columns, ties, or output format.

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 short and front-loads the main action. The explanatory 'which is the most/least X' adds a bit of redundancy but keeps the intent readable; no significant wasted text.

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, no output schema, and sparse parameter documentation, the description leaves important operational details unstated, such as the limit default and maximum, default ordering, and expected return shape. An agent would need to inspect the schema further and still may not know the output semantics.

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%, and the description does not explain the 'column', 'limit', or 'ascending' parameters. The phrase 'by a numeric column' hints at the column parameter, but it does not compensate for the low schema coverage.

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 identifies the tool's job: returning the highest or lowest rows of the dataset by a numeric column, phrased as 'which is the most/least X'. This is distinct from sibling tools like dataset_row or dataset_stats, though it does not explicitly name any sibling.

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?

There is no guidance on when to use this tool versus alternatives such as dataset_stats or dataset_search. The 'most/least X' phrasing implies a ranking use case, but no explicit conditions, exclusions, or alternatives are provided.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: schema, provenance, search, exact match, stats, top, compare, describe, fields, and submit. No overlap or ambiguity between dataset exploration and enquiry submission tools.

Naming Consistency5/5

All tools follow a consistent snake_case pattern with clear prefixes (dataset_ and enquiry_) and descriptive suffixes (columns, search, stats, submit). Naming is uniform and predictable.

Tool Count5/5

10 tools is well-scoped for a server that handles dataset exploration (7 tools) and an enquiry workflow (3 tools). Each tool earns its place and covers necessary operations without redundancy.

Completeness5/5

The dataset tools cover schema, provenance, search, exact match, statistics, top values, and comparison, while the enquiry tools cover description, field schema, and submission with confirmation. No obvious gaps for the stated purpose.

Resources