Skip to main content
Glama

Device Magic MCP by usefulapi

Revoke a dispatch

devicemagic_revoke_dispatch
DestructiveIdempotent

WRITE: withdraws one outstanding dispatch from a device (the form disappears from the device). It cannot be undone, but the dispatch can be sent again. DELETE /api/v2/devices/{identifier}/dispatches/{id}.json.

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true: you confirm the dispatch is withdrawn from the device.
dispatch_idYesDispatch id (from list_device_dispatches).
device_identifierYesDevice identifier (field `identifier` of a device, e.g. iPhone_abcdef1234567890).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag destructiveHint=true, so the description earns credit for adding the real consequences: the form disappears from the device, the action cannot be undone, but it is re-creatable by resending. That nuance (irreversible yet recoverable) is not in the annotations. It doesn't say what happens on an already-revoked or unknown dispatch id, which keeps it at 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the mutation type and the core action, closing with the endpoint. Every clause carries information the agent needs (effect, reversibility, recovery path, route) with zero filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive 3-param write with no output schema, the description covers effect, irreversibility, recovery, and endpoint. Remaining gaps are edge cases such as behavior on missing or already-sent dispatches and whether any success payload is returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already explains all three parameters, including that dispatch_id comes from list_device_dispatches and that confirm must be true. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb + resource ('withdraws one outstanding dispatch from a device'), plus the observable consequence ('the form disappears from the device') and the exact endpoint. An agent can distinguish it from devicemagic_send_dispatch and devicemagic_get_dispatch without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The leading 'WRITE:' tag plus 'outstanding dispatch' scopes when the tool applies, and 'the dispatch can be sent again' implicitly routes an agent to re-issuing via send_dispatch. No explicit when-not or named alternative is stated, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.