Skip to main content
Glama
kowshik3383

Production Monitoring MCP

by kowshik3383

analyze_logs

Query structured application logs from Better Stack Logs to investigate anomalies, errors, and traces.

Instructions

Query structured application logs from Better Stack Logs to investigate log anomalies, errors, and traces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd timestamp (ISO 8601)
fromNoStart timestamp (ISO 8601)
limitNoMax log entries to retrieve (default: 50)
queryNoLog search query filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 burden. It implies a read via 'query' but does not state pagination behavior (despite a limit parameter), result ordering, rate limits, or auth requirements. Behavioral disclosure is thin for a no-annotation tool.

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?

A single efficient sentence with the resource and source front-loaded, followed by intended use. No filler or redundancy.

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?

For a read-only query tool with no output schema, the definition is adequate but leaves gaps: it does not route the agent among the many observability siblings or describe result shape/pagination. The schema covers parameters, so the main shortfall is routing and behavior.

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 the four parameters (from, to, limit, query) are already fully documented in the schema. The description adds no syntax, format, or default details beyond that, so the baseline 3 applies.

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 (query), resource (structured application logs), and source system (Better Stack Logs), plus the investigative intent. An agent can distinguish it from the deployment-specific log sibling, though the overlap with get_recent_errors is not addressed.

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 trailing clause 'to investigate log anomalies, errors, and traces' implies a use case, but there is no explicit when-to-use guidance and no reference to alternatives like get_recent_errors or get_deployment_logs, which occupy adjacent territory.

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