Skip to main content
Glama

mas__CreateDataSource

Creates a Huawei Cloud MAS data source with namespace and project details, defining database connection and instance settings for migration or synchronization workflows.

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

Input Schema

NameRequiredDescriptionDefault
idNo
nameNo
specNo
typeNo
project_idYes
descriptionNo
namespace_idYes
multi_active_zone_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.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 and discloses none of it. It says nothing about required permissions, whether the call is idempotent, what happens on duplicate names, or what the operation returns — significant gaps for a mutation tool with a nested credential-bearing spec.

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?

It is short and front-loaded, but the brevity reflects under-specification rather than economy — there is no structure, no scope statement, and no information beyond a four-character restatement of the tool name.

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 create operation with 8 parameters, a nested credential object, no annotations, and no output schema, the description is entirely inadequate. It omits prerequisites, lifecycle context, permission requirements, and any indication of what a successful creation yields.

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

Parameters1/5

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

Schema description coverage is 0% across 8 parameters, including a nested 'spec' object with seven undocumented sub-fields (db_name, servers, password, username, instance_type, etc.), plus namespace_id, project_id, multi_active_zone_id and type. The description explains none of them, so an agent must guess at required field semantics and the shape of the nested servers array.

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 is '创建数据源' — a direct translation of the tool name CreateDataSource with no additional scope. It states a verb and resource, but adds nothing an agent could not infer from the identifier, and does not distinguish this from dws__CreateDataSource or roma__CreateSource in the sibling list.

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 guidance on when to use this tool, when to prefer a sibling such as dws__CreateDataSource, or what prerequisites (namespace, project, instance) must exist first. Nothing beyond the bare verb is conveyed.

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