Skip to main content
Glama
kubeopsai

k8s-telemetry-mcp

by kubeopsai

analyze_logs

Inspect Kubernetes service logs to identify errors, anomalies, and recurring patterns, then receive recommendations for faster troubleshooting.

Instructions

Analyze logs for a service — detects errors, anomalies, and patterns with recommendations.

Args: service_name: Service/pod name or regex pattern namespace: Kubernetes namespace timeframe_minutes: How many minutes of logs to analyze (1-1440) limit: Maximum log lines to analyze (1-500)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
namespaceNodefault
service_nameYes
timeframe_minutesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.6

TDQS

A4.1/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 disclosure burden. It describes the analytical behavior and input ranges, but it does not explicitly state whether the operation is read-only, what permissions are required, or any rate/cost limits. 'Analyze' implies non-mutating, but transparency is only partially addressed.

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 compact and well-structured: a one-line purpose summary followed by a concise Args list. Every line adds useful information that the schema does not provide, and the main purpose is front-loaded.

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?

With all four parameters explained and an output schema available for return shape, the core invocation contract is covered. The description could add explicit notes on access requirements or alternatives, but nothing essential for calling the tool correctly is missing.

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

Parameters5/5

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

Schema description coverage is 0%, and the Args section fully compensates: it explains that service_name can be a pod name or regex, namespace refers to a Kubernetes namespace, timeframe_minutes is in minutes with a 1-1440 range, and limit is the maximum log lines with a 1-500 range. This adds meaning well beyond the bare schema.

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 states a specific action and resource: 'Analyze logs for a service'. It further clarifies the purpose by saying it 'detects errors, anomalies, and patterns with recommendations', which distinguishes it from sibling log-query tools like query_pod_logs or query_logs_custom.

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 implies usage through its analytical framing, but it does not explicitly state when to prefer this tool over alternatives or when not to use it. An agent must infer from the summary and sibling names that this is for insight rather than raw log retrieval.

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

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/kubeopsai/k8s-telemetry-mcp'

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