Skip to main content
Glama

lakeformation__DeleteFunction

Deletes a function from a specified catalog and database in Huawei Cloud LakeFormation. Use it to remove unused functions and keep metadata clean.

Instructions

[LAKEFORMATION] 删除函数

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": {
      "catalog_name": "<catalog_name>",
      "database_name": "<database_name>",
      "function_name": "<function_name>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "lakeformation__DeleteFunction"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
instance_idYes实例Id
catalog_nameYescatalog名字
database_nameYes数据库名字
function_nameYes函数名字

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description alone must disclose that this is an irreversible mutation, whether permissions or ownership are required, and what happens to dependents such as bindings. The single phrase conveys only that the action is a deletion. That is some signal of a destructive operation, but no detail about consequences or side effects.

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 it is under-specified rather than concise: it is a one-phrase restatement with no structure, no context sentence, and no front-loaded operational detail. Brevity here reflects missing content, not efficient writing.

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 has five required path parameters, is a destructive delete, has no annotations and no output schema, so the description has to cover everything the other fields do not. Instead, it supplies nothing about the effect, required permissions, or failure conditions. That is inadequate for a mutation tool of this shape.

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?

All five path parameters (project_id, instance_id, catalog_name, database_name, function_name) have schema descriptions, so coverage is 100% and the established baseline is 3. The description adds no naming or identifier syntax guidance beyond the schema itself, but nothing is missing that the schema leaves undocumented.

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 "[LAKEFORMATION] 删除函数" only restates the tool name in Chinese ("delete function"); the bracketed prefix names the service family. There is no scope, no target detail, and no differentiation from siblings such as lakeformation__BatchDeletePartition or the functiongraph delete tools. It conveys the verb and resource but adds nothing beyond the title.

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 is given about when to use this tool versus alternatives such as lakeformation__UpdateFunction or lakeformation__ShowFunction, and no prerequisites or calls that must happen first are mentioned. A reader can infer only that the tool deletes something, with no criteria for choosing it.

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