Skip to main content
Glama

Rank rows by a numeric column

dataset_top

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

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add real behavioral context that the schema lacks - the column must be numeric and results are ordered highest-first by default - but it says nothing about what happens with ties, non-numeric columns, or how many rows come back when limit is omitted.

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?

A single compact sentence with the operation front-loaded, followed by a parenthetical that clarifies direction and a quoted example that anchors intent. Nothing is wasted, though the quoted example is doing a lot of the work that a plain sentence could state more directly.

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 three-parameter read tool with no annotations and no output schema, the definition covers the core selection semantics but leaves the result shape and the limit parameter undocumented. An agent could call it correctly with column alone, but not confidently predict how many rows or what form comes back.

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 only 33%: ascending is documented in the schema, while column and limit have no descriptions there. The description rescues column by requiring it to be numeric and implicitly maps 'highest (or lowest)' onto ascending, but limit (1-50, no default) is never mentioned in either the schema or the description, leaving a genuine gap.

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 (return the highest or lowest rows) on a specific resource (the Footfally dataset) qualified by a numeric column, and the 'which is the most/least X' framing makes the intent immediately legible. It stops short of naming a sibling such as dataset_stats, so an agent must infer the boundary between ranking rows and computing aggregates.

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 conveyed by example ('which is the most/least X'), which implies the question-shaped cases this tool answers. There is no explicit when-not guidance, no prerequisite on the column being numeric beyond a passing mention, and no named alternative for aggregate or filtered queries among the sibling tools.

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