Skip to main content
Glama

functiongraph__StartWorkflowExecution

Starts an asynchronous FunctionGraph workflow execution for a given project and workflow ID, passing runtime input and optional headers.

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

Input Schema

NameRequiredDescriptionDefault
inputYes定义函数执行时的入参,支持使用JSONPATH进行映射,以及指定默认值
headersNo函数执行时需要的Header
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
workflow_idYes函数流定义ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/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, yet it only conveys that execution is asynchronous. It says nothing about whether an execution ID is returned, whether the caller must poll with ShowWorkflowExecution, permission prerequisites, or how failures surface — all critical for an async start operation.

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?

A single short clause with no filler and the key qualifier (异步) placed where it is immediately visible. It is efficient rather than padded, though the brevity borders on under-specification.

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?

With four parameters including nested input and headers, no annotations, and no output schema, the agent needs to know what the call returns and how to follow up on an async execution. The description supplies none of this, leaving a real gap for an operation whose whole point is deferred completion.

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%, including path parameters, input mapping, and headers, so the schema documents all four parameters. The description adds no meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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

Purpose4/5

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

The description gives a specific verb and resource (启动函数流, 'start a workflow') and qualifies the mode as 异步 (asynchronous), which implicitly separates it from the sibling functiongraph__StartSyncWorkflowExecution. It stops short of a full 5 because the qualification is compressed into a single adverb rather than stated as an explicit contrast.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 异步 tells the agent the call returns without waiting for completion, which hints at when it is appropriate versus a synchronous start. There is no explicit when-to-use, when-not-to-use, or named alternative.

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