Skip to main content
Glama

get_one_time_product

Read-only

Fetches a one-time product by product ID with listings, compliance settings, offer tags, regional prices, and purchase options; use it before updates to avoid overwriting existing top-level fields.

Instructions

Get one one-time product by its productId, with listings, taxAndComplianceSettings, offerTags, regionsVersion and every purchase option (purchaseOptionId, state, buyOption or rentOption, regional prices, newRegionsConfig). Read this before update_one_time_product: the update overwrites whole top-level fields, so start from the current value.

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>"
    },
    "name": "get_one_time_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idYesOne-time product ID, e.g. 'coins_100'. Get IDs from list_one_time_products.
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.3/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 safety is covered; the description adds real behavioral context beyond that by disclosing the overwrite semantics of the downstream update tool. It also tells the agent what the read returns, which matters given no output schema. It stops short of detailing error cases or whether offerings can be truncated.

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?

Front-loaded with purpose, then the return inventory, then the workflow warning. The parenthetical field list is long but each item conveys what the payload contains, which is load-bearing given there is no output schema. No filler sentences.

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

Completeness5/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 enumerating the returned fields, including the nested purchase-option details, so an agent knows what it will receive. Combined with the read-before-update warning, nothing an agent needs to call this correctly is missing.

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 both parameters (product_id, package_name) are documented in the schema, including the default for package_name. The description repeats the productId concept but adds no new syntax or format detail beyond what the schema already states. Baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb and resource: 'Get one one-time product by its productId'. It then enumerates the returned surface (listings, taxAndComplianceSettings, offerTags, regionsVersion, purchase options with purchaseOptionId/state/buyOption/rentOption/regional prices). A single-product getter is clearly distinguished from the list_one_time_products sibling by the word 'one' and the required ID.

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

Usage Guidelines4/5

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

Gives an explicit usage rule: 'Read this before update_one_time_product: the update overwrites whole top-level fields, so start from the current value.' That is a concrete read-modify-write workflow dependency naming the sibling. No when-not guidance is given, but for a getter that is a minor gap since any read of a one-time product is appropriate.

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