Skip to main content
Glama
wiroai

Wiro MCP Server

Official
by wiroai

Delete a Wiro agent

delete_agent
DestructiveIdempotent

Deletes a deployed agent after confirmation, first checking blockers; cancel the plan and stop the agent beforehand, because deletion is irreversible and cannot be restored.

Instructions

Delete a deployed agent. This cannot be undone: the agent disappears from every list at once, its data is removed later and there is no restore. The order is: cancel the plan with manage_agent_billing (no refund for the rest of the period), stop the agent with control_agent, then delete it. Without confirm: true the tool only checks what is still in the way and describes the deletion; repeat the call with confirm: true after the user agrees. On a team agent this needs a team admin or the person who deployed it.

Input Schema

NameRequiredDescriptionDefault
confirmNofalse only checks and describes the deletion. true deletes the agent. Set it only after the user agreed.
agent_guidYesThe deployed agent's guid, from list_my_agents.

Output Schema

NameRequiredDescriptionDefault
titleYes
statusYes
deletedYes
messageYes
blockersYes
agentGuidYes
deletedAtNo
nextActionNo
statusLabelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive/idempotent/openWorld, but the description adds materially: irreversibility, data removal deferred, no restore path, no refund for the remaining billing period, and a two-phase confirm gate. The explicit admin-or-deployer authorization requirement is exactly the kind of context 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?

Front-loaded with the destructive action and the irreversibility warning, then sequencing, then the confirm gate, then permissions — a sensible order. Slightly redundant with the schema's confirm description, but every sentence is substantive.

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 two-parameter destructive tool with an output schema (so return values need no explanation), the description covers danger, preconditions, ordering, and authorization. Nothing an agent needs before calling 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 100%, so baseline is 3; the description goes beyond by explaining the operational meaning of confirm (check-and-describe vs actual deletion, only after user agreement) and by anchoring agent_guid to the list_my_agents source. It mostly restates the schema's confirm text, which caps it below 5.

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?

Opens with a specific verb+resource ("Delete a deployed agent") and immediately scopes it to the deployed agent, which separates it from delete_agent_session and delete_workflow in the sibling list. An agent can pick this tool 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?

Gives an explicit ordered procedure (manage_agent_billing, then control_agent, then delete), names the sibling tools to use first, and states the confirm=true precondition plus the dry-run default. It also states the permission condition for team agents, so when-to-use and prerequisites are both covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.