Skip to main content
Glama

mas__ShowNamespacesById

Retrieves details for a specified namespace by namespace ID and project ID, so you can inspect namespace configuration in Huawei Cloud MAS.

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>",
      "project_id": "<project_id>"
    },
    "name": "mas__ShowNamespacesById"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. '查询' weakly implies a read-only lookup, but nothing is said about required permissions, behavior when the ID does not exist, or whether the result is a single namespace object.

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 single short phrase is front-loaded and free of filler, but its brevity is under-specification rather than conciseness — nothing an agent needs in order to call the tool correctly is present.

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

Completeness2/5

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

With two mandatory undocumented parameters, no annotations, and no output schema, the definition leaves the agent guessing about scope and return shape. A one-line description is insufficient for this level of structured-data sparsity.

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% and the description mentions neither of the two required path parameters (`id`, `project_id`). It adds no meaning about what the ID identifies or why a project scope is also required.

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 description states a verb-plus-resource ('query the specified namespace'), which is minimally informative, but it never says the lookup is by ID even though the tool name and required `id` parameter imply keyed retrieval. It also gives no way to distinguish this from the many sibling Show*ById tools beyond the resource noun.

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 mention of prerequisites such as needing a project context, and no statement of when another tool would be preferred. An agent must infer everything from the name alone.

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