Skip to main content
Glama

get_subscription_setup

Read everything AppBuild holds about the app's iOS in-app subscription: whether subscriptions are switched on, the product definition, the App Store Connect state, the RevenueCat state and the paywall code-check results. Call this before set_subscription_definition or set_subscription_code_check.

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_subscription_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does well: the verb "Read everything AppBuild holds" signals a non-mutating retrieval, and the enumerated list discloses the shape of what comes back (states, product definition, code-check results) despite there being no output schema. It omits edge-case behavior such as what is returned when subscriptions are switched off or when RevenueCat is not connected, which is the main remaining gap.

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?

Two sentences, both dense with information: the first front-loads the retrieval scope and enumerates the payload; the second front-loads the workflow prerequisite. No filler, no restatement of the tool name, and the ordering constraint is placed last where a caller will read it before invoking.

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 read-only tool with one obvious parameter, no annotations, and no output schema, the description covers the essentials: what is read, at what granularity, and when to call it relative to the setters. Only minor gaps remain — the appId format and the empty/unconfigured-app case — which are unlikely to cause a wrong invocation.

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?

The single appId parameter has 0% schema description coverage, so the description is the only source of meaning. It implies scoping via "the app's iOS in-app subscription," which makes appId's role inferable, but it never names appId, states the expected format (internal AppBuild ID vs. bundle ID), or explains what happens for an app with no subscription configuration.

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?

A specific verb ("Read") plus a precisely scoped resource ("the app's iOS in-app subscription"), followed by an enumeration of exactly what is covered: enabled flag, product definition, App Store Connect state, RevenueCat state, and paywall code-check results. It also names the two sibling setters it complements, so an agent can distinguish it from set_subscription_definition and set_subscription_code_check without opening any schema.

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 final sentence gives explicit ordering guidance: "Call this before set_subscription_definition or set_subscription_code_check," which tells the agent exactly where this tool sits in a workflow and which alternatives it precedes. It does not state a when-not case or describe the read-only alternative for other subscription concerns, but the prerequisite is unambiguous.

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