Skip to main content
Glama

functiongraph__DeleteEvent

Deletes a specified FunctionGraph test event using its event ID, function URN, and project ID to remove obsolete test configurations.

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

Input Schema

NameRequiredDescriptionDefault
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.5/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 says 'delete'. It does not state that the operation is irreversible, what permissions or project scope are required, whether the function itself is affected, or what is returned on success.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One clause with zero wasted words and the action front-loaded, but the terseness is under-specification rather than efficiency — there is no room for the deletion context an agent needs.

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?

This is a destructive, three-required-parameter mutation with no annotations and no output schema, so the description should explain impact and prerequisites. A single phrase leaves the agent without the information needed to invoke it safely.

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 event_id, project_id, and function_urn all documented including the project-ID retrieval reference. The description adds no meaning beyond the schema, so the baseline 3 applies.

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 names a specific verb and resource ('删除指定测试事件' / delete the specified test event) and the [FUNCTIONGRAPH] prefix gives the service scope. The verb implicitly separates it from CreateEvent/ShowEvent/UpdateEvent, but nothing states that the event belongs to a specific function (the required function_urn), so scope remains vague.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as UpdateEvent (to modify instead of remove). The reader must infer that this is used when a test event is no longer needed.

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