# list_indexes

List Firestore indexes.

Agent View of the PolicyLayer registry record for `list_indexes`. HTML page: https://policylayer.com/tools/com-googleapis-firestore-mcp/list-indexes

## Facts

- Tool: `list_indexes`
- Server: Mcp (`https://firestore.googleapis.com/mcp`) — https://policylayer.com/tools/com-googleapis-firestore-mcp.md
- Homepage: https://github.com/https://firestore.googleapis.com/mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 4 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `filter` | string | no | The filter to apply to list results. |
| `parent` | string | yes | Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` |
| `pageSize` | integer | no | The number of results to return. |
| `pageToken` | string | no | A page token, returned from a previous call to FirestoreAdmin.ListIndexes, that may be used to get the next page of results. |

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_indexes",
    "arguments": {
      "parent": "<parent>"
    }
  }
}
```

## Why list_indexes is rated Low

This tool performs a read-only operation that queries and returns information about Firestore indexes. It does not create, modify, delete, or execute operations. The blast radius of misuse is minimal—an agent listing indexes could only gather metadata about the database structure, which is informational in nature.

From the tool's own definition: "Tool name 'list_indexes' and description 'List Firestore indexes' indicate a retrieval operation with no modification of data. Listing is a query-only action that retrieves information about existing indexes without side effects."

## Use case

AI agents call list_indexes to retrieve information from Mcp 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 Mcp:

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

## Other tools on Mcp (22)

- `delete_backup` — Destructive — https://policylayer.com/tools/com-googleapis-firestore-mcp/delete-backup.md
- `delete_backup_schedule` — Destructive — https://policylayer.com/tools/com-googleapis-firestore-mcp/delete-backup-schedule.md
- `delete_database` — Destructive — https://policylayer.com/tools/com-googleapis-firestore-mcp/delete-database.md
- `delete_document` — Destructive — https://policylayer.com/tools/com-googleapis-firestore-mcp/delete-document.md
- `delete_index` — Destructive — https://policylayer.com/tools/com-googleapis-firestore-mcp/delete-index.md
- `get_backup` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/get-backup.md
- `get_backup_schedule` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/get-backup-schedule.md
- `get_database` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/get-database.md
- `get_document` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/get-document.md
- `get_index` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/get-index.md
- `list_backup_schedules` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/list-backup-schedules.md
- `list_backups` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/list-backups.md
- `list_collections` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/list-collections.md
- `list_databases` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/list-databases.md
- `list_documents` — Read — https://policylayer.com/tools/com-googleapis-firestore-mcp/list-documents.md
- `add_document` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/add-document.md
- `create_backup_schedule` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/create-backup-schedule.md
- `create_database` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/create-database.md
- `create_index` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/create-index.md
- `update_backup_schedule` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/update-backup-schedule.md
- `update_database` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/update-database.md
- `update_document` — Write — https://policylayer.com/tools/com-googleapis-firestore-mcp/update-document.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-firestore-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-googleapis-firestore-mcp
