Skip to main content
Glama
Nacos MCP Server

Nacos MCP Server

by litianfu1997

nacos_get_all_configs

Retrieve all configuration entries for a specified namespace and group in Nacos, returning the complete content for each dataId.

Instructions

获取 Nacos 中指定命名空间/分组下的全部配置内容。返回每个 dataId 对应的完整配置。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nacos_get_all_configs"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNo配置分组,默认使用环境变量 NACOS_GROUP
namespaceNo命名空间 ID,默认使用环境变量 NACOS_NAMESPACE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavior burden. It does disclose the return shape (full config text per dataId), which implies a read operation and potentially large payloads, but says nothing about permissions/credentials, response size, or failure behavior for a nonexistent namespace or group.

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

Conciseness4/5

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

Two short sentences, front-loaded with the action and scope, followed by the return guarantee. No filler, though the second sentence is close to restating the first.

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

Completeness4/5

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

For a two-optional-parameter read tool with no output schema and no annotations, the description covers scope, defaults (via schema), and return content adequately. Minor gap: it does not warn about the volume of data returned when a namespace holds many configurations.

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% and both parameters already document their defaults (NACOS_GROUP, NACOS_NAMESPACE). The description restates the namespace/group scoping concept but adds no format, validation, or edge-case meaning beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource: retrieve all configuration content under a given namespace/group in Nacos, and returning the complete config per dataId. This distinguishes it in substance from a single-config getter or a name-only lister, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the word 'all' — an agent can infer this is the bulk-fetch option, but the description offers no explicit when-to-use or when-not-to-use guidance relative to nacos_get_config or nacos_list_configs.

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