Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

C2.8/5.0
Behavior2/5

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

No annotations are provided, and the description does not state whether the operation is read-only, what side effects exist, or what the return format is. It is implied that this is a safe query, but transparency is minimal without explicit mention of behavior, such as whether it returns full row objects, just identifiers, or includes any limits on result set size beyond the numeric limit parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively short, but the use of a dash and an embedded quoted phrase feels slightly awkward and less formal. It conveys the core idea concisely, but the structure could be improved for clarity (e.g., 'Returns the top or bottom N rows of the dataset sorted by a numeric column.'). The formatting is not harmful, but it lacks polish.

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 description does not mention the return value format, which is critical because there is no output schema. It also leaves the dataset name ambiguous ('RoughInDesk' could be a placeholder or typo). For a tool named dataset_top, the description should clarify whether it returns the full rows, a subset of columns, or a summary, and ideally state the default order when ascending is not provided.

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 provides descriptions for only ascending (33% of parameters), while column and limit lack descriptions. The tool description adds that the column should be numeric, giving some context for the column parameter. However, limit is left unexplained, and the interaction between limit and ascending is not elaborated. The partial coverage is partially compensated by the description, so a middle score is appropriate.

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 indicates the tool returns the highest or lowest rows based on a numeric column, which distinguishes it from the sibling tools like dataset_row (single row), dataset_search (search), and dataset_stats (aggregates). The quoted question 'which is the most/least X' reinforces the ranking purpose, though the phrase 'RoughInDesk' appears to be a typo or unclear dataset name.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus the alternatives. The quoted question provides an implicit hint for top-N queries, but it does not mention any sibling tools or contrast cases (e.g., when to use dataset_stats instead). The description could be clearer about selecting this tool for ordering rows rather than aggregating or searching.

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
Disambiguation4/5

Tools are mostly distinct, with clear descriptions for schema, provenance, stats, and top-N queries. Some overlap exists among row retrieval tools (dataset_row, dataset_compare, dataset_search), but descriptions clarify exact match, multi-value match, and substring search.

Naming Consistency3/5

All tools share the consistent 'dataset_' prefix, but the second part mixes nouns (columns, provenance, row, stats), verbs (compare, search), and an adjective (top), so the naming pattern is not uniform.

Tool Count5/5

Seven tools is well-scoped for a read-only dataset exploration server, covering schema, metadata, lookup, search, comparison, statistics, and top/bottom queries without unnecessary bloat.

Completeness5/5

The tool set covers the full range of expected dataset operations: schema inspection, provenance, exact row retrieval, substring search, multi-value comparison, numeric stats, and ranking. No obvious gaps for read-only dataset analysis.

Resources