Skip to main content
Glama

create_subscription

Create an auto-renewable subscription in a group with USA price and optional free trial. Automatically sets territory availability and is idempotent.

Instructions

Create (idempotently) an auto-renewable subscription inside a group, with USA price and an optional free trial. Sets territory availability automatically. Pro feature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYesApp Store Connect app ID
localeNoLocalization locale (default en-US)
periodYesBilling period
price_usdYesUSA price in dollars, e.g. 4.99
free_trialNoFree-trial length. Omit for no trial.
product_idYesSubscription product ID, e.g. com.app.plus.monthly
descriptionYesCustomer-facing description (max 45 chars)
group_levelNoRank within the group (1 = top tier; default 1). Higher-value plans get a lower number.
review_noteNoNotes for App Review: how to reach the paywall, test instructions
display_nameYesCustomer-facing name (max 30 chars)
reference_nameYesInternal reference name
family_sharableNoAllow Family Sharing of this subscription (default false).
group_display_nameYesCustomer-facing group name
group_reference_nameYesSubscription group reference name (created if absent)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses idempotent creation, automatic territory availability, and Pro feature status, which are valuable behavioral traits. However, it omits side effects on existing subscriptions and what the response contains.

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?

The description is two sentences, front-loaded with the primary action and key modifiers. Every word contributes value, with no redundant information.

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 mutation tool with 14 parameters and no output schema, the description covers key behavioral context but omits return values and any required setup beyond 'Pro feature'. Sibling context helps, but the description could be more complete for such a complex tool.

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%, so all 14 parameters are already documented. The description adds context about USA price and optional trial but doesn't provide meaningful semantics beyond the schema field descriptions. Baseline 3 is appropriate.

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 creates an auto-renewable subscription within a group, with specific price, trial, and territory behaviors. It distinguishes itself from siblings like create_iap by emphasizing subscription-in-group scope and idempotency.

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

Usage Guidelines2/5

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

The description offers no guidance on when to use this tool versus alternatives (e.g., create_iap) or any prerequisites apart from 'Pro feature'. There is no mention of prohibited scenarios or complementary tools.

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/pofky/asc-mcp'

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