Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Yearendo dataset by a numeric column: "which is the most/least X".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "column": "<column>"
    },
    "name": "dataset_top"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
columnYes
ascendingNotrue for the lowest first; default highest first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never says how many rows come back by default, what happens with ties, nulls, or non-numeric columns, or whether the whole dataset is scanned. Only the high/low direction is conveyed, which the schema's ascending parameter already implies.

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?

It is a single compact sentence with the core operation front-loaded and no filler. The nested quotes around the example are slightly awkward but do not cost the reader much.

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?

With no annotations, no output schema, and partial schema coverage, the description needs to do more than one line. It does not say whether the result is rows or values, what the default result size is, or how ranking behaves on ties, which leaves an agent guessing on a three-parameter tool.

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 only 33% (only ascending is documented). The description usefully adds that the column must be numeric, which the schema does not state. But the limit parameter is never mentioned in either place, so its role and the 50-row cap are undisclosed, leaving a real gap the description should have closed.

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 states a specific operation on a specific resource: return the highest or lowest rows of the Yearendo dataset ranked by a numeric column. That is enough to distinguish it from siblings like dataset_row (single row), dataset_stats (aggregates) and dataset_search (filtering), even though no sibling is named explicitly.

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 quoted example "which is the most/least X" implies the natural use case for the tool, and the parenthetical "(or lowest)" hints at directionality. However, there is no explicit when-to-use statement, no mention of when a different tool (e.g. dataset_stats for aggregates or dataset_search for filtering) would be preferable, and no prerequisites or exclusions.

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.

Resources