Skip to main content
Glama

functiongraph__RetryWorkFlow

Retry a failed Huawei Cloud FunctionGraph workflow execution by specifying the project, workflow, and execution IDs to resume processing after a temporary error.

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__RetryWorkFlow"
  }
}

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

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not whether retrying creates a new execution or resumes the existing one, not whether it re-runs completed nodes, not what state changes or side effects occur, and not what permissions or preconditions apply. For an action-type mutation with zero annotations, this is a complete absence of behavioral disclosure.

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

Conciseness2/5

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

It is a single four-character phrase with no wasted words, but the brevity reflects under-specification rather than efficiency; there is no structure, no front-loaded constraint, and nothing an agent can act on beyond the tool name.

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

Completeness1/5

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

For a mutation tool with three required identifiers, no annotations, and no output schema, the description should at minimum explain preconditions, retry semantics, and expected result. None of this is present, leaving the agent unable to determine correct invocation conditions or what a successful retry yields.

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% – all three path parameters (project_id, workflow_id, execution_id) already have descriptions and examples in the schema. The description adds no additional meaning about how the parameters interact or which one identifies the retry target, so the baseline of 3 applies.

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

Purpose2/5

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

"重试函数流" essentially restates the tool name RetryWorkFlow and the [FUNCTIONGRAPH] tag; it names an action but does not explain what is being retried (an execution instance versus a whole workflow definition) or what the outcome is. The presence of a required execution_id in the schema reveals the real scope, which the description never surfaces.

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?

There is no when-to-use guidance at all: no statement of prerequisites (for example, that the execution must be in a failed/terminated state), no conditions under which to prefer this over ShowWorkFlow or StopWorkFlow, and no mention of what happens if the execution is still running. The agent is left to infer everything from the name alone.

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