Skip to main content
Glama

Cancel workflow run

cancel_workflow_run
Destructive

Cancel a running or pending workflow run. Use get_workflow_run for the latest run state and cancel_workflow_schedule for work still scheduled.

Returns the workflow run record and its saved status. Use the execution ID from run_workflow or get_workflow_runs, separate from the workflow definition ID.

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": {
      "workflowRunId": "<workflowRunId>"
    },
    "name": "cancel_workflow_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoUser task for usage analytics. Omit private details.
llm_modelNoExact model ID from the calling runtime. Send on every call when known. Omit if unavailable.
projectIdNoProject ID from list_projects. Omit to use the configured or sole accessible project.
workflowRunIdYesExecution ID returned by run_workflow or get_workflow_runs.

Output Schema

NameRequiredDescriptionDefault
dataNoSaved execution and its resulting status. Review any step outputs already recorded.
successYesTrue when the tool returns normally.
executionTimeNoElapsed time, e.g. 0.12s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / then / properties / category / description
      Removed value: -"Failure class."
    • removedOutput schema / then / properties / error / description
      Removed value: -"Why the call failed."
    • removedOutput schema / then / properties / errorCode / description
      Removed value: -"Stable failure code."
    • removedOutput schema / then / properties / expected / description
      Removed value: -"Known failure."
    • removedOutput schema / then / properties / statusCode / description
      Removed value: -"HTTP error status."
  2. Changed3 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Non-sensitive task summary for usage analytics."New value: +"User task for usage analytics. Omit private details."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Send on every call when known."New value: +"Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / prompt / description
      Previous value: -"Prompt text used for the tracked or tested AI-search run."New value: +"Instruction text for agent-conversation schedules, when applicable."
  3. Changed6 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Task label for usage analytics. Omit private details."New value: +"Non-sensitive task summary for usage analytics."
    • removedOutput schema / properties / data / properties / stepOutputs / items / properties / workflowRun / description
      Removed value: -"Operation-specific object."
    • removedOutput schema / properties / data / properties / stepOutputs / items / properties / workflowStep / description
      Removed value: -"Operation-specific object."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / lastRunAt / description
      Removed value: -"ISO 8601 timestamp."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / nextRunAt / description
      Removed value: -"ISO 8601 timestamp."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / workflowInputs / description
      Removed value: -"Operation-specific object."
  4. Changed32 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Call purpose for analytics. Omit private details."New value: +"Task label for usage analytics. Omit private details."
    • addedInput schema / properties / context / examples
      Added value: +[
      +  "compare landing pages"
      +]
    • addedInput schema / properties / llm_model / examples
      Added value: +[
      +  "openai/gpt-5.4-mini"
      +]
    • addedInput schema / properties / workflowRunId / examples
      Added value: +[
      +  81
      +]
    • removedOutput schema / description
      Removed value: -"Tool result. On failure, read error and any recovery message."
    • removedOutput schema / properties / action
      Removed value: -{
      -  "description": "Client response to the project chooser.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / category
      Removed value: -{
      -  "description": "Failure class.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / data / properties / createdAt / description
      Previous value: -"Creation time (ISO 8601)."New value: +"Creation time."
    • changedOutput schema / properties / data / properties / id / description
      Previous value: -"Stable ID for later reads or edits."New value: +"Record ID."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / createdAt / description
      Previous value: -"Creation time (ISO 8601)."New value: +"Creation time."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / id / description
      Previous value: -"Stable ID for later reads or edits."New value: +"Record ID."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / updatedAt / description
      Previous value: -"Last update time (ISO 8601)."New value: +"Last update time."
    • changedOutput schema / properties / data / properties / updatedAt / description
      Previous value: -"Last update time (ISO 8601)."New value: +"Last update time."
    • changedOutput schema / properties / data / properties / workflow / properties / createdAt / description
      Previous value: -"Creation time (ISO 8601)."New value: +"Creation time."
    • changedOutput schema / properties / data / properties / workflow / properties / id / description
      Previous value: -"Stable ID for later reads or edits."New value: +"Record ID."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / createdAt / description
      Previous value: -"Creation time (ISO 8601)."New value: +"Creation time."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / id / description
      Previous value: -"Stable ID for later reads or edits."New value: +"Record ID."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / updatedAt / description
      Previous value: -"Last update time (ISO 8601)."New value: +"Last update time."
    • changedOutput schema / properties / data / properties / workflow / properties / updatedAt / description
      Previous value: -"Last update time (ISO 8601)."New value: +"Last update time."
    • removedOutput schema / properties / details
      Removed value: -{
      -  "description": "Error-specific diagnostics.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / error
      Removed value: -{
      -  "description": "Reason the tool call failed.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / errorCode
      Removed value: -{
      -  "description": "Stable failure code, when available.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Duration in seconds with an s suffix."New value: +"Elapsed time, e.g. 0.12s."
    • removedOutput schema / properties / expected
      Removed value: -{
      -  "description": "Known failure condition.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / message
      Removed value: -{
      -  "description": "Outcome, required input, or recovery instructions.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / projects
      Removed value: -{
      -  "description": "Choose a projectId and retry.",
      -  "items": {
      -    "properties": {
      -      "id": {
      -        "description": "Project ID to pass as projectId.",
      -        "type": "number"
      -      },
      -      "name": {
      -        "description": "Project name to show in the chooser.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / retryable
      Removed value: -{
      -  "description": "Safe to retry unchanged.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / statusCode
      Removed value: -{
      -  "description": "HTTP status of the failure, if set.",
      -  "type": "integer"
      -}
    • changedOutput schema / properties / success / description
      Previous value: -"True when the tool ran successfully."New value: +"True when the tool returns normally."
    • removedOutput schema / properties / upgrade
      Removed value: -{
      -  "description": "Plan upgrade options.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / url
      Removed value: -{
      -  "description": "Recovery or completion link.",
      -  "type": "string"
      -}
    • addedOutput schema / then / properties
      Added value: +{
      +  "action": {
      +    "description": "Project chooser action.",
      +    "type": "string"
      +  },
      +  "category": {
      +    "description": "Failure class.",
      +    "type": "string"
      +  },
      +  "details": {
      +    "description": "Error-specific diagnostics.",
      +    "type": "object"
      +  },
      +  "error": {
      +    "description": "Why the call failed.",
      +    "type": "string"
      +  },
      +  "errorCode": {
      +    "description": "Stable failure code.",
      +    "type": "string"
      +  },
      +  "expected": {
      +    "description": "Known failure.",
      +    "type": "boolean"
      +  },
      +  "message": {
      +    "description": "Recovery instructions.",
      +    "type": "string"
      +  },
      +  "projects": {
      +    "description": "Choose a projectId and retry.",
      +    "items": {
      +      "properties": {
      +        "id": {
      +          "description": "Pass as projectId.",
      +          "type": "number"
      +        },
      +        "name": {
      +          "description": "Project name to show in the chooser.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "retryable": {
      +    "description": "Safe to retry unchanged.",
      +    "type": "boolean"
      +  },
      +  "statusCode": {
      +    "description": "HTTP error status.",
      +    "type": "integer"
      +  },
      +  "upgrade": {
      +    "description": "Plan upgrade options.",
      +    "type": "object"
      +  },
      +  "url": {
      +    "description": "Recovery or completion link.",
      +    "type": "string"
      +  }
      +}
  5. Changed13 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Short reason for this call in the activity log, e.g. \"check landing page traffic\". Leave out private data."New value: +"Call purpose for analytics. Omit private details."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Include it on every call when known."New value: +"Exact model ID from the calling runtime for usage attribution. Send on every call when known."
    • changedInput schema / properties / projectId / description
      Previous value: -"Atomic project ID from list_projects. Omit to use the configured project. If asked to choose, retry with an accessible ID."New value: +"Project ID from list_projects. Omit to use the configured or sole accessible project."
    • addedInput schema / properties / projectId / examples
      Added value: +[
      +  42
      +]
    • changedInput schema / properties / workflowRunId / description
      Previous value: -"Existing execution ID returned by run_workflow or get_workflow_runs; it is not the workflow definition ID."New value: +"Execution ID returned by run_workflow or get_workflow_runs."
    • changedOutput schema / description
      Previous value: -"Read data for the tool result. On failure, read error and any recovery message."New value: +"Tool result. On failure, read error and any recovery message."
    • addedOutput schema / properties / data / description
      Added value: +"Saved execution and its resulting status. Review any step outputs already recorded."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / dayOfWeek / description
      Added value: +"Scheduled weekday for a weekly cadence."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / frequency / description
      Added value: +"Saved repeat cadence for the automation."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / minuteOffset / description
      Added value: +"Minutes added to the scheduled start to distribute executions."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / monthlyOption / description
      Added value: +"Calendar rule selecting the day for a monthly cadence."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / timeRange / description
      Added value: +"Local time or time window for scheduled runs."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / timezone / description
      Added value: +"Time zone used to calculate scheduled runs."
  6. Changed59 schema fields changed
    • changedOutput schema / description
      Previous value: -"On success read data. On failure read error and errorCode."New value: +"Read data for the tool result. On failure, read error and any recovery message."
    • addedOutput schema / else
      Added value: +{
      +  "required": [
      +    "data"
      +  ]
      +}
    • addedOutput schema / if
      Added value: +{
      +  "properties": {
      +    "success": {
      +      "const": false
      +    }
      +  }
      +}
    • addedOutput schema / properties / action
      Added value: +{
      +  "description": "Client response to the project chooser.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / data / properties / brandKitId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / data / properties / brandKitId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / createdAt / description
      Previous value: -"Date and time this record was created, serialized as ISO 8601."New value: +"Creation time (ISO 8601)."
    • changedOutput schema / properties / data / properties / id / description
      Previous value: -"Identifier of this returned resource. Use it for subsequent reads or edits of the same resource."New value: +"Stable ID for later reads or edits."
    • removedOutput schema / properties / data / properties / initiatedByUserId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / data / properties / initiatedByUserId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / inputs / additionalProperties / description
      Previous value: -"JSON returned by the connected provider or selected operation; its fields depend on that operation."New value: +"Provider- or operation-defined JSON."
    • changedOutput schema / properties / data / properties / status / description
      Previous value: -"Current saved or execution state reported by the operation."New value: +"Current operation or record state."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / createdAt / description
      Previous value: -"Date and time this record was created, serialized as ISO 8601."New value: +"Creation time (ISO 8601)."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / id / description
      Previous value: -"Identifier of this returned resource. Use it for subsequent reads or edits of the same resource."New value: +"Stable ID for later reads or edits."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / output / description
      Previous value: -"JSON returned by the connected provider or selected operation; its fields depend on that operation."New value: +"Provider- or operation-defined JSON."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / status / description
      Previous value: -"Current saved or execution state reported by the operation."New value: +"Current operation or record state."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / updatedAt / description
      Previous value: -"Date and time this record was last updated, serialized as ISO 8601."New value: +"Last update time (ISO 8601)."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / workflowRun / description
      Previous value: -"Nested operation-specific fields."New value: +"Operation-specific object."
    • changedOutput schema / properties / data / properties / stepOutputs / items / properties / workflowStep / description
      Previous value: -"Nested operation-specific fields."New value: +"Operation-specific object."
    • changedOutput schema / properties / data / properties / updatedAt / description
      Previous value: -"Date and time this record was last updated, serialized as ISO 8601."New value: +"Last update time (ISO 8601)."
    • removedOutput schema / properties / data / properties / workflow / properties / collectionFolderId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / data / properties / workflow / properties / collectionFolderId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / workflow / properties / createdAt / description
      Previous value: -"Date and time this record was created, serialized as ISO 8601."New value: +"Creation time (ISO 8601)."
    • changedOutput schema / properties / data / properties / workflow / properties / description / description
      Previous value: -"Saved description of this resource or its purpose."New value: +"Saved resource description."
    • changedOutput schema / properties / data / properties / workflow / properties / id / description
      Previous value: -"Identifier of this returned resource. Use it for subsequent reads or edits of the same resource."New value: +"Stable ID for later reads or edits."
    • changedOutput schema / properties / data / properties / workflow / properties / name / description
      Previous value: -"Human-readable name of this resource."New value: +"Display name."
    • changedOutput schema / properties / data / properties / workflow / properties / projectId / description
      Previous value: -"Atomic project that owns this resource."New value: +"Owning Atomic project ID."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / agentId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / agentId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / conversationId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / conversationId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / createdAt / description
      Previous value: -"Date and time this record was created, serialized as ISO 8601."New value: +"Creation time (ISO 8601)."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / gridCellId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / gridCellId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / id / description
      Previous value: -"Identifier of this returned resource. Use it for subsequent reads or edits of the same resource."New value: +"Stable ID for later reads or edits."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / initiatedByUserId / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / initiatedByUserId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / lastRunAt / description
      Previous value: -"Timestamp serialized as an ISO 8601 date and time."New value: +"ISO 8601 timestamp."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / name / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / name / description
      Previous value: -"Human-readable name of this resource."New value: +"Display name."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / nextRunAt / description
      Previous value: -"Timestamp serialized as an ISO 8601 date and time."New value: +"ISO 8601 timestamp."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / projectId / description
      Previous value: -"Atomic project that owns this resource."New value: +"Owning Atomic project ID."
    • removedOutput schema / properties / data / properties / workflow / properties / schedule / properties / prompt / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / prompt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / type / description
      Previous value: -"Kind of the returned item; determines how its operation-specific fields should be interpreted."New value: +"Kind of item returned."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / updatedAt / description
      Previous value: -"Date and time this record was last updated, serialized as ISO 8601."New value: +"Last update time (ISO 8601)."
    • changedOutput schema / properties / data / properties / workflow / properties / schedule / properties / workflowInputs / description
      Previous value: -"Nested operation-specific fields."New value: +"Operation-specific object."
    • changedOutput schema / properties / data / properties / workflow / properties / updatedAt / description
      Previous value: -"Date and time this record was last updated, serialized as ISO 8601."New value: +"Last update time (ISO 8601)."
    • changedOutput schema / properties / details / description
      Previous value: -"Additional diagnostics for the reported failure code."New value: +"Error-specific diagnostics."
    • changedOutput schema / properties / errorCode / description
      Previous value: -"Machine-readable failure code for choosing a recovery action."New value: +"Stable failure code, when available."
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Elapsed seconds with s suffix."New value: +"Duration in seconds with an s suffix."
    • changedOutput schema / properties / projects / items / properties / id / description
      Previous value: -"Project ID for projectId."New value: +"Project ID to pass as projectId."
    • changedOutput schema / properties / projects / items / properties / name / description
      Previous value: -"Project name to show when asking the user to choose."New value: +"Project name to show in the chooser."
    • addedOutput schema / properties / projects / items / required
      Added value: +[
      +  "id",
      +  "name"
      +]
    • changedOutput schema / properties / statusCode / description
      Previous value: -"HTTP-style status."New value: +"HTTP status of the failure, if set."
    • changedOutput schema / properties / statusCode / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / properties / success / description
      Previous value: -"Whether the call succeeded."New value: +"True when the tool ran successfully."
    • addedOutput schema / then
      Added value: +{
      +  "required": [
      +    "error"
      +  ]
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Purpose for the activity log, for example \"check landing page traffic\". Exclude private content and personal data."New value: +"Short reason for this call in the activity log, e.g. \"check landing page traffic\". Leave out private data."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Report it on every call when known. Omit it if unavailable; never guess or ask the user."New value: +"Exact model ID from the calling runtime for usage attribution. Include it on every call when known."
  8. Changed12 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Purpose for the activity log. Exclude private content and personal data."New value: +"Purpose for the activity log, for example \"check landing page traffic\". Exclude private content and personal data."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact runtime model ID for usage attribution. Report on every call when known; never guess or ask."New value: +"Exact model ID from the calling runtime for usage attribution. Report it on every call when known. Omit it if unavailable; never guess or ask the user."
    • changedInput schema / properties / projectId / description
      Previous value: -"Accessible Atomic project ID from list_projects. Defaults to the configured project."New value: +"Atomic project ID from list_projects. Omit to use the configured project. If asked to choose, retry with an accessible ID."
    • addedOutput schema / properties / data / properties / stepOutputs / items / properties / workflowStepId / description
      Added value: +"Database ID of the step associated with this run or record."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / description
      Added value: +"Saved scheduling configuration and available execution state."
    • addedOutput schema / properties / data / properties / workflow / properties / schedule / properties / gridCellId / description
      Added value: +"Saved grid cell ID for the record or workflow run."
    • addedOutput schema / properties / details / description
      Added value: +"Additional diagnostics for the reported failure code."
    • addedOutput schema / properties / error / description
      Added value: +"Reason the tool call failed."
    • addedOutput schema / properties / errorCode / description
      Added value: +"Machine-readable failure code for choosing a recovery action."
    • addedOutput schema / properties / message / description
      Added value: +"Outcome, required input, or recovery instructions."
    • addedOutput schema / properties / projects / items / properties / name / description
      Added value: +"Project name to show when asking the user to choose."
    • addedOutput schema / properties / success / description
      Added value: +"Whether the call succeeded."
  9. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds the cancellable states (running or pending) and confirms the run record is returned, but says nothing about what happens to in-flight steps or what a cancel of an already-finished run does, which the non-idempotent hint leaves worth explaining.

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 short sentences, the core action front-loaded, then alternatives, then return value and ID provenance. No filler and nothing restated from the name.

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?

Covers action, scope, alternatives, return shape and parameter provenance for a 4-parameter destructive mutation with an output schema. The only real gap is effect on partially executed steps and error behavior when the run is no longer cancellable.

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, but the description earns an upgrade by disambiguating workflowRunId as the execution ID from run_workflow or get_workflow_runs and explicitly separating it from the workflow definition ID. That prevents a realistic and costly ID mix-up.

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?

"Cancel a running or pending workflow run" gives a specific verb plus resource and narrows the scope to two run states, which cleanly separates it from the scheduling siblings. An agent can identify the operation and its target 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?

The description explicitly routes two adjacent use cases away: get_workflow_run for the latest run state and cancel_workflow_schedule for work still scheduled. That is a concrete when-to-use-this-vs-alternatives statement rather than an inference.

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