Skip to main content
Glama

get_subscription_offer

Read-only

Retrieves a single subscription offer, including its phases, targeting, regional configs, offer tags, and state, so you can review details before updating it.

Instructions

Get one subscription offer with its phases, targeting, regionalConfigs, offerTags and state. Read this before update_subscription_offer. Get the IDs from list_subscription_offers.

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": {
      "product_id": "<product_id>",
      "base_plan_id": "<base_plan_id>",
      "offer_id": "<offer_id>"
    },
    "name": "get_subscription_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offer_idYesOffer ID within the base plan. Get IDs from list_subscription_offers.
product_idYesSubscription product ID, e.g. 'premium'. Get IDs from list_subscriptions.
base_plan_idYesBase plan ID within the subscription, e.g. 'monthly'. Get IDs from get_subscription.
package_nameNoApp package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds that this is a prerequisite read whose output spans five sub-objects, which helps an agent plan a subsequent update. It stops short of describing failure behavior (e.g., unknown offer_id) or any access constraints, so it is good but not complete.

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?

Three short sentences, zero filler, with the core action front-loaded and the prerequisites trailing. Every sentence carries distinct information: what it returns, why to call it, and where the IDs come from.

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

Completeness4/5

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

With no output schema, the description compensates by naming the main returned components, and all four parameters are documented in the schema. Only minor gaps remain, such as not indicating how a missing or inaccessible offer is reported.

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%, and each parameter already states its own provenance (list_subscriptions, get_subscription, list_subscription_offers). The description's ID guidance merely restates what the schema properties say, adding no format or constraint detail beyond it — 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?

States a specific verb and resource ("Get one subscription offer") and enumerates what the offer includes: phases, targeting, regionalConfigs, offerTags and state. The singular "one" cleanly separates it from the sibling list_subscription_offers without needing to name it.

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

Usage Guidelines5/5

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

Explicitly sequences the tool: "Read this before update_subscription_offer" gives a concrete when-to-use, and "Get the IDs from list_subscription_offers" routes the agent to the correct prerequisite tool for input acquisition. Both the use case and the alternative for listing are covered.

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