Skip to main content
Glama

Detecter les anomalies d'execution

obs_anomaly_scan

Scan observability events to detect operations with error rates above threshold, high P95 latency, cost concentration, or retry loops, and classify anomalies by severity.

Instructions

Analyse les evenements pour signaler les operations dont le taux d'erreur depasse un seuil, les latences p95 aberrantes, les operations qui concentrent le cout et les boucles de retry dans une meme trace. Chaque anomalie est classee en info, warning ou critical.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depuisNoDate ISO 8601 de debut de fenetre.
projectNoRestreindre a un projet.
min_samplesNoNombre minimal d'appels pour juger une operation.
latency_factorNoMultiple de la mediane globale au-dela duquel un p95 est signale.
response_formatNoFormat de sortie. 'markdown' pour lecture humaine, 'json' pour traitement programmatique.markdown
error_rate_thresholdNoSeuil de taux d'erreur, entre 0 et 1. Defaut 0.1.
Behavior3/5

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

No annotations provided, so description carries the burden. It discloses types of anomalies (error rate, latency, cost, retry loops) and severity classification, but does not mention if the tool is read-only, auth needs, rate limits, or side effects. Adequate but not comprehensive.

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?

Description is a single sentence with a bullet list, front-loading the purpose and types of anomalies. No redundant information. Efficient for its length.

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?

With 6 parameters and no output schema, the description covers the tool's purpose and anomaly types but lacks details on output structure or how to interpret results. The response_format parameter hints at formats but not explained.

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% (all parameters have descriptions). The tool description adds context about anomaly detection logic but does not provide additional parameter-level semantics beyond the schema. Baseline 3 is appropriate.

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?

Description clearly states the tool analyzes events to detect multiple types of anomalies (error rate, latency, cost, retry loops) and classifies them by severity. It distinguishes from siblings like obs_event_log (basic logging) and obs_metrics_summary (metrics) by specifying unique detection logic.

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 explains what anomalies are detected but does not explicitly state when to use this tool instead of siblings (e.g., obs_events_search for specific events, obs_metrics_summary for summary stats). 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/AgentIA1984-cmd/agent-observability-mcp'

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