Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Capanix 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.5/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 burden of behavioral disclosure. It adds useful context that rows are ranked by a numeric column and supports both highest and lowest directions. However, it does not disclose tie-breaking behavior, treatment of non-numeric or missing values, the default limit when omitted, or the shape of the returned data.

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 compact, with the core idea front-loaded and no filler. The em-dash quote is slightly stylized and the grammar is a bit off, but it earns its place by illustrating the intended query. It is appropriately sized for the tool's simplicity.

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 only 33% parameter coverage, the description is too thin. It omits important operational details such as what the returned rows look like, the default limit behavior, how ties are resolved, and how invalid columns are handled. An agent would need to infer or probe these behaviors.

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% (only 'ascending' is described). The description partially compensates by clarifying that 'column' must be numeric and implying that 'limit' controls how many top/bottom rows are returned. It does not explain the default limit or the exact expected column-name format, so compensation is incomplete.

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 Capanix dataset ranked by a numeric column, and the 'which is the most/least X' framing conveys the query intent. It does not differentiate from sibling tools, but no sibling tools were provided. The phrasing 'rows ... is' is slightly awkward but does not obscure meaning.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly frames the user scenario this tool answers: 'which is the most/least X'. This gives clear context for when to invoke it. It does not provide when-not-to-use guidance or mention alternatives, but with no sibling tools listed, there is limited opportunity to do so.

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.9/5.0
Disambiguation4/5

Each tool has a distinct operation in principle, but dataset_row and dataset_compare both filter by column values and could be confused for single-value queries. Overall, search, stats, top, columns, and provenance are clearly separated.

Naming Consistency4/5

All tools share the consistent dataset_ prefix and snake_case style, which aids recognition. However, the second part mixes verb forms (compare, search) with noun forms (columns, provenance, row, stats, top), so the pattern is not perfectly uniform.

Tool Count5/5

Seven tools is well-scoped for a read-only dataset exploration server. Each tool addresses a distinct common need: schema discovery, provenance, exact lookup, free-text search, comparison, statistics, and top/bottom ranking.

Completeness5/5

The tool surface covers the full range of expected dataset queries: understanding the schema, retrieving exact rows, searching, comparing values, computing statistics, ranking, and properly attributing the data. No critical operation appears to be missing for the stated purpose.

Resources