Skip to main content
Glama
lusky3
by lusky3

cancel_purchase_option_offer

Cancel a one-time product offer such as a pre-order for your app's in-app purchase. Specify package name, product ID, purchase option ID, and offer ID to remove the offer.

Instructions

Cancel a one-time product offer (e.g. a pre-order offer).

Disabled in read-only mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offer_idYesOne-time product offer ID to cancel
product_idYesParent one-time product ID
package_nameYesApp package name
purchase_option_idYesParent purchase option ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description discloses that the operation is a mutation by stating 'Disabled in read-only mode,' which adds behavioral context beyond the name and schema. However, it does not mention whether the cancellation is reversible, whether it affects existing users/purchases, or the distinction from deactivation.

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 short sentences, with the key action front-loaded and the read-only constraint in the second sentence. Every phrase carries meaning with no redundancy.

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?

Despite having an output schema and fully documented parameters, the description lacks information about side effects, reversibility, and how cancelation differs from sibling operations like deactivate or delete. Given the absence of annotations, this leaves contextual gaps for a mutation 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?

The input schema provides 100% coverage with descriptive parameter definitions for offer_id, product_id, package_name, and purchase_option_id. The description does not add any additional parameter-level details beyond what the schema already provides, so 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?

The description uses a specific verb 'Cancel' with a clear resource 'one-time product offer' and an example 'pre-order offer'. This distinguishes it from sibling tools like 'deactivate_purchase_option_offer' or 'delete_one_time_product', though it doesn't explicitly contrast 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?

The description indicates the intended use—canceling a one-time product offer—and notes it is disabled in read-only mode. However, it does not provide guidance on when to choose this over related tools like deactivate or delete, nor does it mention any prerequisites.

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/lusky3/play-store-mcp'

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