Skip to main content
Glama

resolve_namespace

Resolves the namespace of a Kubernetes service from its name, enabling targeted chaos experiments within the correct namespace.

Instructions

根据K8s服务名称,查询该服务所在的命名空间namespace

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selector_valueYes
Behavior2/5

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

No annotations provided, so description carries full burden. It does not mention read-only nature, permissions required, or error handling behavior. Only states the query action without deeper behavioral traits.

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?

Single sentence with no redundant words. Efficiently communicates the tool's purpose and key input.

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?

No output schema, so description should explain return value (e.g., namespace name string). It does not. Also lacks error scenarios. Simple tool but missing output and failure context.

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?

The description identifies the parameter as a K8s service name, adding some meaning beyond the schema's minimal property definition. However, it lacks format details or examples, and schema coverage is 0%, so more compensation could be expected.

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?

The description clearly states it resolves a K8s service name to its namespace, using specific verb 'query' and resource 'namespace'. It distinguishes from sibling tools like get_namespaces which list all namespaces or chaos tools.

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?

No explicit guidance on when to use this tool versus alternatives such as get_namespaces. The description only states the basic functionality without providing context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ausium/chaosmesh-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server