Skip to main content
Glama
AxonityAI

Axonity Flow MCP Server

Official
by AxonityAI

discard_workflow_draft

Reset a workflow by discarding its uncommitted draft edits, reverting to the last published state. Fails if the workflow has never been published.

Instructions

Discard uncommitted draft edits on a workflow, resetting it to its last published state. Fails if it has never been published — there is no published state to fall back to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe workflow's id.
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses the mutation behavior (discarding draft, resetting to published state) and the failure case. Does not cover potential side effects like permission requirements or impact on pending approvals, but is adequate for a simple discard operation.

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?

Exceptionally concise: two sentences with no fluff. The action and key constraint are front-loaded. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Lacks details on behavior when no uncommitted draft exists (if published state matches current). No output schema or return info. Given the complexity of workflow draft management, a bit more context (e.g., whether it succeeds silently) would be helpful.

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?

The single parameter 'id' is fully described in the input schema. The description does not add any additional semantics about the parameter beyond what is already in the schema.

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?

Clearly states the action 'discard uncommitted draft edits' on a workflow, with the effect of resetting to last published state. Distinguishes itself from siblings by focusing specifically on draft management for workflows.

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?

Provides explicit condition ('Fails if it has never been published') which informs when not to use. However, it lacks explicit guidance on when to prefer this over alternatives like 'request_publish_workflow' or other discard tools.

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