Skip to main content
Glama

UXON AI

workflows_cancel

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Cancel future work at the saved waiting boundary using its reviewed revision. Does not undo completed changes, stop a provider job, cancel email enrollments or undo an in-flight action. Running steps reject cancellation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workflowId": "<workflowId>",
      "expectedRevision": "<expectedRevision>",
      "confirm": "<confirm>"
    },
    "name": "workflows_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
workflowIdYes
expectedRevisionYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations give only the flag profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description adds real value: it discloses that completed changes are not undone, that provider jobs keep running, and that running steps refuse cancellation. The optimization/versioning requirement ('reviewed revision') is also behaviorally important. It does not say what state the workflow ends in or whether cancellation can be reversed, so not a 5.

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?

The core sentence is dense and front-loaded, then followed by a compact exclusion list and a run-state caveat, with no filler. The leading 'read agent.instructions.get' prerequisite is boilerplate that does not describe this tool, though it is a genuine precondition, so one sentence is marginally off-task.

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

Completeness4/5

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

With an output schema present, return values need not be explained, and the description covers the high-impact mutation risks an agent must know before calling. Remaining gaps are the meaning of the optional reason field and the resulting workflow state, which a 5-parameter mutation tool would ideally mention.

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 only 40%, but the description does add meaning for expectedRevision by tying it to 'its reviewed revision', implying it is an optimistic-concurrency guard rather than an arbitrary string. The workflowId, reason, and teamId parameters get no explanation in the description, and only teamId/confirm are documented in the schema, leaving gaps unaddressed.

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 and resource ('Cancel future work at the saved waiting boundary using its reviewed revision') and immediately bounds it against near-miss siblings by ruling out provider jobs, email enrollments, and in-flight actions. An agent can distinguish this from jobs_cancel or billing_modules_cancel without opening either 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?

Gives a clear condition for use (only at the saved waiting boundary, only with a reviewed revision) and a strong negative list (not for completed changes, provider jobs, email enrollments, in-flight actions). It also warns that running steps reject cancellation. It stops short of naming an alternative tool to call instead when the boundary is not reachable, so 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources