GoFormz MCP by usefulapi

v1.16.4
io.usefulapi/goformz Checked 7 hours ago Published 14 days ago

Read GoFormz templates, forms, groups and data sources; create and update forms and rows.

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

goformz_list_templates List templates

List the form templates of the account (id, name). Use a template id to list its forms or to create a form. GET /v2/templates.

ParameterTypeDescription
namestringOnly items whose name starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).

goformz_get_template Get a template

Get one template by id. GET /v2/templates/{id}.

ParameterTypeDescription
template_id *stringTemplate id (a GUID).

goformz_list_forms List forms

List forms (filled-in instances of templates) with name, status (draft or complete), last update date and assignment. Field values are NOT included: call goformz_get_form for those. Filter by name prefix, status or last-updated date. GET /v2/formz.

ParameterTypeDescription
directionstringSort direction (default asc).
namestringOnly items whose name starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).
sortstringSort field.
statusstringOnly draft or only complete forms.
updated_afterstringOnly forms last updated after this date or date-time (ISO 8601).

goformz_list_template_forms List forms of a template

List the forms created from one template (name, status, last update date). Field values are not included. GET /v2/templates/{templateId}/formz.

ParameterTypeDescription
template_id *stringTemplate id (a GUID).
directionstringSort direction (default asc).
namestringOnly items whose name starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).
sortstringSort field.
statusstringOnly draft or only complete forms.

goformz_get_form Get a form

Get one form with all its field values (text, numbers, dates, checkboxes, table rows, signature/image references), status, assignment and template version. GET /v2/formz/{id}.

ParameterTypeDescription
form_id *stringForm id (a GUID).
include_deletedbooleanAlso return a form that has been deleted (default false).

goformz_list_groups List groups

List user groups (forms can be assigned to a group). GET /v2/groups.

ParameterTypeDescription
namestringOnly items whose name starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).

goformz_get_group Get a group

Get one group by id. GET /v2/groups/{id}.

ParameterTypeDescription
group_id *stringGroup id (a GUID).

goformz_list_users List users

List the account's users (id, username, first and last name). A user id is needed to assign a new form. GET /v2/users.

ParameterTypeDescription
namestringOnly items whose name starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).

goformz_get_user Get a user

Get one user by id. GET /v2/users/{id}.

ParameterTypeDescription
user_id *stringUser id (a GUID).

goformz_list_datasources List data sources

List data sources (lookup tables that feed dropdown and database fields in templates). GET /v2/datasources.

ParameterTypeDescription
namestringOnly items whose name starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).

goformz_get_datasource Get a data source

Get one data source: its name, columns and indexed columns. GET /v2/datasources/{id}.

ParameterTypeDescription
datasource_id *stringData source id (a GUID).

goformz_list_datasource_rows List data source rows

List the rows of a data source. Each row has an id, a keyColumn (the lookup key) and a value (a JSON-encoded array of the column values). GET /v2/datasources/{dataSourceId}/rows.

ParameterTypeDescription
datasource_id *stringData source id (a GUID).
namestringOnly rows whose key column starts with this text.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).

goformz_get_datasource_row Get a data source row

Get one data source row by id. GET /v2/datasources/{dataSourceId}/rows/{rowId}.

ParameterTypeDescription
datasource_id *stringData source id (a GUID).
row_id *stringRow id (a GUID).

goformz_list_webhooks List webhooks

List the webhooks that call a URL when a form of a template is completed (event form.complete). Read-only. GET /v2/webhooks.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 25).
template_idstringOnly webhooks for this template (the webhook's entity id).

goformz_get_queue_item Get an async job status

Check a queued job, for example the PDF export started by goformz_export_form_pdf. Returns status (and progressIndicator); when it is Completed, redirectUrl points at the result (a /v2/files/{id} URL: pass that id to goformz_get_file). GET /v2/queue/{id}.

ParameterTypeDescription
queue_id *stringQueue item id (a GUID).

goformz_get_file Get a file

Get a file summary: type, created date and a temporary download `link` (it expires; see linkExpiration). Use it for an exported PDF or a form image/signature. The file itself is not downloaded here. GET /v2/files/{id}.

ParameterTypeDescription
file_id *stringFile id (a GUID).

goformz_get_pdf_export Get a PDF export

Get the metadata of a PDF export of a form, including the temporary download `link` once the PDF is ready. GET /v2/formz/{formId}/exports/{exportId}.

ParameterTypeDescription
export_id *stringExport id (a GUID).
form_id *stringForm id (a GUID).

goformz_export_form_pdf Export a form to PDF

WRITE: start a PDF export of a form (the form is not changed; GoFormz creates a PDF file). The reply gives the queue_id of the job: poll goformz_get_queue_item until Completed, then read the file with goformz_get_file using the id in redirectUrl. POST /v2/formz/{formId}/exports.

ParameterTypeDescription
form_id *stringForm id (a GUID).
pagesstringPages to include, for example "1-5,7,9" (default all pages).

goformz_create_form Create a form

WRITE: create a new draft form from a template, optionally pre-filled and assigned to a user or group (assignment is only possible at creation). Field keys are the template's field names (or ids) and the values are field objects such as {"text": "Acme"}; see goformz_get_form on an existing form of the template for each field's shape. Each call creates another form. POST /v2/formz.

ParameterTypeDescription
template_id *stringTemplate id (a GUID).
assign_to_idstringUser or group id (a GUID).
assign_to_typestringAssign the form to a User or a Group (needs assign_to_id).
fieldsobjectField values keyed by field name or id, for example {"PO #": {"value": "1223333"}, "Customer": {"text": "Acme"}}.
namestringForm name. Ignored unless override_default_form_name is true: GoFormz names forms by the template's rule.
override_default_form_namebooleanUse `name` instead of the template's automatic form name (default false).

goformz_update_form Update a form

WRITE: change a form's name and/or field values (partial update: only the fields given change; a null value clears a field). Does NOT change the status and does not trigger workflows; to re-run completion workflows use goformz_set_form_status draft, update, then complete. PATCH /v2/formz/{id}.

ParameterTypeDescription
form_id *stringForm id (a GUID).
fieldsobjectField values keyed by field name or id, for example {"PO #": {"value": "1223333"}}; null clears the field.
namestringNew form name.

goformz_set_form_status Complete or re-open a form

WRITE: mark a form complete (this can trigger the template's completion workflows and webhooks) or re-open it as a draft so it can be edited. POST /v2/formz/{id}/status.

ParameterTypeDescription
form_id *stringForm id (a GUID).
status *stringcomplete to finish the form, draft to re-open it.

goformz_create_datasource_row Add a data source row

WRITE: add a row to a data source. key_column is the lookup key; values are the column values in the data source's column order (see goformz_get_datasource). Each call adds another row. POST /v2/datasources/{dataSourceId}/rows.

ParameterTypeDescription
datasource_id *stringData source id (a GUID).
key_column *stringThe row's lookup key (the value of the key column).
values *arrayColumn values in column order, as strings.

goformz_update_datasource_row Update a data source row

WRITE: replace a data source row's key and values (the whole row is replaced; send every column). PATCH /v2/datasources/{dataSourceId}/rows/{rowId}.

ParameterTypeDescription
datasource_id *stringData source id (a GUID).
key_column *stringThe row's lookup key.
row_id *stringRow id (a GUID).
values *arrayAll column values in column order, as strings.