Skip to main content
Glama

obi_k8s_logs

Retrieve aggregated logs from OpenTelemetry eBPF Instrumentation (OBI) pods by namespace, pod name, time window, and tail count to diagnose observability issues.

Instructions

Get aggregated logs from OBI pods

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "obi_k8s_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
tailNo
sinceNo
contextNo
podNameNo
namespaceNoobservability
kubeconfigNo
timestampsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/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 and largely drops it. 'Aggregated' hints at multi-pod collection, but nothing is said about required cluster permissions, whether kubeconfig must point at a live cluster, failure behavior, or what a missing namespace means. For a 7-parameter operational tool, that is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and wastes no words, but its brevity comes at the cost of under-specification rather than genuine economy. There is no structure to speak of beyond one clause.

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?

With no annotations, no output schema, and seven undocumented parameters, the definition leaves too much for the agent to guess. A sentence on namespace scoping, kubeconfig requirements, and the meaning of tail/since would make it callable with confidence.

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

Parameters1/5

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

Schema description coverage is 0% across seven parameters, including non-obvious ones like 'context', 'since', 'tail', and 'kubeconfig'. The description explains none of them, so the agent gets no help on whether 'context' is a kube context name or a log line count, or on the expected format for 'since'.

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 names a specific verb and resource: 'Get aggregated logs from OBI pods.' The word 'pods' signals a Kubernetes-scoped log source, which distinguishes it from the docker-oriented siblings such as obi_docker_logs. It stops short of explicitly differentiating itself from obi_get_logs, but the purpose is unmistakable.

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?

There is no guidance on when to choose this tool over obi_get_logs or obi_docker_logs, and no prerequisites (cluster access, kubeconfig, namespace assumptions) are stated. The agent must infer usage from the name alone.

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