Skip to main content
Glama

generate_privacy_manifest

Detect required-reason APIs in first-party code and generate a valid PrivacyInfo.xcprivacy. Preview results by default; write to save to app target directory.

Instructions

Generate a valid PrivacyInfo.xcprivacy covering every required-reason API detected in first-party code (plus anything already declared). By default only PREVIEWS the XML; pass write=true to save it to the app target directory. After writing, the file still must be added to the app target in Xcode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
writeNoIf true, write the manifest to <appSourceDir>/PrivacyInfo.xcprivacy. If false, only return the XML for review.
projectPathYesAbsolute path to the iOS project. Can be the repo root (containing an ios/ folder) or the ios/ directory itself.
Behavior4/5

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

With no annotations, the description discloses key behaviors: default preview, write side-effect, and manual Xcode step. It covers scanning first-party code and existing declarations, but doesn't mention overwrite behavior or error cases.

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?

Three sentences covering purpose, usage, and post-step with no filler. Front-loaded with key 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 2-param tool with no output schema, description covers generation purpose, preview vs write, and post-save step. Could mention return value explicitly, but implied.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3. Description restates schema info but doesn't add extra meaning beyond defaults and path flexibility.

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 clearly states the tool generates a valid PrivacyInfo.xcprivacy covering required-reason APIs. The verb 'generate' and resource 'PrivacyInfo.xcprivacy' are specific. Sibling tools are unrelated, so it distinguishes well.

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

Usage Guidelines4/5

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

The description explains default preview behavior and how to save with write=true, plus a post-save step. No explicit when-not-to-use or alternatives, but the tool is unique among siblings and context is clear.

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

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/menansali/ios-ship-doctor'

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