Gorelo MCP by usefulapi
v1.11.1Read tickets, devices, alerts and invoices; create tickets, add comments, log time in Gorelo.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gorelo_list_clients List clients
List the MSP's clients (customers). Good first call to find a client id. API: GET /v1/clients.
| Parameter | Type | Description |
|---|---|---|
created_since | string | ISO-8601 timestamp, keep clients created at or after it. |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
group_ids | string | Comma-separated client group ids, for example "12,15". |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword to match against the client name. |
status_ids | string | Comma-separated client status ids, for example "12,15". |
updated_since | string | ISO-8601 timestamp, keep clients updated at or after it. |
gorelo_get_client Get a client
Get one client by id with its details. API: GET /v1/clients/{clientId}.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client id (integer, from gorelo_list_clients). |
gorelo_list_client_locations List client locations
List the locations (sites) of one client. API: GET /v1/clients/{clientId}/locations.
| Parameter | Type | Description |
|---|---|---|
client_id * | string | Client id (integer). |
gorelo_list_contacts List contacts
List client contacts (end users). API: GET /v1/contacts.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
location_ids | string | Comma-separated location ids, for example "12,15". |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword matched against email, first name and last name. |
status_ids | string | Comma-separated contact status (1 Active, 3 Temporary, 4 Archived) ids, for example "12,15". |
updated_since | string | ISO-8601 timestamp, keep contacts updated at or after it. |
gorelo_get_contact Get a contact
Get one contact by id. API: GET /v1/contacts/{contactId}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | Contact id (integer, from gorelo_list_contacts). |
gorelo_list_tickets List tickets
List service tickets, newest activity first, with status, priority, client, assignees and SLA. Use the list_ticket_statuses/types/priorities tools to learn the ids for filters. API: GET /v1/tickets.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
closed_since | string | ISO-8601 timestamp, keep tickets closed at or after it. |
contact_ids | string | Comma-separated contact ids, for example "12,15". |
created_before | string | ISO-8601 timestamp, keep tickets created before it. |
created_since | string | ISO-8601 timestamp, keep tickets created at or after it. |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
device_ids | string | Comma-separated agent asset (guid) ids, for example "12,15". |
group_ids | string | Comma-separated technician group ids, for example "12,15". |
lead_assignee_ids | string | Comma-separated technician (lead assignee) ids, for example "12,15". |
page_size | integer | Items per page, 1-200 (default 50). |
priority_ids | string | Comma-separated priority ids, for example "12,15". |
query | string | Keyword matched against the ticket title, number and display number. |
sort_by | string | |
sort_order | string | |
status_ids | string | Comma-separated ticket status ids, for example "12,15". |
tag_ids | string | Comma-separated tag ids, for example "12,15". |
type_ids | string | Comma-separated ticket type ids, for example "12,15". |
updated_since | string | ISO-8601 timestamp, keep tickets updated at or after it. |
gorelo_get_ticket Get a ticket
Get one ticket by id (uuid). API: GET /v1/tickets/{ticketId}.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | string | Ticket id (uuid, from gorelo_list_tickets). |
gorelo_list_ticket_comments List ticket comments
List the comments (public replies, private notes) on a ticket. API: GET /v1/tickets/{ticketId}/comments.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | string | Ticket id (uuid). |
conversation_id | string | Filter to one conversation id (from the ticket's conversations). |
conversation_type | string | Conversation kinds to include: 1 Public, 2 Private, 3 Side Conversation, 4 Approval. Comma-separated, or a single value together with conversation_id. |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
page_size | integer | Items per page, 1-200 (default 50). |
sort_order | string |
gorelo_list_ticket_statuses List ticket statuses
List the ticket statuses (id and name) used to filter or update tickets. API: GET /v1/tickets/statuses.
gorelo_list_ticket_types List ticket types
List the ticket types. API: GET /v1/tickets/types.
gorelo_list_ticket_priorities List ticket priorities
List the ticket priorities. API: GET /v1/tickets/priorities.
gorelo_list_agent_assets List managed devices
List agent (RMM managed device) assets with status, OS and client. API: GET /v1/assets/agents.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword matched against device name, display name and description. |
status_ids | string | Comma-separated device status (2 Online, 3 Offline, 4 Pending Delete; the API also accepts 1 and 6, see the API docs) ids, for example "12,15". |
updated_since | string | ISO-8601 timestamp, keep devices updated at or after it. |
gorelo_get_agent_asset Get a managed device
Get one managed device by id (guid). API: GET /v1/assets/agents/{agentAssetId}.
| Parameter | Type | Description |
|---|---|---|
agent_asset_id * | string | Agent asset id (guid, from gorelo_list_agent_assets). |
gorelo_get_agent_hardware Get device hardware
Get a managed device's processors, memory and disks. API: GET /v1/assets/agents/{agentAssetId}/hardware.
| Parameter | Type | Description |
|---|---|---|
agent_asset_id * | string | Agent asset id (guid). |
gorelo_list_agent_pending_updates List device pending updates
List the Windows updates pending on a managed device, from its last scan (no new scan starts). API: GET /v1/assets/agents/{agentAssetId}/patches/available.
| Parameter | Type | Description |
|---|---|---|
agent_asset_id * | string | Agent asset id (guid) of a Windows agent. |
gorelo_list_custom_assets List custom assets
List custom (non-agent) assets such as printers, switches and licences. API: GET /v1/assets/custom.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword matched against the asset name. |
updated_since | string | ISO-8601 timestamp, keep assets updated at or after it. |
gorelo_list_alerts List alerts
List alerts (uptime, script, external, ...) newest first. API: GET /v1/alerts.
| Parameter | Type | Description |
|---|---|---|
agent_asset_ids | string | Comma-separated agent asset (guid) ids, for example "12,15". |
client_ids | string | Comma-separated client ids, for example "12,15". |
created_before | string | ISO-8601 timestamp, keep alerts raised before it. |
created_since | string | ISO-8601 timestamp, keep alerts raised at or after it. |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
page_size | integer | Items per page, 1-200 (default 50). |
sort_order | string | |
status_ids | string | Comma-separated alert status (1 New, 2 Dismissed, 3 Ticketed) ids, for example "12,15". |
type_ids | string | Comma-separated alert type (1 Uptime, 2 API, 3 Script, 4 External, ...) ids, for example "12,15". |
gorelo_get_alert Get an alert
Get one alert by id (guid). API: GET /v1/alerts/{alertId}.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | Alert id (guid, from gorelo_list_alerts). |
gorelo_list_projects List projects
List projects with status, client and lead. API: GET /v1/projects.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword matched against the project name. |
sort_by | string | Sort field, for example updatedOn or createdOn. |
sort_order | string | |
status_ids | string | Comma-separated project status ids, for example "12,15". |
updated_since | string | ISO-8601 timestamp, keep projects updated at or after it. |
gorelo_list_project_tasks List project tasks
List the tasks of one project. API: GET /v1/projects/{projectId}/tasks.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id (guid, from gorelo_list_projects). |
assignee_ids | string | Comma-separated technician ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
incomplete_only | boolean | When true, drop tasks in the Done status. |
page_size | integer | Items per page, 1-200 (default 50). |
sort_by | string | |
sort_order | string | |
status_ids | string | Comma-separated task status (1 Not started, 2 Working on it, 3 On hold, 4 Done) ids, for example "12,15". |
gorelo_list_time_entries List time entries
List logged time across tickets and tasks. API: GET /v1/time-entries.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
invoice_ids | string | Comma-separated invoice ids, for example "12,15". |
page_size | integer | Items per page, 1-200 (default 50). |
started_before | string | ISO-8601 timestamp, keep entries whose work started before it. |
started_since | string | ISO-8601 timestamp, keep entries whose work started at or after it. |
task_ids | string | Comma-separated task (guid) ids, for example "12,15". |
ticket_ids | string | Comma-separated ticket (uuid) ids, for example "12,15". |
user_ids | string | Comma-separated user ids, for example "12,15". |
gorelo_list_invoices List invoices
List invoices with status, totals and client. API: GET /v1/invoices.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
contract_ids | string | Comma-separated contract ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
due_date_before | string | Date (yyyy-mm-dd): invoices due before it (find overdue invoices). |
invoice_date_before | string | Date (yyyy-mm-dd): invoices dated before it. |
invoice_date_since | string | Date (yyyy-mm-dd): invoices dated at or after it. |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Free text matched against invoice number, reference and name. |
sort_by | string | |
sort_order | string | |
status_ids | string | Comma-separated invoice status (1 Draft, 2 Submitted, 3 Paid, 4 Void, 5 Approved) ids, for example "12,15". |
gorelo_get_invoice Get an invoice
Get one invoice with its line items and attachments. API: GET /v1/invoices/{invoiceId}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | Invoice id (from gorelo_list_invoices). |
gorelo_list_contracts List contracts
List billing contracts with their service lines. API: GET /v1/contracts.
| Parameter | Type | Description |
|---|---|---|
client_ids | string | Comma-separated client ids, for example "12,15". |
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword matched against the contract name. |
status_ids | string | Comma-separated contract status ids, for example "12,15". |
gorelo_list_users List technicians
List users (technicians) with role and status; use their ids as assignee ids. API: GET /v1/organization/users.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page. |
group_ids | string | Comma-separated technician group ids, for example "12,15". |
page_size | integer | Items per page, 1-200 (default 50). |
query | string | Keyword matched against the user name or email. |
status_ids | string | Comma-separated user status ids, for example "12,15". |
gorelo_list_groups List technician groups
List technician groups (ids are needed to create a ticket). API: GET /v1/organization/groups.
gorelo_create_ticket Create a ticket
WRITE: create a service ticket. Needs status_id, group_id and type_id (use gorelo_list_ticket_statuses, gorelo_list_groups, gorelo_list_ticket_types). Set send_created_email true only if the contact must get a 'ticket created' email. API: POST /v1/tickets.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Technician group id. |
status_id * | integer | Initial status id. |
title * | string | Ticket title. |
type_id * | integer | Ticket type id. |
agent_asset_ids | array | Managed device ids (guid) to link. |
client_id | integer | |
contact_id | integer | |
description | string | Ticket body as HTML. Plain text is wrapped in a paragraph. Send < and > as < and >. |
lead_assignee_id | integer | Technician id. |
location_id | integer | Needs client_id. |
priority_id | integer | |
send_created_email | boolean | Email the contact that the ticket was created (default false). |
source_id | integer | |
tag_ids | array |
gorelo_update_ticket Update a ticket
WRITE: change fields of a ticket (status, priority, assignee, title, tags). Only the fields you send change. Each change notifies and logs as in the app. Changing the client clears the ticket's contact and assets. API: PATCH /v1/tickets/{ticketId}.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | string | Ticket id (uuid). |
client_id | integer | |
contact_id | integer | |
lead_assignee_id | integer | Technician id. Send 0 to unassign. |
priority_id | integer | |
status_id | integer | |
tag_ids | array | Replaces the whole tag list; [] clears it. |
title | string | |
type_id | integer |
gorelo_add_ticket_comment Add a ticket comment
WRITE: add a comment to a ticket's main thread. A 'public' comment is a reply the client sees and may be emailed to them; a 'private' comment is an internal note. Do not retry after an unclear error: that can post twice. API: POST /v1/tickets/{ticketId}/comments.
| Parameter | Type | Description |
|---|---|---|
body * | string | Comment body as HTML. Send < and > in text as < and >. |
ticket_id * | string | Ticket id (uuid). |
visibility * | string | public = visible to the client; private = internal note. |
gorelo_update_alert_status Update an alert status
WRITE: dismiss an alert, restore it to New, or link it to an open ticket (status 'ticketed' needs ticket_id). The change applies to the alert's whole stack, as in the app. API: PATCH /v1/alerts/{alertId}.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | Alert id (guid). |
status * | string | |
ticket_id | string | Open ticket id (uuid). Required when status is ticketed. |
gorelo_log_time_entry Log time on a ticket
WRITE: log work time against a ticket (or a project task). Give any two of started_on, ended_on and actual_hours (the API derives the third). Billing role, work type and billable status default from the ticket. Do not retry after an unclear error: that can log twice. API: POST /v1/time-entries.
| Parameter | Type | Description |
|---|---|---|
actual_hours | number | Hours worked, decimal. |
billable_status_id | integer | 1 Billable, 2 No charge, 3 Non-billable. |
comment | string | Note that describes the work. |
ended_on | string | ISO-8601 UTC end of the work. |
started_on | string | ISO-8601 UTC start of the work. |
task_id | string | Project task id (guid). Send this or ticket_id. |
ticket_id | string | Ticket id (uuid). Send this or task_id. |
user_id | integer | Technician id the time belongs to. |