Critical Risk →

dji_disconnect

dji_disconnect

How to control dji_disconnect ↓

What dji_disconnect does on Robot

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

Critical Risk

Why dji_disconnect needs a policy

Disconnecting from an active drone mid-operation could cause loss of control, leading to a crash or fly-away — an irreversible physical outcome. The sibling tools include takeoff/land/emergency_stop, confirming this is a live hardware control context. While 'disconnect' could be a soft session teardown, in an aerial robotics context it carries high blast radius. Confidence is moderate due to the empty description.

From the tool's definition Tool name 'dji_disconnect' on a drone-control server; description is empty and uninformative.

Documented attack patterns abuse exactly the kind of access dji_disconnect gives an agent:

How to control dji_disconnect

PolicyLayer is an MCP gateway — it sits between your AI agents and Robot, and nothing reaches the server without passing your rules. This is the rule we recommend for dji_disconnect:

policy.json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "dji_disconnect"
  ]
}

dji_disconnect disappears from the agent's tool list entirely, and any attempt to call it is denied. The rest of the server keeps working.

  1. Create a free account and register Robot — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
RESTRICT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about dji_disconnect

What does the dji_disconnect tool do? +

dji_disconnect. It is categorised as a Destructive tool in the Robot MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on dji_disconnect? +

Register the Robot MCP server in PolicyLayer and add a rule for dji_disconnect: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Robot. Nothing to install.

What risk level is dji_disconnect? +

dji_disconnect is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit dji_disconnect? +

Yes. Add a rate_limit block to the dji_disconnect rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block dji_disconnect completely? +

Set action: deny in the PolicyLayer policy for dji_disconnect. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides dji_disconnect? +

dji_disconnect is provided by the Robot MCP server (showkeyjar/robot-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Robot tool call.

Start from Robot, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

24 Robot tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.