Skip to main content
Glama

nacos_publish_config

Publishes or updates Nacos configuration items, validating JSON/YAML syntax before submission to block malformed content.

Instructions

发布或更新 Nacos 配置项内容(内置 JSON/YAML 语法格式合法性前置拦截校验)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descNo配置描述信息
typeNo配置格式类型(支持 text/json/xml/yaml/html/properties/toml)
groupNo配置分组 (Group),默认 DEFAULT_GROUPDEFAULT_GROUP
dataIdYes目标配置集 ID (Data ID)
appNameNo所属应用名称 (App Name)
contentYes待发布的配置内容全文
namespaceIdNo命名空间 Tenant ID,留空或 public 为公共空间

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and usefully discloses built-in JSON/YAML validation. However, it omits mutation semantics such as overwrite behavior, permission requirements, and idempotency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single, front-loaded sentence with zero filler; the validation caveat is appropriately placed in parentheses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is minimum viable for a write tool: it states purpose and one behavioral safeguard. For a mutation tool with no annotations and no output schema, it should say more about what happens on success/failure or when a config already exists.

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 description coverage is 100%, so all seven parameters are documented in the schema. The description adds no parameter-level meaning beyond mentioning JSON/YAML validation, which is the baseline 3 when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource — publish or update Nacos configuration content — and adds the validation scope. It clearly differs from read/delete/list siblings, but it does not explicitly name or distinguish the similar rollback sibling.

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?

The description says what the tool does but gives no when-to-use guidance, prerequisites, or alternatives. It does not route the agent between this and nacos_rollback_config or nacos_delete_config.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.