Skip to main content
Glama

apple_get_iap

Retrieve in-app purchase details from App Store Connect using the purchase ID to verify product information and manage app monetization.

Instructions

Get in-app purchase details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iapIdYesIn-App Purchase ID

Implementation Reference

  • The handler function for apple_get_iap which makes a request to the Apple API.
    handler: async (client, args) => {
      return client.request(`${V2_BASE}/inAppPurchases/${args.iapId}`);
    },
  • The Zod schema definition for apple_get_iap input parameters.
    schema: z.object({
      iapId: z.string().describe('In-App Purchase ID'),
    }),
  • The full ToolDef definition for apple_get_iap.
    const getIAP: ToolDef = {
      name: 'apple_get_iap',
      description: 'Get in-app purchase details',
      schema: z.object({
        iapId: z.string().describe('In-App Purchase ID'),
      }),
      handler: async (client, args) => {
        return client.request(`${V2_BASE}/inAppPurchases/${args.iapId}`);
      },
    };
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