Skip to main content
Glama

functiongraph__CreateWorkflow

Create and configure a FunctionGraph workflow with nodes, functions, retries, triggers, and execution mode to automate serverless function orchestration.

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": {
      "constants": "<constants>",
      "functions": "<functions>",
      "name": "<name>",
      "project_id": "<project_id>",
      "retries": "<retries>",
      "start": "<start>",
      "states": "<states>"
    },
    "name": "functiongraph__CreateWorkflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo函数流模式,当前支持两种模式NORMAL
nameYes函数流名称
startYes流程开始节点ID
statesYes函数流节点清单,定义参考SleepState和OperationState
retriesYes重试策略清单
triggersNo触发器列表
constantsYes函数流中的常量
functionsYes函数列表
project_idYes租户project_id
descriptionNo函数流描述
express_configNo快速函数流模式配置,当mode为EXPRESS时需要设置
enterprise_project_idNo企业项目ID
enable_stream_responseNo是否返回流数据

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 names the create operation. It does not disclose required permissions, whether workflow/function names must be unique, what happens on duplicate names, or any side effects of registering triggers and executions.

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?

The single six-character phrase is technically concise with no wasted words, but this is under-specification rather than conciseness. It is front-loaded only in the trivial sense that there is nothing else to order.

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 13-parameter, 7-required mutation tool with deep nested objects (states, actions, function_ref, triggers), no annotations, and no output schema, a bare phrase leaves the agent without any of the context needed to invoke it correctly.

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%, so every one of the 13 parameters, including nested states, triggers, and retries, is already self-documented. The description adds no additional meaning, which is acceptable given the schema does the heavy lifting, but it means no value beyond structured data.

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 gives a specific verb and resource ("创建函数流" = create a function workflow), so an agent knows the general operation. However, it offers no differentiation from nearby siblings such as CreateCallbackWorkflow or the aom__CreateWorkflow variant, and the only distinguishing signal is the [FUNCTIONGRAPH] tag.

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, no mention of prerequisites, and no pointer to alternatives like CreateCallbackWorkflow or the execution-start tools. The agent must infer from the name alone that this is the entry point for defining a new 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