# delete_credential

Delete a stored credential.

Agent View of the PolicyLayer registry record for `delete_credential`. HTML page: https://policylayer.com/tools/namastexlabs-automagik-tools/delete-credential

## Facts

- Tool: `delete_credential`
- Server: Automagik Tools (`namastexlabs/automagik-tools`) — https://policylayer.com/tools/namastexlabs-automagik-tools.md
- Homepage: https://github.com/namastexlabs/automagik-tools
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

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

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

## Why delete_credential is rated Critical

Deletion of credentials cannot be undone and represents an irreversible destructive action. While the blast radius is contained to credential storage rather than user data, the severity is high because compromised or missing credentials can prevent legitimate access and disrupt service operations.

From the tool's own definition: "Tool name 'delete_credential' explicitly indicates deletion of stored credentials. Description states 'Delete a stored credential' - the word 'delete' combined with credential management indicates irreversible removal of authentication data."

## Use case

AI agents call delete_credential to permanently remove resources in Automagik Tools, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Automagik Tools:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete_credential"
  ]
}
```

## Other tools on Automagik Tools (121)

- `delete_agent_conversation` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-agent-conversation.md
- `delete_message` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-message.md
- `delete_schedule` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-schedule.md
- `delete_source` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-source.md
- `delete_task` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-task.md
- `delete_team_collaboration` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-team-collaboration.md
- `delete_workflow` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-workflow.md
- `delete_workflow_execution` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-workflow-execution.md
- `end_session` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/end-session.md
- `genie_clear_memories` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/genie-clear-memories.md
- `remove_contact` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/remove-contact.md
- `remove_tool` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/remove-tool.md
- `continue_agent_conversation` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/continue-agent-conversation.md
- `execute_workflow` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/execute-workflow.md
- `run_workflow` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/run-workflow.md
- `send_sticker` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/send-sticker.md
- `send_whatsapp` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/send-whatsapp.md
- `start_agent_conversation` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/start-agent-conversation.md
- `start_google_auth` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/start-google-auth.md
- `start_team_collaboration` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/start-team-collaboration.md
- `wait_minutes` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/wait-minutes.md
- `ask_genie` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/ask-genie.md
- `consult_gemini` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/consult-gemini.md
- `manage_instances` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/manage-instances.md
- `manage_traces` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/manage-traces.md
- `my_function` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/my-function.md
- `my_tool` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/my-tool.md
- `send_audio` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/send-audio.md
- `send_presence` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/send-presence.md
- `share_document` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/share-document.md
- …and 91 more: https://policylayer.com/tools/namastexlabs-automagik-tools.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=namastexlabs-automagik-tools · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/namastexlabs-automagik-tools
