Skip to main content
Glama
gsc-mcp
by xevrion

Find unusual days

find_anomalies
Read-only

Detect days where clicks or impressions broke sharply from the same weekday in prior weeks, flagging sudden drops, spikes, or tracking gaps for site monitoring.

Instructions

Days where clicks or impressions broke sharply from the same weekday in the previous four weeks: sudden drops, spikes, or tracking gaps. Good for monitoring and 'did anything weird happen?'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_anomalies"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to scan
siteNoe.g. "example.com" or any URL on it. Optional if there is one property.
filterNoe.g. "page contains /blog/; country equals usa". Ops: equals, notEquals, contains, notContains, includingRegex, excludingRegex
metricNoclicks
thresholdNoHow unusual a day must be (z-score)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish readOnlyHint=true and openWorldHint=true, so the bar is lower, and the description still adds real substance by disclosing the detection method — deviation against the same weekday across the prior four weeks, covering both spikes and tracking gaps. It does not state data-source prerequisites, minimum history needed, or how many anomalies are typically returned.

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?

Two short sentences with the detection logic front-loaded and the use case trailing; no restatement of the title and no filler.

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 five-parameter read-only analysis tool with no output schema, the definition explains the detection concept but leaves the response shape unstated — an agent cannot tell whether it gets dates only, dates with volumes, or severity scores. Filter syntax and site scoping are also entirely delegated to the schema.

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 coverage is 80%, so the schema already documents days, site, filter, metric, and threshold including bounds and defaults. The description only reinforces that both clicks and impressions are analyzable and that the multi-week weekday baseline is what makes a day 'unusual'; it adds no interpretation of threshold magnitude or of the filter syntax.

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?

The description gives a specific verb-and-resource definition: it surfaces days where clicks or impressions 'broke sharply from the same weekday in the previous four weeks,' including drops, spikes, and tracking gaps. That is concrete enough to distinguish it from reporting siblings such as site_overview or search_analytics, though it never names an alternative tool for contrast.

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 only implied through 'Good for monitoring and did anything weird happen?' — a loose, exploratory framing rather than an explicit when-to-use rule. There is no guidance on when to prefer diagnose_traffic_drop for a known incident, or when a normal period comparison would be more appropriate.

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