> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpg.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Resources

> Passive MCP resources - tracked companies and territories

MCP **resources** are read-only data URIs your client can fetch for background context. Unlike tools, they do not perform actions - they provide lists your AI can use to resolve company names and understand workspace structure.

<Info>
  Not every client surfaces resources in the UI. Claude may use them implicitly when relevant. Tools such as `accounts` and `company` are more reliable for explicit requests.
</Info>

## Available resources

<CardGroup cols={2}>
  <Card title="pgai://companies" icon="building">
    **Tracked companies**

    All companies your organisation tracks in PG:AI (id, name, domain).

    Helps the model resolve *"Tell me about Airtable"* to the correct account UUID.
  </Card>

  <Card title="pgai://territories" icon="map">
    **Territories**

    Territories configured for your organisation.

    Useful for prompts like *"What accounts are in my EMEA territory?"* when combined with tools.
  </Card>
</CardGroup>

## Resources vs tools

|               | Resources                     | Tools                               |
| ------------- | ----------------------------- | ----------------------------------- |
| **Purpose**   | Static lists for context      | Query and action                    |
| **When used** | Client-driven background read | When the model needs data or writes |
| **Examples**  | `pgai://companies`            | `accounts`, `company`, `search`     |

For most workflows, prefer **`accounts`** (filtered, paginated, enrichment metadata) over the companies resource. Use **`company`** for rich profile data on one account.

## Example shapes

Responses are JSON. Exact fields may include additional metadata from your workspace.

### Companies

```json theme={null}
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Salesforce",
    "domain": "salesforce.com"
  },
  {
    "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "name": "Harness",
    "domain": "harness.io"
  }
]
```

### Territories

```json theme={null}
[
  {
    "id": "t1u2v3w4-x5y6-7890-zabc-def123456789",
    "name": "EMEA Enterprise",
    "company_count": 45
  }
]
```

<Tip>
  Start exploration with *"List my tracked accounts"* (`accounts` tool) - it returns more useful fields than the passive resource alone.
</Tip>
