Skip to main content
Glama
kowshik3383

Production Monitoring MCP

by kowshik3383

analyze_api_latency

Analyze Cloudflare Analytics edge HTTP traffic, status codes, and error rates to diagnose API latency and reliability issues.

Instructions

Analyze edge HTTP traffic, status codes (2xx, 4xx, 5xx), and error rates from Cloudflare Analytics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idNoCloudflare Zone ID (falls back to CLOUDFLARE_ZONE_ID)
timeframe_minutesNoWindow in minutes (default: 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It reveals the data source (Cloudflare Analytics) but says nothing about authentication needs, rate limits, pagination, or what the analysis returns, and it is silent on the latency behavior its own name advertises.

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 compact sentence with no filler, front-loading the verb and the data scope. It is efficient, though the absence of any routing or scope qualifier means the brevity comes at a cost to usability.

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?

There is no output schema and no annotations, so the description should explain the shape of results and the operating context. Instead it omits return format, permissions, and the latency signal implied by the name, leaving the agent short of what it needs for an analytics tool with multiple overlapping siblings.

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 both parameters (zone_id with fallback, timeframe_minutes with default) are already fully documented in the schema. The description adds no syntax, units, or fallback context beyond that, so 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 ('Analyze') and concrete resources (edge HTTP traffic, status codes, error rates) plus the data source (Cloudflare Analytics), so an agent knows what it returns. However it never mentions latency despite the tool being named analyze_api_latency, and it does not distinguish itself from siblings like get_recent_errors or get_error_details that also surface error data.

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?

No when-to-use guidance and no alternatives are named, even though the sibling list contains several overlapping tools (get_recent_errors, get_error_details, analyze_logs, get_production_health). The agent must guess whether this is the right entry point for error/latency investigation.

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