Skip to main content
Glama

get_sales_report

Read an app's daily sales report with status, units sold, developer proceeds per currency, and app breakdown; defaults to yesterday when no date is provided.

Instructions

Read the daily sales report of an app, as developer proceeds per currency. Read-only. The date defaults to yesterday, because Apple generates the daily report the following day. Returns the report status (available, no sales, or not generated yet), the units sold, the developer proceeds per currency, and the breakdown by app. Requires APPLE_VENDOR_NUMBER to be configured.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "appId": "<appId>"
    },
    "name": "get_sales_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe report date in YYYY-MM-DD format (optional, defaults to yesterday; Apple generates daily reports the next day).
appIdYesThe App Store Connect app id: the opaque id of the apps resource, as listed by list_apps under "App id". It is not the customer-facing App Store ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares the operation read-only, explains the why behind the yesterday default (Apple generates reports a day late), enumerates the possible report statuses, and flags an environment prerequisite. It stops short of covering failure modes when the vendor number is missing or any latency/retry expectations.

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?

It is front-loaded with the core action and reasonably sized for a two-parameter tool, with no filler. The only waste is the phrase 'developer proceeds per currency,' which appears in both the opening sentence and the return-value list.

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 two-parameter, no-output-schema, no-annotation tool, the description does the necessary work by summarizing what comes back (status values, units, proceeds per currency, per-app breakdown) and by stating the config prerequisite. The return summary is at a high level rather than field-precise, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already fully documented in the schema, including the YYYY-MM-DD pattern and the appId distinction from the customer-facing App Store ID. The description reinforces the date default but adds no format or semantic detail beyond what the schema already states, so the baseline 3 applies.

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 first sentence names a specific verb (read) and resource (daily sales report of an app) with a scoping detail (per-app, developer proceeds per currency). It is clearly distinct from generic siblings like get_analytics or get_app_pricing, though it never explicitly contrasts itself with them.

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?

It supplies an important usage precondition (APPLE_VENDOR_NUMBER must be configured) and explains the date default, but it gives no guidance on when to use this versus get_analytics or other reporting tools. Usage is implied by the resource rather than stated.

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