Skip to main content
Glama

functiongraph__BatchDeleteFunctionTriggers

Deletes all trigger configurations for a specified FunctionGraph function by URN and project ID, clearing event or schedule triggers during cleanup or redeployment.

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

Input Schema

NameRequiredDescriptionDefault
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 provided, so the description carries the full behavioral burden. It implies an irreversible bulk mutation but says nothing about whether the triggers can be restored, whether the function itself is affected, what permissions are required, or what happens if the function has no triggers.

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 compact sentence with the destructive verb front-loaded and zero filler. It is efficient, though the terseness leaves nothing to structure.

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?

For a destructive, all-or-nothing batch delete with no annotations and no output schema, the definition is too thin. An agent cannot confirm irreversibility, side effects on the parent function, or the expected response, which is the critical missing context for this tool class.

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% for both path parameters (project_id and function_urn), so the schema already documents them fully. The description adds no extra meaning about parameter format or constraints, making the baseline 3 appropriate.

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?

States a specific verb+resource in one line: delete all trigger settings of a specified function. The word "所有" (all) implicitly distinguishes it from the singular functiongraph__DeleteFunctionTrigger sibling, but no sibling is named explicitly, so the differentiation is left to inference.

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 guidance on when to use this batch deletion versus the single-trigger deletion sibling, no prerequisites, and no note on whether it must be preceded by ListFunctionTriggers. The agent must guess the selection criteria.

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