Skip to main content
Glama
clidey

whodb-cli

Official
by clidey

whodb_platform_clone

Destructive

Clone a dataset, ontology, transform, or function in a selected project. Preview with a confirmation token, then confirm after user approval.

Instructions

Clone a hosted dataset, ontology, transform, or function in the selected project.

Default mode returns a confirmation token; do not call whodb_platform_confirm until the user approves the preview. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource resource id, name, or api name
new_nameYesNew resource name or ontology api name/display name
resourceYesResource to clone: dataset, ontology, transform, or function
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
scopeNo
statusNo
warningNo
commandsNo
recoveryNo
retryableNo
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.
error_codeNo
next_stepsNo
request_idNo
result_jsonNo
setup_statusNo
suggested_toolsNo
confirmation_tokenNo
confirmation_actionNo
confirmation_expiryNo
confirmation_previewNo
idempotency_replayedNo
confirmation_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.135.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false, openWorld=true, readOnly=false, so the safety profile is covered. The description adds non-obvious behavior: the preview-then-confirm two-step flow and the fact that per-call workspace targeting does not mutate session defaults. It omits what a clone actually copies vs. references, but the added workflow context is meaningful.

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 action and its resource scope are front-loaded in the first sentence, with the confirmation gate and workspace behavior following. Only four lines total, with minimal waste, though the second sentence packs several clauses together.

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?

An output schema exists so return values need no explanation, and the annotations carry the safety profile. The description supplies the missing pieces an agent needs: the confirm-before-apply gate and the scoping semantics of workspace. Nothing critical is left unstated for a four-parameter clone.

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 the schema already documents source, new_name, resource, and the nested workspace object. The description only restates the resource list and the workspace {host, org, project} targeting, adding no format or edge-case detail beyond the schema. Baseline 3 applies.

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 (clone) plus the four resource types it operates on (dataset, ontology, transform, function) and the scoping context (selected project). This clearly separates it from sibling mutators like whodb_platform_create and whodb_platform_update without needing to open their schemas.

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?

Gives explicit sequencing guidance: the default mode returns a confirmation token and whodb_platform_confirm must not be called until the user approves the preview. That is a concrete when/when-not rule tied to a named sibling. It does not, however, say when to prefer clone over create/import alternatives.

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