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
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Google Play package name (e.g., 'com.dxco.pandavszombies') | |
| lang | No | Language code for permission text (default: en) | en |
| country | No | Country code to check app (default: us) | us |
| short | No | Return only permission names without categories (default: false) |
Implementation Reference
- src/server.js:614-617 (handler)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) }] }; }
- src/server.js:609-613 (schema)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) }] }; } );