---
docId: doc_7faf8dddcfa14315b3eacb339f0cf50f
title: Safety
description: "Choose permissions, review assistant actions and protect your credentials."
---

<script>
  import { Note } from '$lib/components';
</script>

# Safety

Choose which workspaces and permissions your assistant will have. With write access, it can send messages, edit agents and delete data; review those actions before confirming them.

## Read, write and destructive tools

Every tool declares what it does through MCP annotations, and the [catalog](/mcp/tools) shows the label.

| Label | Annotation | Examples |
|---|---|---|
| Read | `readOnlyHint: true` | `list_conversations_v2`, `search_conversations_v2`, `get_agent` |
| Write | `destructiveHint: false` | `create_agent`, `create_tag` |
| Destructive | `destructiveHint: true` | `send_template_message`, `resume_conversation_v2`, `update_agent_draft`, `delete_agent` |

The Destructive label covers deleting, changing data and sends that cannot be undone. Your client uses annotations to decide when to request approval. Enable that option and review the actions.

Annotations guide the client. Your credential's permissions enforce access limits.

## Enforcement: credential, scopes and role

- **Scopes.** Authorize with only `platica:read` to make a read-only connection. Write tools then answer `403`.
- **Role.** An OAuth connection has your role, so it cannot do what you cannot do. Removing you from a workspace cuts the connection on the next call.
- **Workspaces.** Pick only the workspaces the assistant needs.

## Least privilege

1. Start read-only and add write access when a task needs it.
2. Give each integration its own credential. Name API keys by use, such as `cursor-personal` or `ci-prod`.
3. Prefer OAuth over API keys: it acts as you, expires, and can be revoked from your client.
4. Ask for a preview before bulk actions: "show me who would receive this and wait for my OK". Campaigns have [`preview_campaign_send`](/mcp/tools#preview_campaign_send). For [`bulk_conversation_action_v2`](/mcp/tools#bulk_conversation_action_v2), ask to see the list of conversations first: it acts on explicit IDs, up to 100.
5. Test on a staging workspace before pointing an assistant at production.

## Handling keys

- An API key has access to every module of its workspace and does not expire. Treat it like a password.
- Keep it in an environment variable or your client's secret store. Never commit it or paste it into a chat.
- Revoke a key in **Settings → API Keys** as soon as you suspect a leak. See [Authentication](/mcp/authentication#revoke-access).
- Creating and revoking keys is not available through MCP.

<Note type="warning">

Anything an assistant reads can become part of its context, including text written by your contacts. A message could try to instruct the assistant. Keep approval on for tools that send or delete, so you see the action before it happens.

</Note>

## Next steps

- [Authentication](/mcp/authentication): scopes, workspaces and revoking.
- [Troubleshooting](/mcp/troubleshooting): what `403` and `insufficient_scope` mean.
