Skip to main content
Glama

List Datasets

listDatasets
Read-onlyIdempotent

List the datasets in your workspace, newest first. A dataset is a named set of variables (account numbers, dates of birth, PINs) that a caller persona speaks or keys in during a test. Each has an id, name, description and items: each with an id, key, value, type (text, number or secret) and description. Secret values are always masked (••••••••). Takes no parameters. Use when: the user asks what test data exists, or which value a persona will use. A persona refers to an item by datasetId and itemId (see getProfile). Read-only. Needs data:read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "listDatasets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
datasetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description still adds real behavior beyond them: results are ordered newest first, it takes no parameters, secret-type values are always returned masked, and it requires the data:read scope. The masking and auth-scope details are exactly the kind of context annotations cannot convey.

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?

Front-loaded with the action and ordering, then the domain definition, then usage and constraints — a sensible progression with no filler sentences. It is slightly long because it re-describes the returned item fields even though an output schema exists, which is redundant but not harmful.

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?

For a zero-parameter read tool with full schema coverage, annotations, and an output schema, the description covers everything an agent needs: scope, ordering, masking of secrets, permission requirement, and the sibling to consult for persona references. Nothing material is 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?

There are zero parameters, so the baseline is 4; the description explicitly confirms "Takes no parameters," removing any doubt about filtering or paging inputs. It adds nothing further on parameters because there is nothing to add, which 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?

Opens with a specific verb and resource plus ordering: "List the datasets in your workspace, newest first." It then defines what a dataset is (a named set of variables a persona speaks or keys in) and its id/name/description/items shape, which lets an agent distinguish it from sibling list tools like listProfiles or listNumbers without opening a schema.

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?

Gives an explicit when-to-use clause: "Use when: the user asks what test data exists, or which value a persona will use." It also routes the agent to the related tool (getProfile) for how a persona refers to a datasetId/itemId, so the boundary between this tool and its neighbor is stated rather than inferred.

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.