Skip to main content
Glama

Copy a public dataset

copy_dataset
Idempotent

Copy an eligible public dataset and its runnable data collection pipeline into a new free workspace. Select organisation_id from get_context when more than one is available. Requires authenticated organisation access. Copies the entire existing snapshot without collecting fresh data or charging imported rows; 100 free collection rows remain and schedules start disabled. Returns workspace_id, dataset_id, pipeline_id and a browser URL for immediate query_dataset, browse_dataset_rows or export_dataset use. Use the source dataset public ID and a new UUID idempotency_key; reuse both on retry to return the same workspace. No setup, build_workspace or accept_workspace step is needed. Directory publication authorizes copying linked datasets in the source workspace, including uploaded inputs. Saved site logins are unsupported. Future run_pipeline calls use the usual estimate and confirmation flow.

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": {
      "dataset_id": "<dataset_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "copy_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYes
idempotency_keyYes
organisation_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / organisation_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Organisation Id"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare non-readonly, idempotent and non-destructive; the description adds substantial context beyond that: the snapshot is copied without fresh collection or row charges, 100 free collection rows remain, schedules start disabled, authenticated organisation access is required, and directory publication authorises copying linked datasets including uploaded inputs. These are exactly the behavioural facts an agent needs before invoking a mutating tool.

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 opening sentence front-loads the core action and the return/prerequisite details follow in a logical order. It is dense and long, but nearly every sentence adds a distinct constraint (cost, scheduling, auth, idempotency, unsupported logins) rather than padding.

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 three-parameter mutating tool with an output schema, all the decision-relevant context is present: prerequisites, cost model, what is and is not copied, idempotency behaviour, and follow-up tools. Even the returned identifiers and browser URL are summarised, so nothing needed to call it correctly 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?

Schema coverage is 0%, so the description must carry the load, and it does: dataset_id is the source dataset public ID, idempotency_key is a new UUID whose reuse returns the same workspace, and organisation_id comes from get_context when multiple exist. It stops short of restating the UUID pattern or length limits, which the schema does encode, but the semantic meaning of all three parameters is covered.

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?

Names a specific verb and resource (copy a public dataset plus its pipeline into a new free workspace) and explicitly distinguishes itself from setup, build_workspace and accept_workspace. An agent can identify the operation and its scope without opening the 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?

States the selection rule for organisation_id (pull it from get_context when more than one is available), tells the caller to reuse dataset_id and idempotency_key on retry, and rules out the setup/build_workspace/accept_workspace path. It also flags the unsupported case (saved site logins) and points to run_pipeline for future runs.

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