Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the RunbookDesk 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.1/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 burden of behavioral disclosure. It states the basic highest/lowest ordering behavior but does not mention default limit behavior, tie-handling, error cases, or the shape of the returned result. This is thin for a tool that must be invoked safely.

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 compact sentence with no filler and the core behavior is front-loaded. It loses a point because the title and description are somewhat redundant, both saying essentially 'rank rows by a numeric column.'

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 an under-described third parameter, this definition is too sparse. It does not tell the agent what a successful call returns, what the default limit is, or how invalid numeric columns are handled, leaving important gaps for correct invocation.

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?

The schema documents only one of three parameters semantically (ascending), so coverage is 33%. The description adds meaning for 'column' by specifying it must be numeric and clarifies ascending vs. descending, but it says nothing about the 'limit' parameter beyond what the schema's min/max imply.

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 that the tool returns the highest or lowest rows of the dataset based on a numeric column, with a concrete use case ('which is the most/least X'). This distinguishes it from row retrieval or search, though it does not explicitly name a sibling or state what it is not.

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 'most/least X' phrasing implies when the tool is appropriate, but the description gives no explicit guidance about when to prefer it over dataset_stats, dataset_row, or dataset_search. It provides context but 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

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct operation: schema, provenance, exact row lookup, fuzzy search, value-set comparison, numeric stats, and top/bottom ranking. Although row and search both retrieve rows, their matching semantics are clearly separated (exact equality vs. cell containment).

Naming Consistency5/5

All tools share the dataset_ prefix followed by a clear noun or verb indicating the operation, such as columns, row, search, stats, and top. This creates a predictable and uniform naming convention.

Tool Count5/5

Seven tools is well-scoped for a dataset query server. Each tool covers a distinct query modality without unnecessary redundancy.

Completeness5/5

The set covers schema discovery, provenance, exact and fuzzy row retrieval, value-based comparison, numeric statistics, and ranking. This is a complete surface for exploring and reporting on a tabular dataset.

Resources