Skip to main content
Glama
scoutapp

Scout Monitoring MCP

Official
by scoutapp

get_app_anomaly_events

Retrieve anomaly events for a Scout APM application over a specified timeframe to identify statistically significant metric deviations, with filters for state, metric, and endpoint.

Instructions

List anomaly events for a Scout APM application within a timeframe.

Anomaly events flag statistically significant deviations in a metric (e.g. response time spike, throughput drop) detected against a learned baseline.

Args: app_id: The ID of the Scout APM application. from_: Start datetime in ISO 8601 format. to: End datetime in ISO 8601 format. state: Filter by state - "open", "closed", or "all". metric: Filter by metric (e.g. response_time, throughput, error_rate). endpoint: Filter by endpoint (controller path).

Input Schema

NameRequiredDescriptionDefault
toYes
from_Yes
stateNo
app_idYes
metricNo
endpointNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.9.28

TDQS

A3.6/5.0
Behavior3/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. 'List' implies a read-only query and the definition of anomaly events (deviations vs. a learned baseline) adds real semantic value, but it says nothing about pagination, result caps, ordering, or whether the timeframe is bounded by retention limits.

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?

The purpose and definition are front-loaded in the first two sentences, then an Args block delivers the parameter detail that the schema omits. The Args block is somewhat redundant in an MCP context but earns its place given zero schema coverage; nothing is padded.

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?

With an output schema present, return values need not be explained, and the description covers purpose, event semantics, and all six parameters. Remaining gaps are pagination/result limits and default behavior for the optional filters, which matter for a list tool with a required time range.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and largely does: it documents all six parameters, gives ISO 8601 format for from_/to, supplies the state enum values ('open', 'closed', 'all') that the schema lacks, and explains endpoint as a controller path. metric is only exemplified (response_time, throughput, error_rate) rather than enumerated, and defaults are unstated.

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?

Opens with a specific verb+resource ('List anomaly events') scoped to a Scout APM application and a timeframe, and the second sentence defines what an anomaly event is. It does not distinguish itself from the sibling get_app_anomaly_event (singular), leaving the list-vs-detail split implicit rather than explicit.

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?

Usage is implied by the timeframe requirement and the filter arguments (state, metric, endpoint), which tell an agent roughly what this tool is for. There is no explicit when-to-use/when-not guidance and no routing to the sibling single-event tool, so the agent must infer the alternative.

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