Skip to main content
Glama

Rank rows by a numeric column

dataset_top

The highest (or lowest) rows of the Equipment Rental Compare 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/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It explains that rows are ranked by a numeric column, but it omits the default result limit, maximum result count, behavior when the column is non-numeric, tie handling, and return shape. These are significant gaps for an invocation where the agent must know what the tool will return.

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, front-loaded sentence that identifies the resource, operation, and a representative use case. There is no unnecessary wording, and the example is compact.

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 only partial schema description coverage, the description should provide more operational detail. It conveys the core ranking purpose but does not explain the limit parameter's default behavior, maximum result size, or what the returned rows look like, leaving the definition under-specified for reliable invocation.

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%, with the column and limit parameters undocumented in the schema. The description adds meaningful information that the column should be numeric, and "highest (or lowest)" reinforces the ascending flag's behavior, but the limit parameter is not explained at all, leaving an important invocation detail undocumented.

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: returning the highest or lowest rows of the Equipment Rental Compare dataset by a numeric column. The example question "which is the most/least X" reinforces the purpose, though it does not explicitly distinguish this from siblings such as dataset_stats or dataset_search.

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 example question implies when to use the tool, namely for identifying records with the most or least of a numeric attribute. However, it gives no explicit alternatives, exclusions, or prerequisites, so the agent must infer when to choose dataset_top over 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