# list_devices

Lists devices for a given enterprise. Requires the enterprise ID in the parent field (e.g., enterprises/{enterpriseId}).

Agent View of the PolicyLayer registry record for `list_devices`. HTML page: https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/list-devices

## Facts

- Tool: `list_devices`
- Server: Android Management API (`https://androidmanagement.googleapis.com/mcp`) — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp.md
- Homepage: https://github.com/https://androidmanagement.googleapis.com/mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 3
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `parent` | string | no | The name of the enterprise in the form `enterprises/{enterpriseId}`. |
| `pageSize` | integer | no | The requested page size. If unspecified, at most 10 devices will be returned. The maximum value is 100; values above 100 will be coerced to 100. The limits can |
| `pageToken` | string | no | A token identifying a page of results returned by the server. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_devices",
    "arguments": {}
  }
}
```

## Why list_devices is rated Low

This tool queries and retrieves a list of devices managed by an enterprise. It performs no side effects, creation, modification, or deletion of data. However, severity is elevated to 'medium' because device lists in an MDM context may contain sensitive information (device identities, ownership details, configurations) that could be misused if exposed to an unauthorized agent, potentially enabling reconnaissance or…

From the tool's own definition: "Tool name is 'list_devices' and description states it 'Lists devices for a given enterprise' — a retrieval operation with no modification."

## Use case

AI agents call list_devices to retrieve information from Android Management API without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Android Management API:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_devices": {}
  }
}
```

## Other tools on Android Management API (8)

- `get_application` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/get-application.md
- `get_device` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/get-device.md
- `get_enterprise` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/get-enterprise.md
- `get_policy` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/get-policy.md
- `get_web_app` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/get-web-app.md
- `list_enterprises` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/list-enterprises.md
- `list_policies` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/list-policies.md
- `list_web_apps` — Read — https://policylayer.com/tools/com-googleapis-androidmanagement-mcp/list-web-apps.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-googleapis-androidmanagement-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-googleapis-androidmanagement-mcp
