Skip to main content
Glama
clidey

whodb-cli

Official
by clidey

whodb_platform_bundle_import_plan

Read-onlyIdempotent

Preview how a project bundle imports into a selected hosted project before applying changes. It reports conflicts, renames, and prefixes so you can review the plan first.

Instructions

Plan how a project bundle would import into the selected hosted project.

This MCP tool is intentionally plan-only. Use the CLI resources import --yes command for execution after review. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prefixNoOptional prefix added to imported resource names
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.
bundle_jsonYesProject bundle JSON from whodb_platform_bundle_export or resources export
rename_conflictsNoCreate unique names for resources that conflict with existing resources
overwrite_conflictsNoUpdate resources that conflict with existing resources

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNo
errorNo
scopeNo
countsNo
commandsNo
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.
next_stepsNo
request_idNo
setup_statusNo

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 and idempotentHint, so the safety profile is covered; the description adds that the tool is deliberately non-mutating and that workspace targeting is per-call without altering defaults. It stays consistent with annotations and adds real behavioral context (ephemeral targeting), though nothing about rate limits or evaluation cost.

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-loads the purpose in the first sentence, then covers mode and targeting in two short follow-ups. Efficient overall, with only minor duplication of the workspace schema wording.

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?

With an output schema present and 100% parameter coverage, the description need not explain returns or param syntax. It covers purpose, plan-only mode, targeting, and the execution escape hatch, leaving only the sibling-routing detail unmentioned.

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 all five parameters are already documented. The description restates the workspace {host, org, project} targeting-sans-defaults behavior, which is useful but largely duplicates the schema, and it never mentions prefix, rename_conflicts, or overwrite_conflicts. Baseline 3 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?

States a specific verb and resource ('Plan how a project bundle would import into the selected hosted project') and explicitly declares its mode ('intentionally plan-only'), which cleanly separates it from the sibling whodb_platform_bundle_import. An agent can identify the tool's role 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use context ('intentionally plan-only', review before execution) and names an alternative execution path ('CLI resources import --yes'). It does not, however, point to the in-MCP sibling whodb_platform_bundle_import as the follow-up, which is a modest gap in routing.

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