Skip to main content
Glama

list_anomalies

Read-only

Detect anomalies in Google Play vitals metrics outside expected historical ranges, flagged only when a metric worsens. Identify current issues by versionCode or deviceModel, then query timelines for context.

Instructions

List anomalies Google detected in this app's vitals metrics — datapoints that fall outside the expected range derived from historical data, flagged only when a metric got worse. Each anomaly has name, metricSet (which metric set it was found in), dimensions (the slice it applies to, e.g. a single versionCode or deviceModel), metric (the anomalous value) and timelineSpec (the period it covers). Feed those into the matching query_* tool to pull the full timeline for context. Returns 10 by default, 100 at most; pass page_token from nextPageToken for more. Start here to check whether anything is currently wrong instead of guessing date ranges.

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": "list_anomalies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax anomalies (default: 10)
filterNoAIP-160 filter. The one supported function is activeBetween(startTime, endTime) with RFC-3339 timestamps or the literal UNBOUNDED, e.g. activeBetween("2026-08-01T00:00:00Z", UNBOUNDED)
page_tokenNonextPageToken from a previous call
package_nameNoApp package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv0.3.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds substantive behavior beyond that: anomalies are only flagged when a metric got worse, the default page size is 10 with a hard cap of 100, and pagination continues via nextPageToken. It does not discuss permission or quota constraints, but for a read-only list tool the added context is strong.

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 scope are front-loaded, followed by the returned field list, the follow-up routing, and finally pagination mechanics. Every sentence carries usable information, though the field enumeration sentence is dense and could be tightened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and four parameters, the description compensates fully: it describes the shape of each returned anomaly, the pagination envelope, the default and maximum page size, and where to go next for timeline data. An agent has everything needed to call it correctly on the first attempt.

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 100%, so the baseline is 3, but the description adds meaning the schema does not: the default and maximum result counts tied to limit, and the instruction to pass page_token from nextPageToken for subsequent pages. It says nothing about the filter or package_name parameters, leaving those entirely to the schema, which keeps this from a 5.

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?

States a specific verb and resource ('List anomalies Google detected in this app's vitals metrics') and defines the concept inline as datapoints outside a historical expected range, flagged only when a metric worsened. It also enumerates the returned fields (name, metricSet, dimensions, metric, timelineSpec), which distinguishes it from the query_* siblings that return raw metric timelines.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit entry-point recommendation ('Start here to check whether anything is currently wrong instead of guessing date ranges') and routes the agent onward: feed anomaly fields into the matching query_* tool for full timeline context. The when-to-use and the alternative path are both named rather than inferred.

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