Skip to main content
Glama
JiantaoFu

App Market Intelligence MCP

google-play-permissions

Retrieve required permissions for Google Play apps to analyze security requirements and data access needs for market research and competitor analysis.

Instructions

Get permissions required by a Google Play app. Returns a list of permissions with:

  • permission: Description of the permission (e.g., 'modify storage contents')

  • type: Permission category (e.g., 'Storage', 'Network')

When short=true, returns just an array of permission strings. Note: Permissions are returned in the specified language.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesGoogle Play package name (e.g., 'com.dxco.pandavszombies')
langNoLanguage code for permission text (default: en)en
countryNoCountry code to check app (default: us)us
shortNoReturn only permission names without categories (default: false)

Implementation Reference

  • The handler function that executes the tool logic by calling the gplay.permissions method from the google-play-scraper library and formatting the response as MCP content.
    async ({ appId, lang, country, short }) => {
      const permissions = await gplay.permissions({ appId, lang, country, short });
      return { content: [{ type: "text", text: JSON.stringify(permissions) }] };
    }
  • Zod schema defining the input parameters for the google-play-permissions tool.
      appId: z.string().describe("Google Play package name (e.g., 'com.dxco.pandavszombies')"),
      lang: z.string().default("en").describe("Language code for permission text (default: en)"),
      country: z.string().default("us").describe("Country code to check app (default: us)"),
      short: z.boolean().default(false).describe("Return only permission names without categories (default: false)")
    }, 
  • src/server.js:602-618 (registration)
    The server.tool registration for the google-play-permissions tool, including description, schema, and inline handler function.
    server.tool("google-play-permissions", 
      "Get permissions required by a Google Play app. Returns a list of permissions with:\n" +
      "- permission: Description of the permission (e.g., 'modify storage contents')\n" +
      "- type: Permission category (e.g., 'Storage', 'Network')\n\n" +
      "When short=true, returns just an array of permission strings.\n" +
      "Note: Permissions are returned in the specified language.",
      {
        appId: z.string().describe("Google Play package name (e.g., 'com.dxco.pandavszombies')"),
        lang: z.string().default("en").describe("Language code for permission text (default: en)"),
        country: z.string().default("us").describe("Country code to check app (default: us)"),
        short: z.boolean().default(false).describe("Return only permission names without categories (default: false)")
      }, 
      async ({ appId, lang, country, short }) => {
        const permissions = await gplay.permissions({ appId, lang, country, short });
        return { content: [{ type: "text", text: JSON.stringify(permissions) }] };
      }
    );

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/JiantaoFu/AppInsightMCP'

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