GoCanvas MCP by usefulapi

v1.20.1
io.usefulapi/gocanvas Checked 1 day ago Published 11 hours ago

Read GoCanvas forms, submissions, users, dispatches and reference data; create dispatches.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gocanvas_get_me Get the connected GoCanvas user

The user who owns the connected OAuth application: id, login, company id and name, default department and role. Use it to learn the default department id.

gocanvas_list_forms List GoCanvas forms

Forms (mobile form definitions) the connected user can see: id, name, status, version, department. Paged, 100 per page. Use gocanvas_get_form for a form's fields (entries).

ParameterTypeDescription
assignedbooleantrue = only the user's assigned, active forms (only has an effect for users who can manage forms).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_get_form Get a GoCanvas form definition

One form definition, including its screens and entries (field ids and labels). Use format 'flat' for the simplest list of fields (what you need to read submissions or create a dispatch), 'nested' (default) for the full structure, 'metadata' or 'minimal' for less.

ParameterTypeDescription
form_id *integerThe form id (from gocanvas_list_forms).
formatstringDefinition format (default nested).

gocanvas_list_form_reports List report definitions of a GoCanvas form

The report (PDF) definitions attached to a form: id, name, format, whether emailed by default. Paged.

ParameterTypeDescription
form_id *integerThe form id.
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_submissions List GoCanvas submissions

Completed forms (submissions): id, form, number, created time, department, user, status. At least one of form_id, user_id or user_email is required (user_id and user_email cannot be combined). Default status is completed. Dates filter created_at. Paged, 100 per page. Use gocanvas_get_submission for the answers.

ParameterTypeDescription
custom_statusstringCustom status label; required for status custom.
department_idintegerDepartment id (default: the user's default department).
end_datestringCreated at or before (ISO-8601).
form_idintegerForm id; matches every version of the form.
hand_offstringWorkflow handoff state name; required for status handed-off.
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.
start_datestringCreated at or after (ISO-8601).
statusstringStatus filter (default completed). handed-off needs hand_off; custom needs custom_status.
user_emailstringEmail (login) of the user who created the submission; not with user_id.
user_idintegerThe user who created the submission.

gocanvas_get_submission Get a GoCanvas submission

One submission with all its responses (entry id, label, type, value). Accepts the numeric submission id or the client GUID.

ParameterTypeDescription
submission_id *stringNumeric submission id (e.g. 691911) or client GUID (e.g. 02ED5FB2-9C61-4F18-AB17-543547DF899B).

gocanvas_list_submission_revisions List revisions of a GoCanvas submission

The revision history of a submission (who changed it and when). Paged.

ParameterTypeDescription
submission_id *stringNumeric submission id or client GUID.
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_users List GoCanvas users

Users of the company: id, name, email, enabled. Paged, 100 per page.

ParameterTypeDescription
enabledbooleantrue = only enabled users, false = only disabled (default: both).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_get_user Get a GoCanvas user

One user by id: name, login, contact data, default department and role.

ParameterTypeDescription
user_id *integerThe user id (from gocanvas_list_users).

gocanvas_list_departments List GoCanvas departments

Departments of the company: id, name, description. The pseudo department -1 'All' is included.

gocanvas_list_department_users List users of a GoCanvas department

The users in one department with their department role.

ParameterTypeDescription
department_id *integerThe department id (from gocanvas_list_departments).

gocanvas_list_dispatches List GoCanvas dispatches

Dispatches (jobs sent to field workers): id, form, assignee, status, schedule. At least one of user_id, department_id or form_id is required. Dates are ISO-8601. Paged.

ParameterTypeDescription
department_idintegerThe department.
end_datestringCreated at or before.
form_idintegerThe form.
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.
project_idintegerOnly dispatches assigned to this project.
scheduled_end_datestringScheduled end at or before.
scheduled_start_datestringScheduled at or after.
start_datestringCreated at or after.
statusstringunassigned, assigned, received or ready (ready ignores the date filters and is scoped to the connected user).
user_idintegerThe user the dispatch is assigned to.

gocanvas_get_dispatch Get a GoCanvas dispatch

One dispatch by id with its pre-filled responses, schedule and status.

ParameterTypeDescription
dispatch_id *integerThe dispatch id (from gocanvas_list_dispatches).

gocanvas_list_customers List GoCanvas customers

Customers (contacts of the Project Management view): individuals or businesses, optionally tied to a site. Paged.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_projects List GoCanvas projects

Projects of the Project Management view. Paged.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_sites List GoCanvas sites

Sites (job locations) of the Project Management view. Paged.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_reference_data List GoCanvas reference data sets

Reference data (lookup tables used by forms): id, name, columns, version. Without department_id the user's default department is used.

ParameterTypeDescription
assignedbooleantrue = only reference data used by forms assigned to the user.
department_idintegerDepartment id.
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_get_reference_data Get a GoCanvas reference data set

One reference data set with its rows.

ParameterTypeDescription
reference_data_id *integerThe reference data id (from gocanvas_list_reference_data).

gocanvas_list_groups List GoCanvas groups

User groups: id, name, and the forms and users assigned. Paged.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_workflows List GoCanvas workflows

Workflows (handoff chains between users) the connected user takes part in, with their handoff states and the count of tasks available to claim. Paged.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.

gocanvas_list_locations List GoCanvas tracker locations

GPS location events of field users (needs the tracker feature). start_date and end_date are required and may span at most 7 days. Omit user_id for all users of the company. Paged.

ParameterTypeDescription
end_date *stringEnd of the window (ISO-8601; a bare date means 23:59:59). At most 7 days after start_date.
start_date *stringStart of the window (ISO-8601; a bare date means 00:00:00).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply. 100 results per page.
use_created_atbooleantrue = filter by upload time (created_at) instead of recorded_at.
user_idintegerLimit to one user.

gocanvas_create_dispatch Create a GoCanvas dispatch

WRITE: creates a dispatch, a job that appears on the assignee's mobile device (immediate_dispatch is sent at once, with a push notification when send_notification is true; scheduled_dispatch needs scheduled_at and scheduled_end). Responses pre-fill the assignee's form (entry ids from gocanvas_get_form). Without assignee_id the dispatch stays unassigned. Not idempotent: calling twice creates two dispatches. Media fields cannot be pre-filled.

ParameterTypeDescription
dispatch_type *stringimmediate_dispatch is sent now; scheduled_dispatch at scheduled_at.
form_id *integerThe form to dispatch (from gocanvas_list_forms).
assignee_idintegerThe user who gets the dispatch (from gocanvas_list_users); omit to leave it unassigned.
department_idintegerDepartment; default is the user's default department.
descriptionstringDescription shown on the assignee's device.
namestringShort name shown on the dispatch calendar.
reminder_intervalintegerScheduled dispatches: minutes before the start to send a reminder.
responsesarrayPre-filled answers.
scheduled_atstringScheduled dispatches: start, in the format MM/DD/YYYY h:mm:ss AM, e.g. 12/1/2024 8:00:00 AM.
scheduled_endstringScheduled dispatches: end, same format.
send_calendar_invitebooleanScheduled dispatches: send a calendar invite.
send_notificationbooleanImmediate dispatches: send a push notification to the mobile app.

gocanvas_mark_dispatch_received Mark a GoCanvas dispatch as received

WRITE: acknowledges a dispatch (status becomes received). Only works for a dispatch in the assigned state that is assigned to the connected user; repeating it is refused by GoCanvas.

ParameterTypeDescription
dispatch_id *integerThe dispatch id.