Skip to main content
Glama
AxonityAI

Axonity Flow MCP Server

Official
by AxonityAI

delete_agent

Soft-delete an agent with version control. Requires confirmation and expected version to prevent accidental deletion; the agent can be restored later using the restore_agent tool.

Instructions

Delete a agent. Destructive, but RECOVERABLE — it is soft-deleted and can be brought back with restore_agent (it will not appear in list_agents until then). Read it first for its version. A 409 here may be a stale version (re-read and retry) or a reference conflict (something published still uses it — re-reading will not help; the error tells you which).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe agent's id.
confirmYesMust be true. Acknowledges you understand this is destructive.
expectedVersionYesThe version you last read — rejected with 409 if stale.
Behavior5/5

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

No annotations provided, so description fully informs: it's destructive but soft-deleted, recoverable via restore_agent, and details error handling for 409 (stale version vs. reference conflict).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, no redundancy, front-loaded with key action and recoverability, then parameter guidance and error resolution. Every sentence earns its place.

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 it's a destructive tool with no output schema, the description covers recovery, error types, and parameter usage comprehensively, making it fully actionable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description adds meaning: 'confirm' parameter acknowledges destructiveness, 'expectedVersion' is tied to version checking and 409 rejection, and advises reading the agent first for its version.

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?

The description clearly states the verb 'Delete' and the resource 'agent'. It distinguishes from siblings like 'restore_agent' and 'list_deleted_agents' by noting the soft-delete behavior.

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?

Provides explicit guidance: it's destructive but recoverable, mentions restore_agent as alternative, explains when to retry on 409 (stale version) vs. when not (reference conflict), and advises to read first for version.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AxonityAI/axonity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server