Skip to main content
Glama

get_in_app_purchases

Retrieve an app's in-app purchases by App Store Connect app ID, including consumables, non-consumables, non-renewing and auto-renewable subscriptions, with product name, ID, type, and state.

Instructions

Read the in-app purchases of an app. Read-only. Covers consumables, non-consumables, non-renewing subscriptions and auto-renewable subscriptions. Returns the name, the product id, the type and the state of each one.

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": {
      "appId": "<appId>"
    },
    "name": "get_in_app_purchases"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe App Store Connect app id: the opaque id of the apps resource, as listed by list_apps under "App id". It is not the customer-facing App Store ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does declare 'Read-only' plus the exact data returned (name, product id, type, state) and the product-type coverage. It stops short of pagination behavior, empty-result handling, or any rate-limit/permission notes, which are the remaining behavioral gaps for a list-style read.

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?

Four short sentences, front-loaded with the action and immediately followed by the safety property and scope. Every sentence — including the fragment 'Read-only.' — contributes distinct information with no filler.

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 one-parameter read with no output schema, the description covers what the agent needs: what is read, that it is safe, which IAP categories are included, and what fields come back. The only omission is result-set behavior (pagination/limits), which is minor given the tool's simplicity.

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 description coverage is 100% and the appId definition already explains that it is the App Store Connect resource id, not the customer-facing App Store ID, and where to find it. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Read the in-app purchases of an app') and then enumerates the four product types covered, so the agent knows exactly what domain this tool reads. None of the listed siblings (get_app, get_app_pricing, list_apps, etc.) touch in-app purchases, and the description makes that boundary obvious without needing to name them.

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 rather than stated: an agent can infer it should call this when it needs IAP data for a known app id. There is no explicit when-to-use framing, no mention of prerequisites beyond the required appId, and no exclusion or alternative named — acceptable here only because no sibling appears to overlap.

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