Skip to main content
Glama
clidey

whodb-cli

Official
by clidey

whodb_platform_source_delete

Destructive

Prepare deletion of a hosted WhoDB source by returning a confirmation token; verify the target first, then approve with whodb_platform_confirm to complete the destructive action.

Instructions

Prepare deletion of a hosted WhoDB source.

This deletes nothing until the returned confirmation token is approved with whodb_platform_confirm. Use whodb_platform_sources first to verify the target source. This is destructive. Explain the deletion target and do not call whodb_platform_confirm until the user approves the confirmation preview. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesHosted source id or name
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
sourceNo
statusNo
warningNo
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
confirmation_tokenNo
confirmation_actionNo
confirmation_expiryNo
confirmation_previewNo
confirmation_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.135.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds genuinely new behavior: deletion is deferred behind a returned confirmation token, requires user approval, and must not be confirmed prematurely. This two-phase safety contract is exactly the kind of context annotations cannot convey.

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-loaded with the key two-phase safety fact, and each sentence carries actionable information. Minor redundancy between 'This is destructive' and the destructiveHint annotation, and the approval instruction is restated, but the structure is efficient overall.

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?

Given an output schema exists, the description need not explain return values, and it correctly focuses on the workflow, prerequisite verification, and required user-approval gate. Nothing an agent needs to invoke this safely is missing.

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 coverage is 100%, so both parameters (source, workspace) are already fully documented, including the per-call targeting semantics. The description echoes the workspace targeting ('without changing defaults') but adds no syntax or format beyond the schema, so 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+resource ('Prepare deletion of a hosted WhoDB source') and immediately clarifies it is a two-phase operation that deletes nothing until a confirmation token is approved. This distinguishes it from sibling whodb_platform_delete and from whodb_platform_source_update/create 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?

Explicitly routes the agent to whodb_platform_sources to verify the target and to whodb_platform_confirm for the approval step, and instructs not to confirm until the user approves. It gives clear context and a required workflow, though it does not explicitly contrast against the generic whodb_platform_delete sibling.

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