Skip to main content
Glama
clidey

whodb-cli

Official
by clidey

whodb_platform_write_plan

Read-onlyIdempotent

Validate and preview hosted platform writes without executing them, returning payload keys, suggested reads, and direct impact for safe dry runs before mutating calls.

Instructions

Validate and preview a hosted platform write without executing it.

Use this before calling mutating tools when the agent needs a safe dry-run summary. It reuses the same generic write specs as real writes, returns payload keys, suggested reads, and direct impact, but does not create a confirmation token. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoResource id for update, delete, or action operations
actionNoAction name when operation is action, for example deploy, run, rename, move, promote_to_dataset
fieldsNoTop-level output fields to include, for example preview, affected, warnings.
payloadNoStructured payload to validate and summarize. This tool never executes it.
resourceYesResource type, for example secret, ai_provider, ontology, dataset, transform, folder, file, function, source_object
operationYesWrite operation: create, update, delete, or action
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.
omit_filesNoOmit root folder file and folder nodes for impact lookup. Defaults to false.
omit_lineageNoOmit hosted lineage edges for impact lookup. Defaults to false.
payload_jsonNoLegacy JSON object payload. Prefer payload; this tool never executes it.

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 readOnlyHint, idempotentHint and openWorldHint, and the description is consistent with them ("without executing it"). Beyond that it discloses the return surface (payload keys, suggested reads, direct impact) and the important negative behavior that no confirmation token is created, which is context the annotations cannot express.

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?

Four sentences, front-loaded with the core behavior (validate/preview, no execution) before the behavioral and targeting detail. Slightly long, but each sentence carries distinct information and none is filler.

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 10-parameter tool with a nested workspace object and no output schema, the description does the needed work by summarizing what the preview returns and clarifying the confirmation-token gap. What remains thin is how the plan relates to the confirm/execute flow and whether the returned plan is reused elsewhere.

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 every parameter is already documented, and the description's mention of workspace {host, org, project} largely restates what the schema says about per-call targeting not changing defaults. Baseline 3 is appropriate; it adds no enum, format or precedence detail beyond the schema.

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 pair (validate/preview) plus the resource (a hosted platform write) and immediately disambiguates from the real mutating siblings by saying it executes nothing. An agent can tell it apart from whodb_platform_create/update/delete/action without opening any 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?

Gives an explicit when-to-use rule: call it before mutating tools when a safe dry-run summary is needed. It does not name which sibling mutators it precedes (create, update, delete, action) or contrast with adjacent planning tools like whodb_platform_change_impact or whodb_platform_confirm, so the routing is clear but not fully closed.

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