Skip to main content
Glama

list_tracks

Retrieve all release tracks for a Google Play app to view rollout percentages, statuses, and country availability for internal, alpha, beta, and production channels.

Instructions

List all release tracks with their current releases.

Returns tracks (internal, alpha, beta, production) with rollout percentages, statuses, and country availability.

Args: package_name: Package name, e.g. com.example.myapp

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_nameYes

Implementation Reference

  • Handler for the "list_tracks" MCP tool. It calls the PublisherClient's list_tracks method, formats the output, and returns a JSON string.
    @mcp.tool()
    def list_tracks(package_name: str) -> str:
        """List all release tracks with their current releases.
    
        Returns tracks (internal, alpha, beta, production) with rollout
        percentages, statuses, and country availability.
    
        Args:
            package_name: Package name, e.g. com.example.myapp
        """
        try:
            data = _publisher().list_tracks(package_name)
            tracks = [_format_track(t) for t in data.get("tracks", [])]
            return json.dumps(
                {"packageName": package_name, "tracks": tracks},
                indent=2,
            )
        except Exception as exc:
            return json.dumps({"success": False, "error": str(exc)}, indent=2)

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/AgiMaulana/GooglePlayConsoleMcp'

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