Skip to main content
Glama
LokiMCPUniverse

Rancher MCP Server

get_pod_logs

Retrieve pod logs from a Kubernetes cluster via Rancher proxy. Specify cluster, namespace, pod name, and optional tail lines.

Instructions

Fetch logs from a pod via the Rancher Kubernetes proxy.

Args: cluster_id: Rancher-assigned cluster identifier. namespace: Namespace the pod lives in. pod_name: Name of the pod whose logs should be returned. tail_lines: Number of trailing lines to return (default 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pod_nameYes
namespaceYes
cluster_idYes
tail_linesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must cover behavioral traits. It describes the proxy method but does not mention auth requirements, rate limits, or error behavior (e.g., pod not found). The tail_lines parameter is noted but not its limitations. Minimal transparency.

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 concise: a single introductory sentence followed by a clean parameter list. Every sentence adds information. No redundant or verbose phrasing.

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?

Given the tool's simplicity and presence of an output schema, the description covers basic inputs and purpose. However, it lacks context on output format, common errors, or usage scenarios. The Args list is helpful but leaves gaps in overall completeness.

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 input schema has 0% description coverage, but the description's Args section provides meaningful explanations for each parameter: clarifies cluster_id as 'Rancher-assigned', namespace and pod_name roles, and tail_lines default. This adds significant value beyond the schema's bare titles.

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 action ('Fetch logs'), the resource ('from a pod'), and the method ('via the Rancher Kubernetes proxy'). This is specific and distinguishes it from sibling tools like list_pods or scale_deployment.

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. The description simply explains the tool's function without indicating prerequisites, when not to use, or comparing with siblings such as list_pods or get_cluster.

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/LokiMCPUniverse/rancher-mcp-server'

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