Skip to main content
Glama

List a dataset's runs

get_dataset_runs
Read-only

The runs of one dataset, newest first: each with its state (QUEUED, RUNNING, COMPLETED, PARTIAL, FAILED, CANCELLED…), when it finished, how many rows it collected, the pages it read and the credits it cost, and, when it did not go well, the problem in words. "incomplete" says where a run stopped at a limit: its rows are then not the whole list. Use it after run_monitor to know when the run has finished; then get_dataset_rows reads its rows.

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": {
      "uuid": "<uuid>"
    },
    "name": "get_dataset_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesThe dataset's uuid
limitNoHow many (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already establish that this tool only reads data, does not change anything, and works within a closed system. Beyond those annotations, the description discloses the shape of the returned records, the full state vocabulary, credit and page counts, an error message in words, and the non-obvious 'incomplete' semantics where a truncated run's rows are not the complete set. It omits any note on default result count or caps, but the schema covers that.

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?

The content is front-loaded with the resource and ordering, and the sequencing guidance comes last where it belongs. The first sentence is long, with a nested parenthetical state list and a chain of returned fields, which costs some readability but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description has to describe the returned data, and it does: state, finish time, row count, pages read, credits, error text, and truncation. Combined with the safety annotations and full schema coverage, an agent has everything needed to call this correctly.

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 description coverage is 100%, so uuid and limit are already documented with their bounds and default. The description adds no parameter-level meaning such as how limit interacts with ordering or what happens at the maximum; it only implies newest-first ordering. The baseline of 3 is appropriate.

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 names the exact resource ('the runs of one dataset') and its ordering ('newest first'), then enumerates the per-run fields returned. That is enough for an agent to separate it from get_dataset_rows (which returns rows) and run_monitor (which watches a run).

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

Usage Guidelines5/5

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

The description gives an explicit workflow: invoke it after run_monitor to find out whether a run has finished, and follow it with get_dataset_rows to read that run's data. It also implies a when-not via those sibling redirections, leaving little to inference.

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