Skip to main content
Glama
geored

Lumino

analyze_pod_logs_hybrid

Analyzes Kubernetes pod logs with intelligent strategy selection based on context and urgency, providing insights for troubleshooting, investigation, or monitoring.

Instructions

Hybrid log analyzer with intelligent strategy selection and caching.

Automatically selects best analysis approach based on context and urgency.

Args:
    namespace: Kubernetes namespace.
    pod_name: Pod name to analyze.
    container_name: Specific container (if multiple).
    strategy: "auto" (default), "smart_summary", "streaming", or "hybrid".
    request_type: "investigation", "troubleshooting", or "monitoring".
    urgency: "low", "medium" (default), "high", or "critical".
    use_cache: Use intelligent caching (default: True).
    custom_params: Custom parameters for strategies.

Returns:
    Dict[str, Any]: Keys: strategy_used, analysis_results, supplementary_insights,
                    performance_metrics, recommendations, cache_info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceYes
pod_nameYes
container_nameNo
strategyNoauto
request_typeNoinvestigation
urgencyNomedium
use_cacheNo
custom_paramsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses key behavioral traits: intelligent strategy selection, caching capability, and context/urgency-based approach. However, it doesn't mention permissions needed, rate limits, whether it's read-only or destructive, performance characteristics, or error handling. For a complex 8-parameter tool with no annotations, this leaves significant 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 perfectly structured and concise. It begins with a clear purpose statement, follows with key behavioral context, then provides comprehensive parameter documentation in a clean Args/Returns format. Every sentence earns its place, with no wasted words or redundancy.

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?

Given the tool's complexity (8 parameters, no annotations, but with output schema), the description is quite complete. It explains all parameters thoroughly and documents the return structure. However, for a tool with no annotations and significant behavioral complexity (strategy selection, caching, urgency handling), it could benefit from more operational context about performance, limitations, or error scenarios.

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?

The description provides excellent parameter semantics beyond the 0% schema coverage. It explains all 8 parameters with meaningful context: namespace and pod_name are required identifiers, container_name is for multi-container pods, strategy has 4 specific options, request_type has 3 purposes, urgency has 4 levels, use_cache enables intelligent caching, and custom_params allows strategy customization. This fully compensates for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool analyzes pod logs with hybrid strategy selection and caching ('Hybrid log analyzer with intelligent strategy selection and caching'). It specifies the resource (pod logs) and key capabilities (strategy selection, caching). However, it doesn't explicitly differentiate from sibling tools like 'analyze_logs', 'smart_summarize_pod_logs', or 'stream_analyze_pod_logs' which appear related.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context about when to use different strategies based on urgency and request type ('Automatically selects best analysis approach based on context and urgency'). It mentions strategy options and request types, giving implicit guidance. However, it doesn't explicitly state when NOT to use this tool or name specific alternatives among the many sibling tools.

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/geored/Lumino'

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