Skip to main content
Glama

get_vitals_freshness

Read-only

Check Android vitals data freshness before querying to pick an end_date that returns rows, since vitals data usually lags about a day.

Instructions

Check how fresh Android vitals data is before querying it. Returns each requested metric set with freshnessInfo.freshnesses[], giving the latest end time available per aggregation period (DAILY, HOURLY) — use it to pick an end_date the query_* tools will actually return rows for, since vitals data typically lags about a day. Defaults to the crash, ANR and error count metric sets. A metric set with no data for this app (slowRenderingRateMetricSet is games-only, for example) comes back with an error field instead of freshnessInfo rather than failing the whole call.

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

Input Schema

NameRequiredDescriptionDefault
metric_setsNoMetric sets to check (default: crashRateMetricSet, anrRateMetricSet, errorCountMetricSet)
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
Behavior5/5

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

Goes well beyond readOnlyHint/openWorldHint by disclosing the return shape (freshnessInfo.freshnesses[] with latest end time per DAILY/HOURLY period), the ~1-day data lag, and the notable failure behavior that an unavailable metric set returns an error field rather than failing the whole call. That partial-failure semantics is exactly the kind of context annotations cannot convey.

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?

Front-loaded with the purpose, then the return shape, then the practical rationale, then the edge case. Every sentence carries information, though the final sentence is long and packs two distinct ideas (error-field fallback and games-only metric sets).

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?

No output schema exists, yet the description documents the response structure and its partial-error variant, covers the default metric sets, and explains the lag reasoning. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains what metric_sets actually controls (which metric sets get checked) and warns that some sets are app-type-specific (slowRenderingRateMetricSet is games-only). It does not elaborate on package_name beyond the schema's default note.

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 ("Check how fresh Android vitals data is") and clearly scopes it as a pre-flight step distinct from the query_* siblings. An agent can tell this is a metadata/freshness probe, not a data query.

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

Usage Guidelines4/5

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

Explicitly says to use it before querying so you can "pick an end_date the query_* tools will actually return rows for," which gives a clear trigger. It does not name a specific sibling tool or state when-not to bother, so it stops short of the top score.

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