Tool: get_application
Gets application details for a given enterprise and application ID. Requires the resource name in the format: enterprises/{enterpriseId}/applications/{applicationId}.
The following sample demonstrate how to use curl to invoke the get_application MCP tool.
| Curl Request |
|---|
curl --location 'https://androidmanagement.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "get_application", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request to get info about an application.
GetApplicationRequest
| JSON representation |
|---|
{ "name": string, "languageCode": string } |
| Fields | |
|---|---|
name |
The name of the application in the form |
languageCode |
The preferred language for localized application info, as a BCP47 tag (e.g. "en-US", "de"). If not specified the default language of the application will be used. |
Output Schema
Information about an app.
Application
| JSON representation |
|---|
{ "name": string, "title": string, "permissions": [ { object ( |
| Fields | |
|---|---|
name |
The name of the app in the form enterprises/{enterprise}/applications/{package_name}. |
title |
The title of the app. Localized. |
permissions[] |
The permissions required by the app. |
managedProperties[] |
The set of managed properties available to be pre-configured for the app. |
iconUrl |
A link to an image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 512 x 512. |
smallIconUrl |
A link to a smaller image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 128 x 128. |
appTracks[] |
Application tracks visible to the enterprise. |
author |
The name of the author of the apps (for example, the app developer). |
playStoreUrl |
A link to the (consumer) Google Play details page for the app. |
distributionChannel |
How and to whom the package is made available. |
appPricing |
Whether this app is free, free with in-app purchases, or paid. If the pricing is unspecified, this means the app is not generally available anymore (even though it might still be available to people who own it). |
description |
The localized promotional description, if available. |
screenshotUrls[] |
A list of screenshot links representing the app. |
category |
The app category (e.g. RACING, SOCIAL, etc.) |
recentChanges |
A localised description of the recent changes made to the app. |
minAndroidSdkVersion |
The minimum Android SDK necessary to run the app. |
contentRating |
The content rating for this app. |
updateTime |
Output only. The approximate time (within 7 days) the app was last published. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
availableCountries[] |
The countries which this app is available in as per ISO 3166-1 alpha-2. |
features[] |
Noteworthy features (if any) of this app. |
appVersions[] |
Versions currently available for this app. |
fullDescription |
Full app description, if available. |
ApplicationPermission
| JSON representation |
|---|
{ "permissionId": string, "name": string, "description": string } |
| Fields | |
|---|---|
permissionId |
An opaque string uniquely identifying the permission. Not localized. |
name |
The name of the permission. Localized. |
description |
A longer description of the permission, providing more detail on what it affects. Localized. |
ManagedProperty
| JSON representation |
|---|
{ "key": string, "type": enum ( |
| Fields | |
|---|---|
key |
The unique key that the app uses to identify the property, e.g. "com.google.android.gm.fieldname". |
type |
The type of the property. |
title |
The name of the property. Localized. |
description |
A longer description of the property, providing more detail of what it affects. Localized. |
entries[] |
For |
defaultValue |
The default value of the property. |
nestedProperties[] |
For |
ManagedPropertyEntry
| JSON representation |
|---|
{ "value": string, "name": string } |
| Fields | |
|---|---|
value |
The machine-readable value of the entry, which should be used in the configuration. Not localized. |
name |
The human-readable name of the value. Localized. |
Value
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field kind. The kind of value. kind can be only one of the following: |
|
nullValue |
Represents a null value. |
numberValue |
Represents a double value. |
stringValue |
Represents a string value. |
boolValue |
Represents a boolean value. |
structValue |
Represents a structured value. |
listValue |
Represents a repeated |
Struct
| JSON representation |
|---|
{ "fields": { string: value, ... } } |
| Fields | |
|---|---|
fields |
Unordered map of dynamically typed values. An object containing a list of |
FieldsEntry
| JSON representation |
|---|
{ "key": string, "value": value } |
| Fields | |
|---|---|
key |
|
value |
|
ListValue
| JSON representation |
|---|
{ "values": [ value ] } |
| Fields | |
|---|---|
values[] |
Repeated field of dynamically typed values. |
AppTrackInfo
| JSON representation |
|---|
{ "trackId": string, "trackAlias": string } |
| Fields | |
|---|---|
trackId |
The unmodifiable unique track identifier, taken from the |
trackAlias |
The track name associated with the |
Timestamp
| JSON representation |
|---|
{ "seconds": string, "nanos": integer } |
| Fields | |
|---|---|
seconds |
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be between -62135596800 and 253402300799 inclusive (which corresponds to 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). |
nanos |
Non-negative fractions of a second at nanosecond resolution. This field is the nanosecond portion of the duration, not an alternative to seconds. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be between 0 and 999,999,999 inclusive. |
AppVersion
| JSON representation |
|---|
{ "versionString": string, "versionCode": integer, "trackIds": [ string ], "production": boolean } |
| Fields | |
|---|---|
versionString |
The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be "1.4"). |
versionCode |
Unique increasing identifier for the app version. |
trackIds[] |
Track identifiers that the app version is published in. This does not include the production track (see production instead). |
production |
If the value is True, it indicates that this version is a production track. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌