Skip to main content
Glama
cloudcrafttech

KubeCraft MCP Server

DNS Lookup (cluster view)

dns_lookup

Resolve a hostname inside a Kubernetes cluster and compare internal DNS results with external DNS to detect split-horizon issues.

Instructions

Resolve a hostname from inside the cluster by execing nslookup/getent/python in a running pod. Compares cluster-DNS view to external DNS to detect split-horizon issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameYesHostname to resolve
record_typeNoDNS record type (default A)
Behavior3/5

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

The description reveals the method (execing nslookup/getent/python in a pod) and the comparison logic, which is helpful. However, with no annotations provided, the description carries the full burden. It does not mention potential side effects (e.g., resource usage, pod selection) or permission requirements, leaving some behavioral gaps.

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?

The description is two sentences, concise and front-loaded. The first sentence states the core function, and the second provides the key distinguishing use case. No unnecessary words.

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?

While the description explains the tool's purpose and method, it omits details about the output format (e.g., does it return IPs, textual comparison results, etc.). Since there is no output schema, the description should fill this gap. The absence of output details makes it less complete.

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 coverage is 100%, with hostname and record_type already described. The description adds no extra meaning beyond the schema (e.g., format constraints, examples, or usage tips). Therefore, it meets the baseline but does not enhance parameter understanding.

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 the tool resolves a hostname from inside the cluster using nslookup/getent/python in a running pod, and compares cluster-DNS to external DNS to detect split-horizon issues. It distinguishes itself from sibling tools like diagnose_coredns by focusing on this specific comparison.

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?

The description mentions detecting split-horizon issues, which gives a context for use, but it does not explicitly state when to use this tool versus alternatives (e.g., diagnose_coredns) or provide when-not-to-use guidance. The usage context is implied but not fully spelled out.

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/cloudcrafttech/kubecraft-mcp-server'

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