Skip to main content
Glama

functiongraph__DeleteFunction

Deletes a specified FunctionGraph function or a specific version (the latest version cannot be deleted). Use it to remove obsolete functions or versions by providing the function URN and project ID.

Instructions

[FUNCTIONGRAPH] 删除指定的函数或者特定的版本(不允许删除latest版本)。

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__DeleteFunction"
  }
}

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

B3.4/5.0
Behavior3/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. It correctly signals a destructive mutation and discloses one important constraint about the latest version, but it says nothing about reversibility, permission requirements, or side effects on triggers/aliases bound to the function.

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 operation front-loaded and the key restriction parenthesized. No wasted wording, though it is arguably too terse for a destructive tool.

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?

For a two-parameter destructive tool with no annotations and no output schema, the description covers the core action and one constraint but omits consequences, permission needs, and error behavior. Adequate but with clear gaps.

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 both project_id and function_urn documented in the schema, so the baseline applies. The description mentions 'specific version' but does not explain how a version is expressed within the function_urn parameter, leaving that link implicit.

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 description uses a specific verb+resource pair: deleting a function or a specific version. It also carves out an explicit scope exception (the latest version cannot be deleted). It stops short of distinguishing this tool from version-related siblings, but the resource target is unambiguous.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the name and the delete verb, and the description adds one meaningful guardrail (latest version cannot be deleted). It does not state prerequisites such as required permissions, whether all versions must be removed first, or when to prefer a sibling delete tool.

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