# delete_ga4_property

[GA4] Soft-delete (trash) a GA4 property — recoverable for a limited time. Destructive — two-step approval.

Agent View of the PolicyLayer registry record for `delete_ga4_property`. HTML page: https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-ga4-property

## Facts

- Tool: `delete_ga4_property`
- Server: Samarth Gtm Mcp (`samarth-gtm-mcp`) — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp.md
- Install: `npx -y samarth-gtm-mcp`
- Homepage: https://github.com/samarthanalytics-sj/samarth-analytics-mcp
- 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_ga4_property",
    "arguments": {}
  }
}
```

## Why delete_ga4_property is rated Critical

This tool irreversibly deletes GA4 properties, which cannot be undone within normal operations (only recoverable within GA4's limited trash retention window). While the deletion is technically recoverable, it qualifies as Destructive because it removes data/resources in a way that cannot be immediately reversed. The two-step approval process indicates organizational recognition of its severity.

From the tool's own definition: "Tool description explicitly states 'Soft-delete (trash) a GA4 property' and 'Destructive — two-step approval.' The name 'delete_ga4_property' and description confirm irreversible data removal (though recoverable within a limited window, it is still a…"

## Use case

AI agents call delete_ga4_property to permanently remove resources in Samarth Gtm Mcp, 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 Samarth Gtm Mcp:

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

## Other tools on Samarth Gtm Mcp (235)

- `built_in_variables_disable` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/built-in-variables-disable.md
- `delete_ga4_account` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-ga4-account.md
- `delete_gtm_client` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-client.md
- `delete_gtm_folder` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-folder.md
- `delete_gtm_tag` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-tag.md
- `delete_gtm_trigger` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-trigger.md
- `delete_gtm_variable` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-gtm-variable.md
- `delete_unused_gtm_triggers` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-unused-gtm-triggers.md
- `delete_unused_gtm_variables` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/delete-unused-gtm-variables.md
- `environments_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/environments-delete.md
- `folders_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/folders-delete.md
- `forget_memory` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/forget-memory.md
- `ga4_delete_account` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/ga4-delete-account.md
- `ga4_delete_property` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/ga4-delete-property.md
- `tags_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/tags-delete.md
- `triggers_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/triggers-delete.md
- `user_permissions_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/user-permissions-delete.md
- `variables_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/variables-delete.md
- `versions_delete` — Destructive — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/versions-delete.md
- `consent_compliance_audit` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/consent-compliance-audit.md
- `consent_scenario_capture` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/consent-scenario-capture.md
- `environments_reauthorize` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/environments-reauthorize.md
- `run_ga4_report` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/run-ga4-report.md
- `runtime_synthetic_test` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/runtime-synthetic-test.md
- `site_crawl` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/site-crawl.md
- `suggest_tags_from_url` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/suggest-tags-from-url.md
- `versions_publish` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/versions-publish.md
- `workspace_create_version_and_publish` — Execute — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/workspace-create-version-and-publish.md
- `update_google_ads_campaign_budget` — Financial — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/update-google-ads-campaign-budget.md
- `accounts_get` — Read — https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp/accounts-get.md
- …and 205 more: https://policylayer.com/tools/io-github-samarthanalytics-sj-samarth-gtm-mcp.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=io-github-samarthanalytics-sj-samarth-gtm-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-samarthanalytics-sj-samarth-gtm-mcp
