Skip to main content
Glama
testflight-mcp

testflight-mcp

by OrellBuehler

download_sales_report

Read-only

Download an App Store Connect Sales and Trends report as decompressed CSV for a chosen date, frequency, and type; supports vendor number override for account-specific sales analysis.

Instructions

Download a Sales and Trends report as CSV text (decompressed from gzip). Requires a vendor number (from ASC_VENDOR_NUMBER or passed explicitly).

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": {
      "report_date": "<report_date>"
    },
    "name": "download_sales_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoReport version, e.g. '1_0' or '1_1' (some report types require it)
frequencyNoReport frequency (default: DAILY)
report_dateYesReport date: 'YYYY-MM-DD' (DAILY), 'YYYY-MM-DD' week end (WEEKLY), 'YYYY-MM' (MONTHLY), 'YYYY' (YEARLY)
report_typeNoReport type (default: SALES)
vendor_numberNoOverrides ASC_VENDOR_NUMBER
report_sub_typeNoReport sub type (default: SUMMARY)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses two genuinely useful behaviors: the return payload is CSV text and it is already decompressed from gzip, and a vendor number is required via env var or parameter. It does not cover error modes (invalid date format for a given frequency) or any rate limiting, so not a 5.

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, front-loaded with what the tool returns and followed by the one hard prerequisite. Nothing is padded or restated from the title.

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 6-parameter read-only export with full schema coverage and no output schema, the description covers the essentials: output format, decompression, and the vendor-number requirement. It could add one line on frequency/date coupling expectations, but an agent has enough to invoke it correctly.

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 the enum values for frequency, report_type and report_sub_type and the date format rules are already documented. The description's only parameter-related content restates the vendor_number fallback that the schema already states ('Overrides ASC_VENDOR_NUMBER'), adding no new meaning.

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?

Names a concrete verb ('Download') and a concrete resource ('Sales and Trends report') plus the output format, which is enough to separate it from siblings like download_finance_report or download_analytics_report_segment. It does not explicitly say which sibling to use for other report families, so it stops short of a 5.

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?

The only guidance is a prerequisite (vendor number from ASC_VENDOR_NUMBER or explicit). There is no statement of when to pick this over download_finance_report or download_analytics_report_segment, and no exclusions or rate-limit context; usage is only implied by the resource name.

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