Skip to main content
Glama

functiongraph__CreateCallbackWorkflow

Create a FunctionGraph workflow callback to report execution success or failure, passing the workflow ID, project ID, result status, and output.

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": {
      "output": "<output>",
      "project_id": "<project_id>",
      "result": "<result>",
      "workflow_id": "<workflow_id>"
    },
    "name": "functiongraph__CreateCallbackWorkflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
errorNo错误信息
outputYes工作流的执行结果,JSON格式,仅在status为success时有值
resultYes执行结果
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。
workflow_idYes函数工作流ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/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. For a mutating creation tool it does not say what is created, whether it is idempotent, what permissions or a completed execution are required, or what side effects occur when result is 'success' versus 'fail'.

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 text is short but not concise in any useful sense — it is a domain tag plus two words with no front-loaded action or context. No sentence in it conveys operational information an agent could act on.

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?

The tool takes five parameters including a nested JSON output object, is a mutation, and has no output schema to describe returns, so the description should do substantial work. Instead it provides nothing beyond a label, leaving the agent unable to understand the callback contract that the required result/error/output fields imply.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter including the nested output object and the result enum is already documented in the schema; the description adds nothing but is not required to. The schema already explains that output is only populated when status is success, so a high baseline is warranted.

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?

The description is a bare noun phrase, "[FUNCTIONGRAPH] 回调工作流" (callback workflow), with no verb at all — the action (create) is only inferable from the tool name. It adds a product-domain tag but otherwise restates the name rather than stating what the tool does to the workflow or what a callback workflow is.

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

Usage Guidelines1/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 prerequisites, and no mention of alternatives such as functiongraph__CreateWorkflow or StartWorkflowExecution, despite many similar siblings existing. An agent has nothing in the description to distinguish this from the other workflow-related tools.

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