Skip to main content
Glama

google_list_iap

Retrieve all in-app products for an Android app using its package name to manage digital goods and subscriptions.

Instructions

List all in-app products (managed products) for an app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageNameYesAndroid package name

Implementation Reference

  • The handler function for the google_list_iap tool which calls the client's listInAppProducts method.
    handler: async (client, args) => {
      return client.listInAppProducts(args.packageName);
    },
  • The input schema for the google_list_iap tool requiring a packageName.
    schema: z.object({
      packageName: z.string().describe('Android package name'),
    }),
  • The definition and registration object for the google_list_iap tool.
    const listInAppProducts: ToolDef = {
      name: 'google_list_iap',
      description: 'List all in-app products (managed products) for an app',
      schema: z.object({
        packageName: z.string().describe('Android package name'),
      }),
      handler: async (client, args) => {
        return client.listInAppProducts(args.packageName);
      },
    };

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