Skip to main content
Glama

Change a dataset's steps

update_dataset_steps
Destructive

Replace a saved dataset's steps with the definition you send (send all of it: read it with get_dataset_definition first, and keep each step's id and the row key unless they must change). Try the changed steps with try_dataset_steps and its uuid before saving. Nothing runs by itself: run_monitor starts a run.

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>",
      "definition": "<definition>"
    },
    "name": "update_dataset_steps"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesThe dataset's uuid
versionNoThe version you read with get_dataset_definition: a save over someone else's newer change is refused
definitionYesThe dataset's definition: { inputs, steps, rowKey?, limits? }. Read get_dataset_steps_guide first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description does not need to restate mutability. It does add real context beyond them: the operation replaces the entire steps definition, ids and rowKey must be preserved unless intentionally changed, and saving does not trigger execution. It leaves permission requirements and post-conflict state unstated (the version-conflict refusal lives in the schema, not here).

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?

Three short sentences, front-loaded with the core action, then the pre-call sequence, then the clarification about execution. Nothing is padding; the nested parentheticals carry distinct, load-bearing constraints.

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 destructive tool with a nested definition object and no output schema, the description covers the dangerous parts: what gets replaced, what must be preserved, how to preview safely, and that saving is inert. The only gap is what a successful save returns or how failures surface, which is minor given the schema already documents the version guard.

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?

With 100% schema coverage the baseline is 3, but the description adds meaning: the definition must be complete and derived from a prior read, and identity fields must be carried over rather than invented. It does not add anything for the version parameter beyond what the schema already documents.

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?

States a specific verb and resource — "Replace a saved dataset's steps with the definition you send" — which is unambiguous and immediately separates it from the read-side siblings (get_dataset_definition) and the dry-run sibling (try_dataset_steps). The parenthetical clarifies the replacement is wholesale, not a merge.

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 pre-call workflow: read the current state with get_dataset_definition, keep step ids and the row key, then preview with try_dataset_steps and its uuid before saving. It also rules out a common false expectation by noting nothing executes on save — run_monitor is named as the tool that starts a run.

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