Device Magic MCP by usefulapi
v1.20.1Read Device Magic forms, submissions, devices and groups; send and revoke dispatches.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
devicemagic_list_forms List forms
List the organization's forms: id, namespace (the form's unique id used for dispatching), version, description and group. GET /organizations/{org}/forms.json.
devicemagic_get_form Get form definition
One form's definition: title and its questions/pages with identifiers and types (the identifiers are the keys inside submissions and dispatch payloads). Optionally a specific version. GET /organizations/{org}/forms/{id}.json.
| Parameter | Type | Description |
|---|---|---|
form_id * | integer | Form id (field `id` of list_forms). |
version | string | Form version such as 1.03; default = the latest. |
devicemagic_list_submissions List form submissions
Submitted data of one form, newest data as stored in the form's Device Magic Database destination (it must be active on that form). Each record has form info, metadata (device, user, submitted_at, received_at, submission_id) and the answers. The reply says current_page, total_pages and total_count. Filter by from_date/to_date (yyyy-mm-dd). GET /api/forms/{id}/device_magic_database.json.
| Parameter | Type | Description |
|---|---|---|
form_id * | integer | Form id (field `id` of list_forms). |
from_date | string | Only submissions from this date (yyyy-mm-dd). |
page | integer | Page number, 1-based (use total_pages from the reply). |
per_page | integer | Submissions per page, 1-100 (default 25). |
to_date | string | Only submissions up to this date (yyyy-mm-dd). |
devicemagic_list_devices List devices
List the organization's devices (phones, tablets, web-form users): id, identifier, owner, description, group and whether approval is pending. GET /organizations/{org}/devices.json.
devicemagic_get_device Get device
One device: id, identifier, owner, description, pending_approval, groups and custom attributes. GET /organizations/{org}/devices/{id}.json.
| Parameter | Type | Description |
|---|---|---|
device_id * | integer | Numeric device id (field `id` of list_devices). |
devicemagic_list_groups List groups
List the organization's groups (which devices see which forms), optionally narrowed by a name filter or by tags. GET /api/v2/organizations/{org}/groups.json.
| Parameter | Type | Description |
|---|---|---|
filter | string | Group name to look for, e.g. Default (the vendor matches part of the name). |
page | integer | Page number, 1-based (default 1). |
tags | array | Only groups having any of these tags (the vendor matches any tag). |
devicemagic_list_resources List resources
List the organization's resources (lookup tables and files used by forms): id, original filename, version, description. GET /api/resources.json.
devicemagic_describe_resource Describe resource
Metadata of one resource: status, version and, for spreadsheets, its tables and columns. The file content itself is not downloaded. GET /api/resources/{id}/describe.json.
| Parameter | Type | Description |
|---|---|---|
resource_id * | integer | Resource id (field `id` of list_resources). |
devicemagic_list_destinations List form destinations
List where one form's submissions are sent (e-mail, Dropbox, database, ...): id, active flag, format and transport types, timestamps. GET /api/forms/{id}/destinations.json.
| Parameter | Type | Description |
|---|---|---|
form_id * | integer | Form id (field `id` of list_forms). |
devicemagic_get_destination Get form destination
One destination of a form. Credentials and tokens of the destination are never returned. GET /api/forms/{form_id}/destinations/{id}.json.
| Parameter | Type | Description |
|---|---|---|
destination_id * | integer | Destination id (field `id` of list_destinations). |
form_id * | integer | Form id. |
devicemagic_list_dispatches List outstanding dispatches
Outstanding dispatches (prefilled forms pushed to devices and not yet completed) of the whole organization: id, form name and namespace, device, scheduled time. Dispatch is an Enterprise-plan feature. GET /api/v2/organizations/{org}/dispatches.json.
devicemagic_list_device_dispatches List a device's outstanding dispatches
Outstanding dispatches of one device. GET /api/v2/devices/{identifier}/dispatches.json.
| Parameter | Type | Description |
|---|---|---|
device_identifier * | string | Device identifier (field `identifier` of a device, e.g. iPhone_abcdef1234567890). |
devicemagic_get_dispatch Get dispatch with prefilled values
One dispatch of a device including the values it was prefilled with. GET /api/v3/devices/{identifier}/dispatches/{id}.json?include_inputs=true.
| Parameter | Type | Description |
|---|---|---|
device_identifier * | string | Device identifier (field `identifier` of a device, e.g. iPhone_abcdef1234567890). |
dispatch_id * | integer | Dispatch id (field `id` of a dispatch list). |
devicemagic_list_dispatch_recipients List dispatch recipients
Devices and web-forms users a dispatch can be sent to (first 100 by default; use items and page for more). GET /api/v3/dispatch_authors.json.
| Parameter | Type | Description |
|---|---|---|
items | integer | Results per page (default 100). |
page | integer | Page number, 1-based. |
devicemagic_send_dispatch Send a form to a device (dispatch)
WRITE: pushes a form, optionally prefilled, to one device where its user will see it (like assigning a job). Not idempotent: calling it twice sends two dispatches. Needs the Enterprise plan. The form is named by its namespace (list_forms); `payload` maps question identifiers (get_form) to prefilled values (subforms = nested objects, repeat groups = arrays). POST /api/v2/devices/{identifier}/dispatches.json.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: you confirm the form is sent to this device now (its user sees it). |
device_identifier * | string | Device identifier (field `identifier` of a device, e.g. iPhone_abcdef1234567890). |
form_namespace * | string | Form namespace (field `namespace` of list_forms). |
form_description | string | Description shown to the device user (Device Magic allows at most 255 characters). |
form_name | string | Title shown to the device user. |
payload | object | Prefilled values keyed by question identifier. |
scheduled_at | string | When the dispatch becomes due, ISO 8601 such as 2026-11-02T09:00:00Z. |
devicemagic_revoke_dispatch Revoke a dispatch
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.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: you confirm the dispatch is withdrawn from the device. |
device_identifier * | string | Device identifier (field `identifier` of a device, e.g. iPhone_abcdef1234567890). |
dispatch_id * | integer | Dispatch id (from list_device_dispatches). |
devicemagic_approve_device Approve a pending device
WRITE: approves a device that is waiting for approval (pending_approval is true) so it can receive forms. Approving an approved device has no effect. POST /organizations/{org}/devices/{id}/approve.
| Parameter | Type | Description |
|---|---|---|
device_id * | integer | Numeric device id (field `id` of list_devices). |