Skip to main content
Glama

update_subscription_offer

Updates a Google Play subscription offer by applying new values to selected fields via an update mask, such as phases, regional configs, and offer tags.

Instructions

Patch a subscription offer. updateMask lists the fields to replace (e.g. 'phases', 'regionalConfigs', 'offerTags'); offer carries the new values.

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": {
      "packageName": "<packageName>",
      "productId": "<productId>",
      "basePlanId": "<basePlanId>",
      "offerId": "<offerId>",
      "offer": "<offer>",
      "updateMask": "<updateMask>"
    },
    "name": "update_subscription_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerYesPartial SubscriptionOffer
offerIdYes
productIdYesSubscription product id
basePlanIdYes
updateMaskYes
packageNameYesApplication id (package name), e.g. com.example.app
regionsVersionNoRegions version for regional prices (default 2022/02; override the default with PLAY_MCP_REGIONS_VERSION)
latencyToleranceNoOptional propagation latency tolerance (default latency-sensitive)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose meaningful semantics — that this is a partial, mask-driven replace rather than a full overwrite, and that only the listed fields are replaced while others are preserved. It says nothing about required permissions, edit-lifecycle prerequisites, reversibility, or propagation effects (the latencyTolerance param hints at async propagation that is never explained).

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?

Two tight sentences with the action front-loaded and the two most confusing parameters explained immediately after. Nothing is padded, though it is so terse that it omits context that would have earned its place.

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?

This is an 8-parameter mutation with a nested object, no annotations, and no output schema, so the description must do more than explain two fields. It covers the mask/body mechanics adequately but leaves the edit-transaction model, permission requirements, and the interaction between required identifiers and the mask unexplained.

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 coverage is 63%, so the schema documents roughly half the inputs and the description must fill gaps. It does add the most valuable missing meaning: updateMask is a comma-style field list with concrete examples ('phases', 'regionalConfigs', 'offerTags') and offer carries the replacement values, neither of which the schema describes. However, offerId and basePlanId remain undocumented in both places, and nothing explains how regionsVersion or latencyTolerance interact with the patch.

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 opens with a specific verb+resource pair ('Patch a subscription offer'), which is clearly distinguishable from the create/activate/deactivate/delete siblings in the same family. It stops short of naming any sibling or stating the differentiating condition, so it does not reach a 5.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of preconditions such as working inside an edit transaction (the presence of commit_edit/delete_edit siblings suggests edits are a real lifecycle concern the agent must know about). Usage is only inferable from the word 'Patch'.

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