Skip to main content
Glama

mas__UpdateDataSource

Modify an existing data source's database, server, credential, and instance settings within a specified MAS namespace and project.

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

Input Schema

NameRequiredDescriptionDefault
idYes
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 provided, so the description carries the full burden of behavioral disclosure and delivers none. It says nothing about required permissions, whether the update is full-replace or partial/patch semantics, reversibility, or what happens to nested spec fields that are omitted. For a mutation tool with a nested configuration object, this is a serious gap.

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 shortness here reflects under-specification rather than economy of expression. There is no structure to speak of, and the single phrase earns its place only as a namespace marker.

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?

Given high complexity (8 params, 3 required, nested object, no output schema, no annotations), the definition is wholly inadequate. An agent cannot determine the mutation semantics, the meaning of the required id/namespace_id/project_id trio, or the patch behavior of spec from this description.

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 db_name, servers (host/port), username, password, and instance_* fields. The description supplies no meaning for any parameter, so the agent has no basis for populating spec correctly versus leaving it empty.

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?

"[MAS] 更新数据源" restates the tool name (UpdateDataSource) with only a namespace tag added. It does name a verb and resource, but gives no scope, no indication of which fields can be updated, and no differentiation from siblings such as dws__UpdateDataSource. An agent learns nothing beyond what the tool name already says.

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, no prerequisites, no exclusions, and no reference to alternatives like CreateDataSource or DeleteDataSource. The agent must guess entirely from the name.

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