Skip to main content
Glama
AxonityAI

Axonity Flow MCP Server

Official
by AxonityAI

delete_reference_doc

Soft-delete a reference doc with version control, making it recoverable via restore. Prevents deletion if conflicts or stale version.

Instructions

Delete a reference_doc. Destructive, but RECOVERABLE — it is soft-deleted and can be brought back with restore_reference_doc (it will not appear in list_reference_docs 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 reference_doc'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?

Discloses destructive but recoverable nature (soft-delete), behavior on conflict (409), and distinguishes between recoverable and non-recoverable conflicts. Since no annotations are provided, the description fully covers the behavioral traits.

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?

Two sentences with no fluff. First sentence states the action and nature, second packs crucial error-handling guidance. Every part adds value.

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 delete operation with no output schema, the description covers preconditions, error types, and recovery path. Combined with full schema coverage, it is complete.

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 baseline is 3. The description adds context for expectedVersion ('read it first') and confirm (acknowledges destructiveness), but these are already implied by the schema descriptions.

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 it deletes a reference_doc and specifies it is a soft-delete, recoverable via restore_reference_doc. It distinguishes from sibling tools like restore_reference_doc and list_reference_docs.

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?

Explicitly advises to read the doc first for its version, and provides troubleshooting for 409 errors (stale version vs. reference conflict), including a reference to the alternative restore_reference_doc.

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