Skip to main content
Glama

apple_set_price

Set app pricing on Apple App Store by specifying price tier ID for paid apps or marking as free. Configure pricing changes with optional start dates.

Instructions

Set app price (free or paid). Use price tier ID from Apple price points.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesApp ID
priceTierIdYesPrice tier ID (use "0" for free)
startDateNoISO 8601 start date

Implementation Reference

  • The handler logic for apple_set_price, which makes a POST request to create an app price schedule.
    handler: async (client, args) => {
      return client.request(`/apps/${args.appId}/appPriceSchedule`, {
        method: 'POST',
        body: {
          data: {
            type: 'appPriceSchedules',
            relationships: {
              app: { data: { type: 'apps', id: args.appId } },
              manualPrices: {
                data: [{ type: 'appPrices', id: '${new}' }],
              },
            },
          },
          included: [
            {
              type: 'appPrices',
              id: '${new}',
              attributes: {
                startDate: args.startDate ?? null,
              },
              relationships: {
                priceTier: {
                  data: { type: 'appPriceTiers', id: args.priceTierId },
                },
              },
            },
          ],
        },
      });
    },
  • Input schema for apple_set_price tool.
    schema: z.object({
      appId: z.string().describe('App ID'),
      priceTierId: z.string().describe('Price tier ID (use "0" for free)'),
      startDate: z.string().optional().describe('ISO 8601 start date'),
    }),
  • Tool definition for apple_set_price.
    const setAppPrice: ToolDef = {
      name: 'apple_set_price',
      description: 'Set app price (free or paid). Use price tier ID from Apple price points.',
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