Skip to main content
Glama

apple_list_builds

Retrieve uploaded App Store Connect builds for a specific app ID, with optional filtering by pre-release version and result limits.

Instructions

List builds uploaded to App Store Connect

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesApp ID
limitNo
preReleaseVersionNoFilter by version string

Implementation Reference

  • The handler for apple_list_builds which calls the /builds endpoint on the Apple API client.
    handler: async (client, args) => {
      const params: Record<string, string> = {
        'filter[app]': args.appId,
        'sort': '-uploadedDate',
      };
      if (args.limit) params['limit'] = String(args.limit);
      if (args.preReleaseVersion) params['filter[preReleaseVersion.version]'] = args.preReleaseVersion;
      return client.request('/builds', { params });
    },
  • The Zod schema defining the input arguments for the apple_list_builds tool.
    schema: z.object({
      appId: z.string().describe('App ID'),
      limit: z.number().optional(),
      preReleaseVersion: z.string().optional().describe('Filter by version string'),
    }),
  • The definition of the apple_list_builds tool.
    const listBuilds: ToolDef = {
      name: 'apple_list_builds',
      description: 'List builds uploaded to App Store Connect',
      schema: z.object({
        appId: z.string().describe('App ID'),
        limit: z.number().optional(),
        preReleaseVersion: z.string().optional().describe('Filter by version string'),
      }),
      handler: async (client, args) => {
        const params: Record<string, string> = {
          'filter[app]': args.appId,
          'sort': '-uploadedDate',
        };
        if (args.limit) params['limit'] = String(args.limit);
        if (args.preReleaseVersion) params['filter[preReleaseVersion.version]'] = args.preReleaseVersion;
        return client.request('/builds', { params });
      },
    };

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/mikusnuz/app-publish-mcp'

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