Skip to main content
Glama
app-store-scraper-mcp

app-store-scraper-mcp

Get App Privacy Nutrition Label Disclosures

get_app_privacy
Read-onlyIdempotent

Extract an app's Apple App Privacy label and privacy policy URL from its App Store page by numeric app ID to audit tracking, linked data, collection purposes, and SDK analysis.

Instructions

Extract the Apple App Privacy ('nutrition label') disclosure and privacyPolicyUrl from an application's apps.apple.com product page, detailing what data is used to track the user, linked to the user, or not linked to the user, broken down by dataCategories, dataTypes, and collection purposes.

When to use: Call this tool for privacy compliance auditing, SDK/tracking analysis, and inspecting data-collection disclosures for an app identified by its numeric id (trackId). When NOT to use: Do not use for general store metadata (use get_app) or version changelogs (use get_app_versions). Requires numeric id; if you only have appId or an app name, resolve id via get_app or search_apps first.

Behavior: Read-only. Fetches and parses the embedded serialized-server-data JSON from apps.apple.com, sharing a 5-minute in-memory page cache (max 20 pages) with get_app_versions. Returns privacyTypes: [] if the developer has not submitted privacy disclosures. Fails with an error if the app page returns 404.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_app_privacy"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric Apple iTunes trackId uniquely identifying the app (e.g. 553834731 for Candy Crush Saga). Obtainable from the `id` field returned by `search_apps`, `list_top_apps`, `list_developer_apps`, or `list_similar_apps`.
countryNoTwo-letter ISO 3166-1 alpha-2 country code selecting the regional App Store storefront (e.g. 'us', 'gb', 'de', 'jp'). Defaults to 'us'. Determines regional app availability, pricing currency, chart rankings, review pool, and default localized text language.

Output Schema

NameRequiredDescriptionDefault
privacyTypesYesApp Privacy nutrition label classifications disclosed by the developer (empty array if the developer has not submitted privacy disclosures).
privacyPolicyUrlNoExternal URL to the developer's published privacy policy, if linked on the App Store page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.3.0
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter country code (default us)."New value: +"Two-letter ISO 3166-1 alpha-2 country code selecting the regional App Store storefront (e.g. 'us', 'gb', 'de', 'jp'). Defaults to 'us'. Determines regional app availability, pricing currency, chart rankings, review pool, and default localized text language."
    • addedInput schema / properties / country / pattern
      Added value: +"^[a-zA-Z]{2}$"
    • changedInput schema / properties / id / description
      Previous value: -"Numeric iTunes trackId of the app, e.g. 553834731 (Candy Crush Saga)."New value: +"Numeric Apple iTunes trackId uniquely identifying the app (e.g. 553834731 for Candy Crush Saga). Obtainable from the `id` field returned by `search_apps`, `list_top_apps`, `list_developer_apps`, or `list_similar_apps`."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "App Privacy nutrition label disclosure and privacy policy URL.",
      +  "properties": {
      +    "privacyPolicyUrl": {
      +      "description": "External URL to the developer's published privacy policy, if linked on the App Store page.",
      +      "type": "string"
      +    },
      +    "privacyTypes": {
      +      "description": "App Privacy nutrition label classifications disclosed by the developer (empty array if the developer has not submitted privacy disclosures).",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "Single App Privacy ('nutrition label') classification card.",
      +        "properties": {
      +          "dataCategories": {
      +            "description": "Summary list of data categories falling under this privacy classification.",
      +            "items": {
      +              "additionalProperties": {},
      +              "description": "Privacy data category and its disclosed granular data types.",
      +              "properties": {
      +                "dataCategory": {
      +                  "description": "Human-readable privacy data category name (e.g. 'Contact Info', 'Identifiers', 'Usage Data', 'Diagnostics').",
      +                  "type": "string"
      +                },
      +                "dataTypes": {
      +                  "description": "Granular data types disclosed under this category.",
      +                  "items": {
      +                    "description": "Specific data element collected within this category (e.g. 'Email Address', 'Device ID', 'Crash Data').",
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "identifier": {
      +                  "description": "Machine-readable Apple category identifier (e.g. 'CONTACT_INFO', 'IDENTIFIERS', 'USAGE_DATA').",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "dataCategory",
      +                "identifier",
      +                "dataTypes"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "description": {
      +            "description": "Localized explanation from Apple describing what this privacy classification means.",
      +            "type": "string"
      +          },
      +          "identifier": {
      +            "description": "Machine-readable Apple privacy classification identifier (e.g. 'DATA_USED_TO_TRACK_YOU', 'DATA_LINKED_TO_YOU', 'DATA_NOT_LINKED_TO_YOU').",
      +            "type": "string"
      +          },
      +          "privacyType": {
      +            "description": "Top-level Apple privacy classification title (e.g. 'Data Used to Track You', 'Data Linked to You', 'Data Not Linked to You', 'Data Not Collected').",
      +            "type": "string"
      +          },
      +          "purposes": {
      +            "description": "Per-purpose breakdown showing why each data category is collected (empty for 'Data Used to Track You' or 'Data Not Collected').",
      +            "items": {
      +              "additionalProperties": {},
      +              "description": "Breakdown of data categories collected for a specific purpose.",
      +              "properties": {
      +                "dataCategories": {
      +                  "description": "Data categories collected for this specific purpose.",
      +                  "items": {
      +                    "additionalProperties": {},
      +                    "description": "Privacy data category and its disclosed granular data types.",
      +                    "properties": {
      +                      "dataCategory": {
      +                        "description": "Human-readable privacy data category name (e.g. 'Contact Info', 'Identifiers', 'Usage Data', 'Diagnostics').",
      +                        "type": "string"
      +                      },
      +                      "dataTypes": {
      +                        "description": "Granular data types disclosed under this category.",
      +                        "items": {
      +                          "description": "Specific data element collected within this category (e.g. 'Email Address', 'Device ID', 'Crash Data').",
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "identifier": {
      +                        "description": "Machine-readable Apple category identifier (e.g. 'CONTACT_INFO', 'IDENTIFIERS', 'USAGE_DATA').",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "dataCategory",
      +                      "identifier",
      +                      "dataTypes"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "identifier": {
      +                  "description": "Machine-readable Apple purpose identifier (e.g. 'ANALYTICS', 'THIRD_PARTY_ADVERTISING', 'APP_FUNCTIONALITY').",
      +                  "type": "string"
      +                },
      +                "purpose": {
      +                  "description": "Human-readable collection purpose (e.g. 'Analytics', 'Third-Party Advertising', 'App Functionality').",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "purpose",
      +                "identifier",
      +                "dataCategories"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "privacyType",
      +          "identifier",
      +          "description",
      +          "dataCategories",
      +          "purposes"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "privacyTypes"
      +  ],
      +  "type": "object"
      +}
  2. Addedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the provided readOnly/idempotent/openWorld annotations, it discloses the parsing source (embedded serialized-server-data JSON), the shared 5-minute in-memory page cache with a 20-page cap, the empty-array result when no disclosures exist, and the 404 failure mode. These are exactly the operational details an agent cannot infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is front-loaded with the core purpose, then segmented by explicit 'When to use', 'When NOT to use', and 'Behavior' labels. Every sentence carries information; nothing is redundant with the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value documentation is not required, yet the description still flags the privacyTypes: [] edge case and the 404 error. Combined with the id-resolution prerequisite and cache notes, an agent has everything needed to call this correctly on the first attempt.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by clarifying that id is the iTunes trackId and that an appId or app name is not accepted and must be resolved first. The country parameter is left entirely to the schema, which documents it well, so this falls just short of a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Extract the Apple App Privacy ... disclosure and privacyPolicyUrl from an application's apps.apple.com product page') and names the exact structure returned (dataCategories, dataTypes, purposes). This distinguishes it clearly from the metadata-oriented siblings without requiring the schema to be opened.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use scenarios (privacy compliance auditing, SDK/tracking analysis) and a when-NOT-to-use clause that names the correct alternatives (get_app for store metadata, get_app_versions for changelogs). It also states a prerequisite: resolve a numeric id via get_app or search_apps if only an appId or name is available.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.