Skip to main content
Glama

List device apps

list_device_apps
Read-onlyIdempotent

Get the apps actually on one device (asset) in the authenticated company, from the app report the device last sent: package name, app name, version, state (INSTALLED, or REMOVED when it was uninstalled), installedBy (POLICY, USER, SYSTEM = came with the device) and source. Use it to answer "is app X installed / which version", to check whether a policy app reached the device, and to find the package name of an app that came with the device (e.g. the manufacturer's Phone, Camera or Gallery app) instead of asking the user for it: search by name with query. Without a query, system apps are left out (systemAppsHidden counts them) unless includeSystemApps is true. The list is as of reportedAt, not live; an app installed since then appears after the next status report. Being in the policy does not mean an app is on the device: check here. Returns a tool error if no asset with that id exists in this company.

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": {
      "assetId": "<assetId>"
    },
    "name": "list_device_apps"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of apps to return, sorted by name. Defaults to 100, capped at 500.
queryNoOptional case-insensitive text matched against the package name and the app name (e.g. "phone", "dialer", "com.android.chrome"). With a query, every app is searched, system apps included.
assetIdYesThe asset's path name - the unique identifier returned by search_devices/get_device as "pathName".
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
includeSystemAppsNoWithout a query, also list system apps (not user facing, not installed by the policy or the user). Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond them: the data is a snapshot as of reportedAt rather than live, newly installed apps appear only after the next status report, system apps are omitted by default unless includeSystemApps is true, and a tool error is returned for an unknown assetId.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One long but information-dense paragraph, front-loaded with what the tool returns before moving to usage scenarios and edge cases. Nearly every clause earns its place, though the run-on structure and the parenthetical asides make it denser than it needs to be.

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?

There is no output schema, so the description carries the return-value burden and does so by naming each field (package name, app name, version, state, installedBy, source) plus the systemAppsHidden count. Staleness, default filtering, and error conditions are all covered, leaving nothing material for an agent to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds meaning the schema does not make obvious: query searches both package name and app name and implicitly includes system apps, and the default system-app omission interacts with the includeSystemApps flag. It does not restate limit/company semantics, which the schema handles.

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 opens with a precise verb and resource ("Get the apps actually on one device (asset)") and immediately enumerates the returned fields, so the agent knows exactly what this tool produces. It also distinguishes the device-level view from the policy-level view in the sibling set, noting that being in the policy does not mean an app is installed.

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?

Three concrete use cases are named: answering "is app X installed / which version", verifying whether a policy app reached the device, and discovering the package name of a preinstalled system app instead of asking the user. It also states the exclusion explicitly — do not infer installation from policy membership — which routes the agent away from the wrong tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources