# set_a_draft_s_resource_context

[Resource and Policy Management API v4] Replaces the resource selection the draft applies to. Because context can affect any policy in the composite, the full updated draft is returned.

Agent View of the PolicyLayer registry record for `set_a_draft_s_resource_context`. HTML page: https://policylayer.com/tools/acronis-platform-mcp/set-a-draft-s-resource-context

## Facts

- Tool: `set_a_draft_s_resource_context`
- Server: Acronis Platform (`@acronis-platform/mcp`) — https://policylayer.com/tools/acronis-platform-mcp.md
- Install: `npx -y @acronis-platform/mcp`
- Homepage: https://www.npmjs.com/package/@acronis-platform/mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 2 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `body` | object | no | Request body (JSON object) |
| `path` | object | yes | URI path parameters |

Parameters from the server's own tool schema.

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

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

## Why set_a_draft_s_resource_context is rated Medium

An AI agent can call set_a_draft_s_resource_context faster than any human can review: one bad instruction and it creates or modifies resources in Acronis Platform by the hundred, each call as confident as the last.

Risk signals: Accepts freeform code/query input (body.value._issues[].error.code) · Accepts file system path (path) · Accepts raw HTML/template content (body) · High parameter count (19 properties)

## Use case

AI agents use set_a_draft_s_resource_context to create or update resources in Acronis Platform, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Acronis Platform environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Acronis Platform:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "set_a_draft_s_resource_context": {
      "limits": [
        {
          "counter": "set_a_draft_s_resource_context_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Acronis Platform (155)

- `cancel_a_protection_policy_draft` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/cancel-a-protection-policy-draft.md
- `delete_a_policy` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-a-policy.md
- `delete_agents` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-agents.md
- `delete_client` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-client.md
- `delete_infrastructures_location` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-infrastructures-location.md
- `delete_policies` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-policies.md
- `delete_registration_token` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-registration-token.md
- `delete_report` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-report.md
- `delete_resources` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-resources.md
- `delete_tenant` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-tenant.md
- `delete_tenant_application_setting` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-tenant-application-setting.md
- `delete_user` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/delete-user.md
- `remove_a_policy_from_a_draft` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/remove-a-policy-from-a-draft.md
- `remove_policy_applications` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/remove-policy-applications.md
- `revoke_token` — Destructive — https://policylayer.com/tools/acronis-platform-mcp/revoke-token.md
- `execute_a_protection_policy` — Execute — https://policylayer.com/tools/acronis-platform-mcp/execute-a-protection-policy.md
- `check_login_name_availability` — Read — https://policylayer.com/tools/acronis-platform-mcp/check-login-name-availability.md
- `check_password` — Read — https://policylayer.com/tools/acronis-platform-mcp/check-password.md
- `device_authorization_approval` — Read — https://policylayer.com/tools/acronis-platform-mcp/device-authorization-approval.md
- `dismiss_an_alert_by_id` — Read — https://policylayer.com/tools/acronis-platform-mcp/dismiss-an-alert-by-id.md
- `dismiss_the_alerts_by_filter` — Read — https://policylayer.com/tools/acronis-platform-mcp/dismiss-the-alerts-by-filter.md
- `download_stored_report` — Read — https://policylayer.com/tools/acronis-platform-mcp/download-stored-report.md
- `fetch_a_count_of_all_resources_that_match_filter_parameters` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-count-of-all-resources-that-match-filter-parameters.md
- `fetch_a_list_of_all_resources` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-list-of-all-resources.md
- `fetch_a_list_of_policies` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-list-of-policies.md
- `fetch_a_list_of_policy_applications` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-list-of-policy-applications.md
- `fetch_a_list_of_resource_s_attributes` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-list-of-resource-s-attributes.md
- `fetch_a_policy` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-policy.md
- `fetch_a_protection_policy_draft` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-protection-policy-draft.md
- `fetch_a_resource_by_id` — Read — https://policylayer.com/tools/acronis-platform-mcp/fetch-a-resource-by-id.md
- …and 125 more: https://policylayer.com/tools/acronis-platform-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=acronis-platform-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/acronis-platform-mcp
