Skip to main content
Glama

functiongraph__UpdateEvent

Updates a FunctionGraph test event's content by event ID, function URN, and project ID to revise payloads for function testing.

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": {
      "content": "<content>",
      "event_id": "<event_id>",
      "function_urn": "<function_urn>",
      "project_id": "<project_id>"
    },
    "name": "functiongraph__UpdateEvent"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes测试事件content,为json字符串的base64编码
event_idYes测试事件ID
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。
function_urnYes函数的URN,详细解释见FunctionGraph函数模型的描述。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 for a mutation tool. It does not state whether the update is full replacement or partial, whether it is idempotent, what permissions are needed, or what happens to the event on failure.

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 phrase with no wasted words and the resource front-loaded. It is efficient, but its brevity borders on under-specification rather than crispness.

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

Completeness3/5

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

With a fully documented schema and no output schema, the parameters are adequately covered. However, for a state-mutating tool with zero annotation coverage, the description leaves the entire behavioral surface unexplained.

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%, with each of the four required parameters (content, event_id, project_id, function_urn) documented inline including encoding hints and a project-ID reference link. The description adds no parameter meaning beyond that, so the baseline of 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 Chinese phrase "更新测试事件详细信息" gives a clear verb (update) plus resource (test event) and scope (detailed information), and the [FUNCTIONGRAPH] prefix identifies the service. An agent can distinguish it from CreateEvent/DeleteEvent/ShowEvent by the verb alone, though the description never explicitly contrasts them.

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 guidance on when to use this tool instead of ShowEvent or CreateEvent, and no prerequisites such as required permissions or the need for the event to already exist. Usage must be inferred entirely from the verb.

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