Skip to main content
Glama

functiongraph__StartSyncWorkflowExecution

Starts a FunctionGraph workflow synchronously using a workflow ID and input, returning the execution result immediately; supports quick-mode workflows only.

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

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 provided, so the description carries the full behavioral burden. It does disclose the key trait that execution is synchronous (the call blocks until the workflow completes), but it says nothing about permissions, error/timeout behavior, or what a synchronous return contains.

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 front-loaded sentence with the execution mode and the applicability constraint, with no filler. It is efficient, though extremely terse given the complexity of a workflow-launch operation.

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 no annotations and no output schema, the description should explain more about a synchronous execution tool — particularly what the synchronous response returns (execution ID, output, status) and timeout/failure semantics. The constraint on fast-mode workflows is covered, but the surrounding behavior is not.

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%, and the schema itself documents the nested 'input' object including JSONPATH mapping and default values. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 function workflow in synchronous execution mode') plus a scoping qualifier ('only fast-mode function workflows supported'). It is clearly distinguishable from the async-flavored sibling names like StartWorkflowExecution, though it never names that sibling explicitly.

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?

The parenthetical '仅快速模式函数流支持' functions as a when-not condition, telling the agent that slow-mode workflows cannot use this tool. However, it does not name the alternative tool to use for non-fast-mode or async execution, so the routing guidance is implied rather than explicit.

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