Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Clauselane 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, the description must carry the behavioral burden. It does disclose the core behavior (ranking by a numeric column, returning highest or lowest), but it does not mention default limit behavior, tie handling, invalid column handling, or that the operation is read-only.

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, front-loaded sentence with a useful clarifying clause, but it partially restates the title ('Rank rows by a numeric column' vs. 'highest rows ... by a numeric column'). Still, it is compact and readable.

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 ranking tool with only 3 parameters, this is minimally sufficient: an agent can infer the main call pattern. Yet without annotations or an output schema, it lacks details on returned rows, default limit, and error behavior, so it is not fully complete.

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 coverage is low (only ascending has a description), and the description compensates by explaining that column is numeric and linking ascending to 'most/least'. However, the limit parameter's meaning is never clarified beyond the schema's min/max, so the compensation is incomplete.

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 names a specific verb and resource: it returns the highest or lowest rows of the Clauselane dataset ranked by a numeric column, which clearly distinguishes it from siblings like dataset_row, dataset_search, and dataset_stats. The 'which is the most/least X' phrasing makes the intent immediately actionable.

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?

Usage is only implied through 'which is the most/least X' — it is not stated explicitly when to choose dataset_top over dataset_stats or dataset_search, and no exclusions or alternatives are named. This is adequate but leaves the routing decision to inference.

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

Most tools are clearly separated by operation: schema, provenance, exact lookup, search, stats, top, and comparison. Dataset_row and dataset_compare overlap somewhat for exact-value lookups, but their intended use cases are mostly distinguishable.

Naming Consistency4/5

All tools share the dataset_ prefix and snake_case convention, which creates a strong pattern. However, the suffix mixes nouns (columns, row, stats) and verbs (compare, search), so it is not a fully consistent verb_noun scheme.

Tool Count5/5

Seven tools is well-scoped for a dataset exploration server. Each tool serves a distinct read/query need without unnecessary bloat or overlap.

Completeness5/5

The set covers schema discovery, provenance, exact lookup, fuzzy search, numeric statistics, top/bottom values, and category comparisons. For a read-only dataset querying purpose, there are no obvious missing operations.

Resources