Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the core behavior (highest or lowest rows, numeric column) and the question it answers, but does not mention default ordering, default limit behavior, tie handling, or what the returned result looks like. This is minimally viable but not rich.

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 sentence, front-loaded with the key behavior, and the quoted 'which is the most/least X' gives a helpful mental model. It slightly restates the title, but the added dataset name and use-case frame make it worthwhile.

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 three-parameter tool with no output schema and no annotations, the description should explain return shape and default behavior more explicitly. It mentions rows and numeric ranking, and the schema covers ascending plus limit bounds, so it is workable, but noticeable gaps remain.

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 adds useful meaning by requiring the column to be numeric and by mapping 'lowest' to the ascending behavior, but it does not explain the limit parameter's role or default, leaving a gap in a low-coverage schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title's 'Rank rows by a numeric column' plus the description's 'highest (or lowest) rows of the HeadcountDesk dataset by a numeric column' gives a concrete operation, resource, and sort semantics. The 'which is the most/least X' phrasing helps distinguish it from siblings like dataset_search and dataset_stats.

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 'which is the most/least X' phrase implies the intended use case: finding extreme rows by a numeric column. However, the description never explicitly says when to choose this over dataset_stats, dataset_search, or dataset_row, and it provides no exclusions or alternative routing.

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.1/5.0
Disambiguation5/5

Each tool maps to a distinct query type: schema discovery, provenance, exact matches, substring search, value comparison, numeric stats, and top/bottom rows. The potential overlap between dataset_row and dataset_compare is mitigated by the explicit X-vs-Y ordering purpose of compare.

Naming Consistency4/5

All tools share the consistent dataset_ prefix and snake_case, making the family immediately recognizable. However, suffixes mix nouns (columns, row, stats) with verbs (compare, search), so the pattern is not perfectly uniform.

Tool Count5/5

Seven tools is a well-scoped set for interacting with a single read-only dataset. Each tool covers a distinct user need without redundancy or overwhelming breadth.

Completeness5/5

The dataset surface is complete for the apparent purpose: schema, provenance, exact lookup, full-text search, comparison, summary statistics, and ranked extremes are all available. No obvious query type relevant to this domain is missing.

Resources