Skip to main content
Glama

google_archive_subscription

Archive Google Play subscriptions to remove them from the store while preserving access for current subscribers.

Instructions

Archive a subscription (remove from Google Play but retain for existing subscribers)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageNameYesAndroid package name
productIdYesSubscription product ID to archive

Implementation Reference

  • The handler function for the google_archive_subscription tool, which calls the client's archiveSubscription method.
    handler: async (client, args) => {
      return client.archiveSubscription(args.packageName, args.productId);
    },
  • The input schema validation for the google_archive_subscription tool.
    schema: z.object({
      packageName: z.string().describe('Android package name'),
      productId: z.string().describe('Subscription product ID to archive'),
    }),
  • The tool definition registration for google_archive_subscription.
    const archiveSubscription: ToolDef = {
      name: 'google_archive_subscription',
      description: 'Archive a subscription (remove from Google Play but retain for existing subscribers)',
      schema: z.object({
        packageName: z.string().describe('Android package name'),
        productId: z.string().describe('Subscription product ID to archive'),
      }),
      handler: async (client, args) => {
        return client.archiveSubscription(args.packageName, args.productId);
      },
    };

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