Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of explaining behavior. It correctly conveys that rows are sorted ascending or descending by a numeric column and that the output consists of the highest or lowest rows. However, it does not mention default limits, tie handling, invalid column behavior, or the shape of the returned result.

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 core behavior: ranking rows of a specific dataset by a numeric column. The clarifying phrase "which is the most/least X" is slightly redundant with the main sentence but still helps convey user intent without adding meaningful bulk.

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?

For a simple read-only ranking tool, the core behavior and parameters are mostly covered, and the schema documents constraints on limit and ascending. Still, there is no output schema and no description of the return format, default limit, or error behavior, leaving some ambiguity for an agent invoking the tool.

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 only 33%, so the description must compensate. It does add meaningful semantics by clarifying that the column must be numeric and that ascending controls lowest-first ordering. However, the limit parameter is left undocumented in both the description and the schema apart from its numeric constraints.

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 HostingByStack dataset by a numeric column, using terms like "highest" and "lowest" that match the title. It does not explicitly name sibling alternatives, but the purpose is specific enough to avoid obvious confusion with search, stats, or row-lookup tools.

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 gives no guidance on when to use this tool versus alternatives such as dataset_row, dataset_search, or dataset_stats. There is no mention of when ranking is preferred over filtering or aggregation, so an agent must infer usage from the tool name alone.

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

A3.8/5.0
Disambiguation4/5

The dataset_* tools are mostly distinct, but dataset_row and dataset_compare overlap: both retrieve rows by matching a column value, and compare can effectively do row's job with a single value. The enquiry_* tools are clearly separated by behavior, fields, and submission.

Naming Consistency4/5

Tool names consistently use lowercase snake_case with clear domain prefixes: dataset_* and enquiry_*. However, some names are nouns (dataset_columns, dataset_row, dataset_stats) while others are verbs or adjectives (dataset_compare, dataset_search, dataset_top), so the pattern is not perfectly uniform.

Tool Count5/5

Ten tools is well-scoped for a server covering two clear areas: read-only dataset exploration and enquiry submission. Each tool has a practical role, and the count is comfortably within the ideal range.

Completeness4/5

The dataset side covers schema, provenance, exact lookup, substring search, comparisons, statistics, and top/bottom rows, which is strong for a read-only dataset server. The enquiry side covers describing the process, listing fields, and submitting with a two-step confirmation, though there is no way to check submission status or cancel an enquiry.

Resources