Skip to main content
Glama

site

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Tenantvo 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 provided, the description carries the full burden of disclosing behavior. It only mentions 'highest (or lowest) rows' and 'numeric column', but omits critical behavioral details such as default limit, sorting direction, pagination, or return format. The tool's mutation/read-only nature is also unclear, and the schema's limit and ascending properties are not addressed in the description.

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

Conciseness5/5

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

The description is a single concise sentence that front-loads the core purpose and includes a clarifying example. There is no unnecessary verbosity, and the structure is efficient and easy to parse.

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 3 parameters, no output schema, and no annotations, the description is insufficient. It omits important operational context such as default limit values, sorting semantics (e.g., what happens when ascending is not provided), and any assumptions about the column data type beyond 'numeric'. An agent would need to infer too much to call it correctly.

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 (33% only for 'ascending'). The description adds a single piece of semantic meaning by stating the column must be numeric, which is not explicit in the schema. However, it does not explain the 'limit' parameter or the 'ascending' behavior beyond what the schema already states, so it fails to compensate for the low schema coverage.

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 ranks rows by a numeric column, using a specific verb ('rank') and a concrete resource (the Tenantvo dataset). It also includes an example query ('which is the most/least X') that makes the intent unambiguous and distinguishes it from sibling tools like dataset_search or dataset_stats.

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?

The description provides no explicit guidance on when to use this tool versus alternatives. It implies a usage context ('which is the most/least X') but does not mention any sibling tools or conditions for choosing this over dataset_search or dataset_row. There is no exclusion 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.9/5.0
Disambiguation4/5

The tools are mostly distinct: schema, provenance, exact lookup, substring search, comparison across values, summary statistics, and top/bottom queries each serve a different purpose. There is mild overlap among dataset_row, dataset_compare, and dataset_search since all return matching rows, but their match semantics are clearly described.

Naming Consistency5/5

All tools share the dataset_ prefix and use short, consistent lowercase names: columns, compare, provenance, row, search, stats, top. The pattern is highly predictable and easy to navigate.

Tool Count5/5

Seven tools is well-scoped for a single-dataset query server. Each tool covers a clear part of the query surface without redundancy or bloat.

Completeness5/5

For a read-only dataset access server, the surface is complete: schema discovery, provenance/attribution, exact row lookups, substring search, value comparison, summary statistics, and top/bottom ranking. There are no obvious dead ends for common dataset questions.

Resources