Skip to main content
Glama
jsamuel1

otel-analyzer-mcp

by jsamuel1

search_genai_traces

Search CloudWatch spans for GenAI traces and return model details, token usage, and latency.

Instructions

Search CloudWatch aws/spans for GenAI traces from Bedrock AgentCore.

Args: filter_query: CloudWatch Logs Insights filter (e.g., 'name like /bedrock/') start_time: ISO format start time end_time: ISO format end time limit: Max results (default: 20) profile: AWS profile name region: AWS region

Returns GenAI traces with model info, token usage, and latency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filter_queryNo
start_timeNo
end_timeNo
limitNo
profileNo
regionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains the tool returns model info, token usage, and latency, and notes that filter_query is a CloudWatch Logs Insights filter. However, it does not disclose pagination, rate limits, auth details, or error behavior.

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 front-loaded with purpose, followed by a structured argument list and a return statement. Every sentence adds value; no redundancy or fluff.

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?

The description explains parameters and return values (model info, token usage, latency). Given the presence of an output schema, it is mostly complete. However, it could benefit from clarifying default time range behavior or error handling.

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 coverage is 0%, but the description adds clear meaning for each parameter: examples for filter_query, format for start/end_time, default for limit, and context for profile/region. This compensates well for the lack of schema descriptions.

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 the tool searches CloudWatch aws/spans for GenAI traces from Bedrock AgentCore, specifying the resource, action, and target. It distinguishes from siblings like search_xray (X-Ray) and list_traces (list without filtering).

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 mentions it searches GenAI traces with a filter query and time range, but does not explicitly state when to use it versus alternatives like search_xray or list_traces. No when-not-to-use guidance is provided.

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/jsamuel1/otel-analyzer-mcp'

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