Skip to main content
Glama

Generate the app's PrivacyInfo.xcprivacy

generate_privacy_manifest
Read-onlyIdempotent

Apple privacy manifest for the app's own code: the data the app itself collects (ownData ids), its own tracking (with tracking domains), the required-reason APIs its code uses with Apple's reason codes, and optionally SDKs linked statically without their own manifest. SDKs with their own manifest are covered by theirs (Apple). Categories: NSPrivacyAccessedAPICategoryFileTimestamp (DDA9.1, C617.1, 3B52.1); NSPrivacyAccessedAPICategorySystemBootTime (35F9.1, 8FFB.1, 3D61.1); NSPrivacyAccessedAPICategoryDiskSpace (85F4.1, E174.1, 7D9E.1, B728.1); NSPrivacyAccessedAPICategoryActiveKeyboards (3EC4.1, 54BD.1); NSPrivacyAccessedAPICategoryUserDefaults (CA92.1, 1C8F.1, AC6B.1). Returns plist (XML), manifest (the same as JSON) and problems (empty when App Store Connect should accept it).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
ownDataNo
settingsNo
trackingNo
apiReasonsNo
staticSdksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / apiReasons / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / settings / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / tracking / additionalProperties
      Removed value: -false
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, which fits a pure generation tool. The description adds value on top: it discloses the three return fields (plist XML, manifest JSON, problems) and, importantly, the success semantics — problems is 'empty when App Store Connect should accept it' — which tells the agent how to self-validate output. Missing only whether an empty call yields a minimal manifest.

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

Conciseness3/5

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

Front-loaded and dense, with no filler sentences. However, roughly half the text is a semicolon-delimited dump of five API categories and their reason codes that is hard to parse in prose and would be better expressed as structured reference data; the opening is also a noun fragment rather than a complete statement of the action.

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

Completeness4/5

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

For a five-parameter tool with nested objects and no output schema, the description covers the return surface and four of five inputs in useful detail. Gaps remain around the undocumented `settings` object and the fact that no parameters are required (what a bare call produces), which an agent would still have to guess.

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 description coverage is 0%, so the description carries the full burden and largely meets it: it maps ownData to data the app collects, tracking to tracking domains, staticSdks to statically linked SDKs without manifests, and — critically — supplies the apiReasons key/value relationship (NSPrivacyAccessedAPICategory* to Apple reason codes) that the schema's generic string→string[] shape does not convey. The `settings` object is never mentioned anywhere, leaving one of five parameters entirely opaque.

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

Purpose4/5

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

Names the concrete artifact (Apple privacy manifest / PrivacyInfo.xcprivacy) and scopes it precisely to 'the app's own code', spelling out the four content areas it emits. It never contrasts itself with the sibling generate_store_privacy_labels, which is an adjacent and easily-confused artifact, so an agent must infer which one to call.

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

Usage Guidelines3/5

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

Usage is implied through scoping rules: static SDKs are included only when 'linked statically without their own manifest', and SDKs with their own manifest are out of scope. There is no explicit when-to-use statement, no prerequisites, and no routing to or away from the sibling privacy-label tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources