# read_organization (/mcp/tools/read_organization)

`read_organization` · Read only

Read organizations and their people: members, the products a member can open, open invitations.

Set `action` to one of these:
- `list` (optional `limit`, `cursor`): The organizations the person belongs to, oldest first, with their role in each (admin or user). `get_me` also lists their products in each, usually what you need.
- `members` (needs `organizationId`; optional `limit`, `cursor`): The organization's members, active and disabled, in the order they joined (Admins only): user id, name, email, role and status. Invitations not accepted yet: `read_organization` with action `invitations`.
- `member_products` (needs `organizationId`, `userId`): A member's access to every product of the organization (Admins only), by name ignoring capitals: `access` (owner, viewer, or null) and `viaAdmin` (true for an Admin, who owns every product). Change it with `manage_product` with action `grant_access` or `manage_product` with action `revoke_access`.
- `invitations` (needs `organizationId`; optional `limit`, `cursor`): The organization's invitations, oldest first (Admins only): pending, accepted and expired, each with its email address, role, product access and status.
- `api_keys` (needs `organizationId`; optional `limit`, `cursor`, `search`, `kind`): Every active API key in the organization, newest first (Admins only): members' keys (`kind` `member`, with `person`) and organization keys (`organization`, with `createdBy`); name, first characters, access, last use, expiry (null: none), `unused` after 90 idle days. Its `id` is what `manage_organization` with action `revoke_api_key` takes.
- `product_grant_counts` (needs `organizationId`): How many products each member can open (Admins only): one entry per member, active or disabled, with access to at least one product of the organization that is not deleted, by user id. Admins own every product and are left out.

## Actions (set `action`)

### `list`

- Who can use it: Anyone signed in
- Hints: Read only
- Runs: [`list_organizations`](/api/organizations/list_organizations)
- Inputs:
  - `limit` (integer): How many items to return, 1 to 100 (50 when left out).
  - `cursor` (string): The previous page's `meta.nextCursor`; left out: the first page.

### `members`

- Who can use it: Admins
- Hints: Read only
- Runs: [`list_members`](/api/members/list_members)
- Inputs:
  - `organizationId` (string, required): From `get_me`.
  - `limit` (integer): How many items to return, 1 to 100 (50 when left out).
  - `cursor` (string): The previous page's `meta.nextCursor`; left out: the first page.

### `member_products`

- Who can use it: Admins
- Hints: Read only
- Runs: [`list_member_products`](/api/members/list_member_products)
- Inputs:
  - `organizationId` (string, required): From `get_me`.
  - `userId` (string, required): The member's user id, from `read_organization` with action `members` or `read_product` with action `access`.

### `invitations`

- Who can use it: Admins
- Hints: Read only
- Runs: [`list_invitations`](/api/invitations/list_invitations)
- Inputs:
  - `organizationId` (string, required): From `get_me`.
  - `limit` (integer): How many items to return, 1 to 100 (50 when left out).
  - `cursor` (string): The previous page's `meta.nextCursor`; left out: the first page.

### `api_keys`

- Who can use it: Admins
- Hints: Read only
- Runs: [`list_organization_api_keys`](/api/organizations/list_organization_api_keys)
- Inputs:
  - `organizationId` (string, required): From `get_me`.
  - `limit` (integer): How many items to return, 1 to 100 (50 when left out).
  - `cursor` (string): The previous page's `meta.nextCursor`; left out: the first page.
  - `search` (string): Only keys whose name, person's name or email, or (organization keys) creator's name or email holds this text, ignoring capitals.
  - `kind` (string): Only keys of this kind. Allowed values: `member`, `organization`.

### `product_grant_counts`

- Who can use it: Admins
- Hints: Read only
- Runs: [`list_product_grant_counts`](/api/members/list_product_grant_counts)
- Inputs:
  - `organizationId` (string, required): From `get_me`.
