Skip to main content
Glama

mas__DeleteDataSource

Deletes a data source from a specified namespace in Huawei Cloud MAS by providing the project ID, namespace ID, and data source ID.

Instructions

[MAS] 删除数据源

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": {
      "id": "<id>",
      "namespace_id": "<namespace_id>",
      "project_id": "<project_id>"
    },
    "name": "mas__DeleteDataSource"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesid
project_idYes
namespace_idYes

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 carries the full behavioral burden, yet it says nothing beyond the fact that a deletion occurs. It does not disclose irreversibility, whether dependent data-sync tasks must be removed first, required permissions, or what happens when the id does not exist — all critical for a destructive mutation.

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?

The description is a single short phrase with no wasted words, so it is concise. But its brevity stems from under-specification rather than efficient information design — there is no structure or front-loaded detail to speak of.

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?

For a destructive mutation with three required path parameters, no annotations, and no output schema, the description is drastically incomplete. An agent gets no information about safety, side effects, parameter meaning, or outcomes beyond the bare word 'delete'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: 'id' has a purely circular description ('id') and both project_id and namespace_id are undocumented. The description adds no meaning to any of the three required path parameters, so an agent cannot tell what identifier format is expected or how namespace/project scoping affects the target.

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 gives a verb and a resource ('删除数据源' / delete data source), so the core action is identifiable. However, it is essentially a translation of the tool name 'mas__DeleteDataSource' and offers no differentiation from siblings such as dws__DeleteDataSource or roma__DeleteSource, which share the same apparent purpose across different subsystems.

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

Usage Guidelines1/5

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

There is no when-to-use guidance at all: no statement of prerequisites, no indication of when this is preferable to the sibling delete tools, and no warning about side effects or dependent resources. The agent must infer everything from the name alone.

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