Skip to main content
Glama

set_subscription_code_check

Report the result of auditing the paywall and purchase bridge against the rules behind Apple guideline 2.1 "in-app purchases did not trigger purchase flow and subscribed without payment". Check ids: entitlement_source, purchase_guard, post_purchase_refresh, configure_errors_surface, restore_clears, trial_separate, availability_gated. Each status is "pass", "fail" or "exempt". Read the actual code — do not guess.

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>",
      "checks": "<checks>"
    },
    "name": "set_subscription_code_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
checksYesOne entry per rule. Send them all in a single call where you can.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavior. It gives some process guidance (read the actual code, use pass/fail/exempt, cite evidence) but does not explain whether reporting persists data, overwrites prior results, requires permissions, or has other side effects.

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

Conciseness4/5

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

The description is front-loaded with the purpose and then lists check ids efficiently. The final instruction to read actual code is useful and concise, with no significant filler.

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

Completeness3/5

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

For a reporting tool with no annotations and no output schema, the core check ids and statuses are covered, but important context is missing. It does not clarify the role of appId, side effects of reporting, or how this differs from other check-setting tools.

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 50%, and the description adds real value by enumerating the valid check ids, which the schema leaves undocumented. However, it does not explain the appId parameter, and the status/evidence details are already largely covered by the schema.

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?

The description states a specific verb (report) and resource (the result of auditing the paywall and purchase bridge) and ties it to Apple guideline 2.1. It is clear what the tool does, though it does not explicitly distinguish itself from sibling compliance or plugin check tools.

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?

The description implies this is used after auditing the subscription purchase flow and provides check ids and status values, but it does not say when to use this tool versus alternatives such as set_compliance_check. Guidance is present but requires inference.

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