Skip to main content
Glama
concavegit
by concavegit

list_analytics_report_segments

Retrieve downloadable segments for App Store analytics reports to analyze performance data by specific criteria and time periods.

Instructions

Get segments for a specific analytics report (contains download URLs)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reportIdYesThe ID of the analytics report
limitNoMaximum number of segments to return (default: 100)

Implementation Reference

  • The core handler function that implements the logic for listing analytics report segments by making an API call to the App Store Connect client.
    async listAnalyticsReportSegments(args: { reportId: string; limit?: number; }): Promise<ListAnalyticsReportSegmentsResponse> { const { reportId, limit = 100 } = args; validateRequired(args, ['reportId']); return this.client.get<ListAnalyticsReportSegmentsResponse>(`/analyticsReports/${reportId}/segments`, { limit: sanitizeLimit(limit) }); }
  • Input schema and tool metadata definition for the list_analytics_report_segments tool.
    name: "list_analytics_report_segments", description: "Get segments for a specific analytics report (contains download URLs)", inputSchema: { type: "object", properties: { reportId: { type: "string", description: "The ID of the analytics report" }, limit: { type: "number", description: "Maximum number of segments to return (default: 100)", minimum: 1, maximum: 200 } }, required: ["reportId"] }
  • src/index.ts:1394-1395 (registration)
    Tool dispatch registration in the MCP server callToolRequest handler switch statement.
    case "list_analytics_report_segments": return { toolResult: await this.analyticsHandlers.listAnalyticsReportSegments(args as any) };
  • TypeScript interface defining the structure of the response from list analytics report segments.
    export interface ListAnalyticsReportSegmentsResponse { data: AnalyticsReportSegment[]; }

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