Skip to main content
Glama
concavegit
by concavegit

list_analytics_reports

Retrieve available analytics reports for a specific App Store Connect report request, with options to filter by category and limit results.

Instructions

Get available analytics reports for a specific report request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reportRequestIdYesThe ID of the analytics report request
limitNoMaximum number of reports to return (default: 100)
filterNo

Implementation Reference

  • The main handler function that executes the tool logic: lists analytics reports for a given report request ID using the App Store Connect API.
    async listAnalyticsReports(args: { reportRequestId: string; limit?: number; filter?: { category?: AnalyticsReportCategory; }; }): Promise<ListAnalyticsReportsResponse> { const { reportRequestId, limit = 100, filter } = args; validateRequired(args, ['reportRequestId']); const params: Record<string, any> = { limit: sanitizeLimit(limit) }; Object.assign(params, buildFilterParams(filter)); return this.client.get<ListAnalyticsReportsResponse>(`/analyticsReportRequests/${reportRequestId}/reports`, params); }
  • src/index.ts:1391-1392 (registration)
    Registers the tool handler dispatch in the MCP CallToolRequestSchema handler switch statement.
    case "list_analytics_reports": return { toolResult: await this.analyticsHandlers.listAnalyticsReports(args as any) };
  • Defines the tool metadata including name, description, and input schema for validation in the tools list.
    name: "list_analytics_reports", description: "Get available analytics reports for a specific report request", inputSchema: { type: "object", properties: { reportRequestId: { type: "string", description: "The ID of the analytics report request" }, limit: { type: "number", description: "Maximum number of reports to return (default: 100)", minimum: 1, maximum: 200 }, filter: { type: "object", properties: { category: { type: "string", enum: ["APP_STORE_ENGAGEMENT", "APP_STORE_COMMERCE", "APP_USAGE", "FRAMEWORKS_USAGE", "PERFORMANCE"], description: "Filter by report category" } } } }, required: ["reportRequestId"] }
  • TypeScript interface defining the structure of the response from the listAnalyticsReports API call.
    export interface ListAnalyticsReportsResponse { data: AnalyticsReport[]; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/concavegit/app-store-connect-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server