Skip to main content
Glama

mas__SetGlobalConf

Adds or updates global configuration rules for a MAS instance, specifying network ranges, site details, and etcd authentication settings.

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "mas__SetGlobalConf"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
specNo
typeNo
project_idYes
instance_idYes
created_dateNo
updated_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/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 entire burden, yet it discloses nothing about mutation semantics, idempotency, replacement-versus-merge behavior on the nested spec, or required permissions. The spec object visibly contains credential fields (etcd_password, etcd_root_password), and the description gives no warning that secrets are being submitted.

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 definition is a single four-character phrase with no punctuation, structure, or front-loaded detail beyond a name prefix. Brevity here reflects under-specification rather than economy of expression.

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 tool that mutates global configuration and takes a deeply nested object containing credentials, with no annotations and no output schema, the definition is wholly inadequate. An agent cannot call it correctly without reverse-engineering the schema by trial and error.

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 7 parameters, including a nested spec object with roughly fourteen undocumented properties (ips, cidr, eips, etcd_cluster, ief_config_path, and so on). The description says nothing about what any parameter means, which parameters are optional versus required, or what the relationship between id, type, and spec is.

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 phrase "[MAS] 添加配置规则" (add configuration rule) does supply a verb and a resource, but the verb conflicts with the tool name SetGlobalConf (set/upsert global config), leaving it ambiguous whether this creates a new record or overwrites existing settings. No sibling differentiation is given, even though mas__DeleteGlobalConf, mas__ShowGlobalConf, and mas__UpdateGlobalConf sit right next to it.

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 statement of prerequisites, and no mention of how this differs from UpdateGlobalConf or DeleteGlobalConf. An agent must guess from the name alone whether a create or an in-place modification is appropriate.

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