Skip to main content
Glama
App Store Connect MCP

App Store Connect MCP

by idoo

App Analytics report

analytics_report
Read-onlyIdempotent

Lists App Store analytics reports or sums metrics from newest segments by dimensions; requires analytics_setup and data lags 24–48 hours.

Instructions

Without report: lists the app's analytics reports. With report: sums metrics of its newest segments by dimensions. Needs analytics_setup; data lags 24–48 h.

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

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD
appNoname, bundle id, SKU or id; default pinned
fromNoYYYY-MM-DD
top_nNodefault 20, max 200
reportNoid or name; omit to list
metricsNocolumns to sum; default numeric
categoryNo
raw_rowsNomax 500
dimensionsNocolumns to group by
access_typeNodefault ONGOING
granularityNodefault DAILY
max_segmentsNonewest; default 3, max 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description does add genuinely non-structured behavior: the analytics_setup prerequisite and a 24-48 h data lag, both important for interpreting results. It says nothing about cost, pagination, or how large a listing response can get.

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?

Three short clauses, front-loaded with the mode distinction before the caveats, with no filler. The telegraphic compression ('newest segments by dimensions') is efficient but slightly under-explained for a first-time reader.

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?

For a 12-parameter tool with zero required params and no output schema, the definition covers the procedural essentials: prerequisite, data freshness, and the two operating modes. What an agent gets back in list versus aggregate mode is left implicit, which is the main remaining gap.

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 92%, so the schema already defines most parameters and the baseline would be 3. The description still adds real meaning: it explains the pivotal optional 'report' switch and clarifies that metrics are summed, that segments are 'newest', and that they are grouped by dimensions - a relationship the flat schema does not express.

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 states two specific verbs with their resource: 'lists the app's analytics reports' and 'sums metrics of its newest segments by dimensions'. The conditional framing cleanly separates the two operating modes, though it never names a sibling such as finance_report or insights_summary to disambiguate report types.

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?

The 'Without report / With report' construction gives an explicit rule for selecting each mode, which is effectively a use-when guideline. It also surfaces a prerequisite ('Needs analytics_setup') that would otherwise cause silent failure. It stops short of saying when to prefer this over adjacent reporting tools.

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