Skip to main content
Glama

subscription_offer_codes_create_instance

Create subscription offer codes in App Store Connect by posting a JSON:API request body to the /v1/subscriptionOfferCodes endpoint.

Instructions

POST /v1/subscriptionOfferCodes (POST /v1/subscriptionOfferCodes) Body shape: see OpenAPI components.schemas.SubscriptionOfferCodeCreateRequest for the full JSON:API envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON body. Shape: components.schemas.SubscriptionOfferCodeCreateRequest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about authentication needs, side effects of creating an offer code, idempotency, or rate limits. It only points to an external OpenAPI schema for the request body.

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

Conciseness2/5

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

The sentence is short but wastes space by duplicating the same endpoint twice, once bare and once in parentheses. The body-shape pointer is front-loaded, but the redundant repetition is pure filler rather than earning its place.

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

Completeness1/5

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

For a mutation tool with no annotations, no output schema, and a nested JSON:API body object, the description is far from complete. It defers entirely to an external OpenAPI component, leaving an agent without the envelope structure or any guidance needed to invoke it correctly.

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?

There is a single 'body' parameter with 100% schema description coverage, and the description merely reinforces that the body shape is defined by components.schemas.SubscriptionOfferCodeCreateRequest. This matches the baseline of 3 when the schema does the heavy lifting; the description adds no syntax, field, or envelope details of its own.

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

Purpose2/5

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

The description only restates the HTTP method and path (POST /v1/subscriptionOfferCodes), which is a tautological restatement of the tool name rather than a plain-language statement of what it does. It gives no verb+resource description that would distinguish it from siblings like subscription_offer_codes_get_instance, subscription_offer_code_custom_codes_create_instance, or subscription_offer_code_one_time_use_codes_create_instance.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of prerequisites, and no routing to alternatives such as the custom-code or one-time-use-code variants of offer codes. An agent gets zero help choosing this tool over its many siblings.

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

Deploy Server

Other Tools