Skip to main content
Glama
OpenTelemetry MCP Server

OpenTelemetry MCP Server

by traceloop

Find Errors

find_errors

Locate error traces by service and time range, returning detailed error messages, stack traces, and LLM-specific context to speed debugging.

Instructions

Find traces with errors.

Including detailed error messages, stack traces, and LLM-specific error information.

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": "find_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum error traces to return (default: 100)
end_timeNoEnd time in ISO 8601 format
start_timeNoStart time in ISO 8601 format
service_nameNoFilter by service name

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses what content comes back (error messages, stack traces, LLM-specific error data), but says nothing about ordering, pagination, behavior when start_time/end_time are null, or whether the call is purely a read (implied by 'find' but unstated).

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 short, front-loaded sentences with no wasted wording. The second sentence is a sentence fragment, but it earns its place by telling the agent what the error payload includes.

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?

The tool is a simple read with four fully documented optional parameters and an output schema, so return-value explanation is unnecessary. However, with zero annotation coverage the description should have stated the read-only nature and the default ordering/limit behavior, and it does not.

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 description coverage is 100%, so all four parameters (limit, start_time, end_time, service_name) are already documented with formats and defaults. The description adds no filtering or format detail beyond the schema, which is the expected baseline when structured fields do the work.

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 ('Find traces with errors') and enumerates what the results contain (error messages, stack traces, LLM-specific error info), which distinguishes it from generic search tools like search_traces or the latency/cost-focused siblings. It stops short of explicitly naming the sibling it contrasts with, so an agent must infer the boundary.

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 when-to-use or when-not-to-use guidance, no mention of how this differs from search_traces or get_trace, and no stated prerequisites. The only usage signal is implied by the tool name and the word 'errors'.

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