Skip to main content
Glama

nacos_list_namespaces

Retrieve all namespaces and their isolation metadata from a Nacos cluster to inspect tenant boundaries and manage isolated configurations.

Instructions

查询 Nacos 集群所有命名空间列表及隔离元数据

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/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. It discloses that the tool queries all namespaces and isolation metadata, implying a read-only scope, but does not explicitly state that no mutation occurs, whether authentication is required, or any pagination behavior.

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?

A single, front-loaded sentence with no wasted words. The purpose and scope are stated immediately and the description is appropriately sized for a zero-parameter list tool.

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 simple zero-parameter read tool, the description sufficiently conveys the resource being listed. However, without an output schema or annotations, it could have clarified the return shape or read-only safety profile a bit more.

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

Parameters4/5

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

The tool has zero parameters, so the baseline is 4. The empty input schema is fully documented, and there is no parameter nuance the description needs to clarify.

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

Purpose5/5

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

States a specific verb ('查询') and resource ('所有命名空间列表及隔离元数据'), and clearly distinguishes itself from sibling mutation tools like nacos_create_namespace and nacos_delete_namespace. An agent can identify this as the read-only list operation without opening the schema.

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 only states what the tool returns; it gives no explicit guidance on when to use it versus alternatives such as nacos_get_service or nacos_list_services. There is no mention of prerequisites, filtering context, or exclusions.

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