delete_qr_code

Permanently delete a QR code and all its scan analytics. The short URL will stop working immediately. This cannot be undone.

Server QR for Agent qr-for-agent
Category Destructive
Risk class Critical
Parameters 11 required

What delete_qr_code does on QR for Agent

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

ParameterTypeRequiredDescription
short_id string Yes The short ID of the QR code to delete.

Parameters from the server's own tool schema.

Why delete_qr_code needs a policy

This tool performs irreversible deletion of data and renders deployed QR codes non-functional. While not critical (doesn't affect financial systems or enable broad lateral damage), the permanent loss of analytics and breaking of active short URLs represents significant destructive impact that cannot be recovered.

From the tool's definition 'Permanently delete a QR code and all its scan analytics' and 'This cannot be undone.' The tool irreversibly removes data (QR code and its analytics) and breaks functionality (short URL stops working immediately).

Questions about delete_qr_code

What does the delete_qr_code tool do? +

Permanently delete a QR code and all its scan analytics. The short URL will stop working immediately. This cannot be undone. It is categorised as a Destructive tool in the QR for Agent MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does delete_qr_code accept? +

delete_qr_code accepts 1 parameter: short_id. Required: short_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on delete_qr_code? +

Register the QR for Agent MCP server in PolicyLayer and add a rule for delete_qr_code: 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 QR for Agent. Nothing to install.

What risk level is delete_qr_code? +

delete_qr_code 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 delete_qr_code? +

Yes. Add a rate_limit block to the delete_qr_code 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 delete_qr_code completely? +

Set action: deny in the PolicyLayer policy for delete_qr_code. 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 delete_qr_code? +

delete_qr_code is provided by the QR for Agent MCP server (qr-for-agent). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.