Skip to main content
Glama

list_datasets

Lists workspace datasets newest first with IDs, test-case counts, and pipeline associations, helping you select a dataset for experiments or retrieve its test cases.

Instructions

Lists the workspace's Datasets, newest first, without their test cases.

A Dataset is a named list of test cases (a recorded Session or a set of inputs, with optional expected data) that an Experiment replays against a pipeline version. Each entry has its dataset_id, test_case_count and the pipeline_ids its test cases belong to. Read the test cases with get_dataset; pass dataset_id to create_experiment. The API has no paging: a result of exactly limit Datasets may be cut off; raise limit (at most 200) or narrow with pipeline_name. :param pipeline_name: Only Datasets with a test case on this pipeline, when given. :param limit: Most Datasets to return (at most 200). :returns: The Datasets, or an error message.

The output is automatically stored and can be referenced in other functions. Returns a formatted preview with an object ID (e.g., @obj_123). Use the object store tools in combination with the object ID to view nested properties of the object. Use the returned object ID to pass this result to other functions.

Input Schema

NameRequiredDescriptionDefault
limitNo
pipeline_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.44

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the newest-first ordering, that test cases are omitted, that the API has no paging so an exactly-limit result may be truncated, the hard cap of 200, and that output is auto-stored as an object reference. It omits any notion of permissions or failure modes beyond 'an error message'.

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

Conciseness3/5

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

The core behavior is front-loaded, but the text bloats with Sphinx-style ':param'/':returns' lines that duplicate the prose, plus generic object-store boilerplate repeated across tools. Several sentences could be merged without losing meaning.

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

Completeness4/5

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

For a two-parameter read tool with no output schema, the description covers return shape (dataset_id, test_case_count, pipeline_ids), pagination caveat, and object-store handling. Only permission/error specifics and the limit default are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does: pipeline_name is defined as a filter on Datasets having a test case on that pipeline, and limit is bounded at 200. The default of 50 from the schema is not restated, leaving a small gap.

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 opening sentence gives a specific verb, resource, ordering ('newest first') and scope exclusion ('without their test cases'), and the following sentences define what a Dataset is and what fields each entry carries. An agent can distinguish it from get_dataset and list_experiments without opening either schema.

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

Usage Guidelines4/5

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

It explicitly routes the agent: read test cases with get_dataset, pass dataset_id to create_experiment. That is concrete when-to-use guidance for follow-up actions, though it never states when this tool is the wrong choice (e.g., searching vs listing).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools