Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the OrderPadLedger 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.4/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 and does disclose the core behavior: selecting rows by numeric ordering, either highest or lowest. However, it does not state whether the operation is read-only, how ties or null values are handled, what the default limit is, or what the response structure looks like, leaving some behavioral uncertainty.

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, efficient sentence with a helpful illustrative phrase. It conveys the essential meaning without filler, though some of it overlaps with the title. Overall, it is concise and front-loaded.

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?

The tool has no output schema and no annotations, so the description must explain what the caller gets back. It does not mention the default limit when omitted, the return format, or edge-case behavior such as ties or missing values. For a simple query tool this is still a meaningful completeness gap.

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 low at 33%, with only "ascending" documented in the schema. The description partially compensates by clarifying that "column" must be numeric and that ascending/descending relates to highest/lowest, but it does not explain the "limit" parameter at all or explicitly map parameter names to behaviors.

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 description clearly states the tool returns the highest or lowest rows of a named dataset based on a numeric column, which directly expresses the ranking purpose. It is easy to distinguish from siblings like dataset_search or dataset_stats because it targets top/bottom row selection rather than filtering or aggregation.

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 phrase "which is the most/least X" gives a clear intended use case for ranking questions, but the description does not mention when to prefer this over siblings such as dataset_stats or dataset_row, nor does it state exclusions. The usage is implied rather than explicitly contrasted with alternatives.

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 role: schema, provenance, exact-match row lookup, substring search, multi-value comparison, numeric stats, and top/bottom ranking. The only mild overlap is dataset_row versus dataset_compare and dataset_search, but their descriptions clarify exact equality, multi-value filtering, and cell containment.

Naming Consistency4/5

All tools share the dataset_ prefix, making the family immediately recognizable. The suffixes mix nouns (columns, row, provenance, stats, top) and verbs (compare, search), so there is no strict verb_noun convention, but the pattern is predictable and readable.

Tool Count5/5

Seven tools is a well-scoped count for a single-dataset exploration server. Each tool covers a distinct query need without redundancy or unnecessary surface area.

Completeness5/5

The server covers the full read-only lifecycle of interacting with this dataset: schema discovery, provenance, row lookup, search, comparison, aggregation, and ranking. There are no obvious missing operations for its stated purpose.

Resources