Skip to main content
Glama

get_country_availability

Read-only

Check a track's country availability to see whether an app is restricted to a country list and which countries are included; read-only, change targeting via create_release or promote_release.

Instructions

Get the countries a track is available in, including whether the app is restricted to a country list and which countries are included. Read-only; change targeting with the country_targeting argument of create_release or promote_release.

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": {
      "track": "<track>"
    },
    "name": "get_country_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackYesTrack to check, e.g. 'production'
package_nameNoApp package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the 'Read-only' clause in the description is largely redundant. The description does add value by disclosing the shape of the answer (restriction flag plus included country list), but says nothing about volume, completeness, or behavior for tracks with no targeting set.

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?

Two sentences, front-loaded with what the tool returns, followed by the mutation-alternative pointer. There is no filler, hedging, or repetition of the title or of annotation content beyond the brief read-only note.

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 carries the return-value burden and does so partially, telling the agent the result contains a restriction indicator and a country list. Combined with full schema coverage and clear read-only annotations, this is nearly complete, though it leaves the exact response shape (field names, empty-case behavior) unstated.

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 (track, package_name, including the GOOGLE_PLAY_PACKAGE_NAME default) are documented in the schema. The description adds no additional meaning about parameter values or format, so the baseline of 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 names a specific verb ('Get') and resource ('countries a track is available in'), and clarifies that the response also reports whether the app is restricted to a country list and which countries are included. No sibling tool covers country availability, so an agent can distinguish this from get_track, get_app_details, or the release mutation tools without opening the schema.

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?

It states the read-only nature and explicitly redirects the agent to create_release / promote_release (country_targeting argument) when the goal is to change targeting rather than inspect it, which is a real when-not-to-use signal. It stops short of saying when in a workflow to call this, e.g. as a pre-check before releasing, but the alternative is named concretely.

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