Skip to main content
Glama

obi_get_logs

Retrieve recent OpenTelemetry eBPF Instrumentation process logs, filtered by level and line count, to troubleshoot and monitor local OBI behavior.

Instructions

Retrieve recent logs from the OpenTelemetry eBPF Instrumentation (OBI) process. Returns log entries with optional filtering by log level (info, warn, error, debug, or all).

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_get_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoFilter logs by level (info, warn, error, debug, or all for no filtering)
linesNoNumber of recent log lines to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It states the return content (log entries) and filtering behavior, but says nothing about where logs come from, retention, truncation at the 10000-line cap, or what happens on failure. Useful but incomplete for a tool with zero annotation coverage.

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

Conciseness4/5

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

Two sentences, front-loaded with purpose and followed by return behavior; no filler. Slight redundancy in re-listing the enum values already present in the schema.

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?

A simple read tool with two optional, fully documented parameters and no output schema. The description covers what it returns and how to filter, which is sufficient; only log-source/retention context is missing.

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%, so both parameters, their enum values, defaults, and min/max bounds are already fully documented. The description restates the level values without adding meaning such as ordering or interaction between level and lines.

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?

States a specific verb and resource: 'Retrieve recent logs from the OpenTelemetry eBPF Instrumentation (OBI) process.' The scoping to the OBI process implicitly separates it from the obi_docker_logs and obi_k8s_logs siblings, though it never names them explicitly.

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 the tool is for OBI process logs but gives no explicit when-to-use or when-not guidance against the three log-related siblings. An agent must infer from the resource name alone which log source it wants.

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