Skip to main content
Glama

dlf__DeleteResource

Deletes a Data Lake Factory (DLF) resource by project ID and resource ID. Use it to remove resources that are no longer needed from a Huawei Cloud project.

Instructions

[DLF] 删除资源

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": {
      "project_id": "<project_id>",
      "resource_id": "<resource_id>"
    },
    "name": "dlf__DeleteResource"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目编号.
resource_idYes资源id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/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 destructive operation, yet it discloses nothing: no irreversibility warning, no permission requirements, no cascade or dependency effects, no confirmation semantics. The bare phrase "删除资源" adds no behavioral context at all.

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?

It is a single front-loaded phrase with zero waste, but the brevity is under-specification rather than economy; there is no structure to speak of and nothing beyond the tool name plus a vendor tag.

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?

A destructive, unannotated tool with no output schema should at minimum state consequences and preconditions. Given the complexity of a delete on a DLF resource, the definition leaves out everything an agent needs 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 coverage is 100%: project_id and resource_id are both required and described in the schema, so the baseline of 3 applies. The description contributes no additional meaning about identifier formats or sourcing (e.g. where resource_id comes from).

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 states a verb and resource ("删除资源") scoped to DLF, so the agent knows it deletes something. But it never says what a "resource" is in this API, and with siblings like dlf__DeleteConnction, dlf__DeleteJob and dlf__DeleteScript it does not differentiate the object type being deleted.

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 when-to-use guidance, no prerequisites (e.g. resource must be empty or unreferenced), and no pointer to sibling tools for deleting jobs, scripts or connections. Only the verb implies the situation.

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