Skip to main content
Glama
KrystalView

KrystalView MCP Server

Official
by KrystalView

get_anomalies

Retrieve detected anomalies for a site, where metrics deviate significantly from their 7-day rolling average. Includes type, severity, deviation percentage, and AI explanation.

Instructions

Get detected anomalies for the site.

Anomalies are automatically detected when metrics deviate significantly from their 7-day rolling average (>2 standard deviations). Types include: traffic_spike, traffic_drop, friction_surge, and bounce_spike.

Each anomaly includes: type, severity (warning/critical), metric name, expected vs actual values, deviation percentage, and an AI-generated explanation of what likely caused it.

Args: limit: Max results (1-200, default 20) unacknowledged_only: Only show unacknowledged anomalies

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
unacknowledged_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must provide behavioral transparency. It explains the output structure and the anomaly detection logic, which is helpful. However, it does not explicitly state that this is a read-only operation or any potential side effects, leaving some uncertainty about the tool's behavior.

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 description is well-structured with a clear purpose statement followed by explanatory details and parameter descriptions. It is efficient, though the explanation of anomaly types could be considered extraneous for the tool's core function.

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 covers the tool's purpose, output structure, and parameter details comprehensively. It could be improved with usage guidelines relative to siblings, but given the tool's simplicity and the presence of an output schema, it is sufficiently complete.

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?

The schema only provides parameter names and types. The description adds constraints (1-200 range for limit), default values, and functional meaning for unacknowledged_only. This compensates well for the 0% schema coverage.

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 clearly states the tool's purpose: retrieving detected anomalies for the site. It further elaborates on the nature of anomalies (deviations from 7-day rolling average) and lists types, which helps differentiate from sibling tools focused on funnels, sessions, and stats.

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 provides context about what anomalies are and the data they include, which implies usage for monitoring anomalies. However, it does not explicitly state when to use this tool versus the sibling tools, nor does it provide any exclusions or prerequisites.

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/KrystalView/krystalview-mcp'

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