Skip to main content
Glama

functiongraph__StopWorkFlow

Stop a running FunctionGraph workflow execution by specifying its project ID, workflow ID, and execution instance ID. Use it to cancel an active workflow that should no longer continue.

Instructions

[FUNCTIONGRAPH] 停止函数流

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": {
      "execution_id": "<execution_id>",
      "project_id": "<project_id>",
      "workflow_id": "<workflow_id>"
    },
    "name": "functiongraph__StopWorkFlow"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
workflow_idYes函数工作流ID
execution_idYes函数流执行实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses essentially nothing. It does not state whether stopping is idempotent, whether the execution can later be retried via functiongraph__RetryWorkFlow, what happens to in-flight state, or what permissions are required for a mutating operation.

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

Conciseness3/5

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

It is a single front-loaded phrase with zero waste, but this is conciseness achieved through under-specification rather than disciplined editing. The bracketed vendor tag plus four characters leaves no room for the operational context an agent needs.

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

Completeness2/5

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

For a three-required-parameter mutating tool with no annotations and no output schema, the description is too thin. It omits the outcome of a successful stop, error conditions for an invalid or already-finished execution_id, and the relationship to sibling workflow tools.

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 description coverage is 100% — project_id, workflow_id, and execution_id each carry Chinese descriptions, examples, and length bounds. The description adds no meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a verb ("停止"/stop) with a resource ("函数流"/function workflow), so the basic action is identifiable. However, it never clarifies that the thing actually being stopped is a specific execution instance (execution_id) rather than the workflow definition itself, and it gives no signal distinguishing it from siblings such as RetryWorkFlow or aom__StopExecution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance, no preconditions, and no mention of alternative tools. An agent must infer from the name alone that this applies to terminating a running execution rather than pausing or deleting a workflow.

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

Deploy Server

Other Tools