Gorelo MCP by usefulapi

v1.11.1
io.usefulapi/gorelo Checked 2 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
created_sincestringISO-8601 timestamp, keep clients created at or after it.
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
group_idsstringComma-separated client group ids, for example "12,15".
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword to match against the client name.
status_idsstringComma-separated client status ids, for example "12,15".
updated_sincestringISO-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}.

ParameterTypeDescription
client_id *stringClient 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.

ParameterTypeDescription
client_id *stringClient id (integer).

gorelo_list_contacts List contacts

List client contacts (end users). API: GET /v1/contacts.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
location_idsstringComma-separated location ids, for example "12,15".
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword matched against email, first name and last name.
status_idsstringComma-separated contact status (1 Active, 3 Temporary, 4 Archived) ids, for example "12,15".
updated_sincestringISO-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}.

ParameterTypeDescription
contact_id *stringContact 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.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
closed_sincestringISO-8601 timestamp, keep tickets closed at or after it.
contact_idsstringComma-separated contact ids, for example "12,15".
created_beforestringISO-8601 timestamp, keep tickets created before it.
created_sincestringISO-8601 timestamp, keep tickets created at or after it.
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
device_idsstringComma-separated agent asset (guid) ids, for example "12,15".
group_idsstringComma-separated technician group ids, for example "12,15".
lead_assignee_idsstringComma-separated technician (lead assignee) ids, for example "12,15".
page_sizeintegerItems per page, 1-200 (default 50).
priority_idsstringComma-separated priority ids, for example "12,15".
querystringKeyword matched against the ticket title, number and display number.
sort_bystring
sort_orderstring
status_idsstringComma-separated ticket status ids, for example "12,15".
tag_idsstringComma-separated tag ids, for example "12,15".
type_idsstringComma-separated ticket type ids, for example "12,15".
updated_sincestringISO-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}.

ParameterTypeDescription
ticket_id *stringTicket 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.

ParameterTypeDescription
ticket_id *stringTicket id (uuid).
conversation_idstringFilter to one conversation id (from the ticket's conversations).
conversation_typestringConversation kinds to include: 1 Public, 2 Private, 3 Side Conversation, 4 Approval. Comma-separated, or a single value together with conversation_id.
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
page_sizeintegerItems per page, 1-200 (default 50).
sort_orderstring

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.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword matched against device name, display name and description.
status_idsstringComma-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_sincestringISO-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}.

ParameterTypeDescription
agent_asset_id *stringAgent 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.

ParameterTypeDescription
agent_asset_id *stringAgent 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.

ParameterTypeDescription
agent_asset_id *stringAgent 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.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword matched against the asset name.
updated_sincestringISO-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.

ParameterTypeDescription
agent_asset_idsstringComma-separated agent asset (guid) ids, for example "12,15".
client_idsstringComma-separated client ids, for example "12,15".
created_beforestringISO-8601 timestamp, keep alerts raised before it.
created_sincestringISO-8601 timestamp, keep alerts raised at or after it.
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
page_sizeintegerItems per page, 1-200 (default 50).
sort_orderstring
status_idsstringComma-separated alert status (1 New, 2 Dismissed, 3 Ticketed) ids, for example "12,15".
type_idsstringComma-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}.

ParameterTypeDescription
alert_id *stringAlert id (guid, from gorelo_list_alerts).

gorelo_list_projects List projects

List projects with status, client and lead. API: GET /v1/projects.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword matched against the project name.
sort_bystringSort field, for example updatedOn or createdOn.
sort_orderstring
status_idsstringComma-separated project status ids, for example "12,15".
updated_sincestringISO-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.

ParameterTypeDescription
project_id *stringProject id (guid, from gorelo_list_projects).
assignee_idsstringComma-separated technician ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
incomplete_onlybooleanWhen true, drop tasks in the Done status.
page_sizeintegerItems per page, 1-200 (default 50).
sort_bystring
sort_orderstring
status_idsstringComma-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.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
invoice_idsstringComma-separated invoice ids, for example "12,15".
page_sizeintegerItems per page, 1-200 (default 50).
started_beforestringISO-8601 timestamp, keep entries whose work started before it.
started_sincestringISO-8601 timestamp, keep entries whose work started at or after it.
task_idsstringComma-separated task (guid) ids, for example "12,15".
ticket_idsstringComma-separated ticket (uuid) ids, for example "12,15".
user_idsstringComma-separated user ids, for example "12,15".

gorelo_list_invoices List invoices

List invoices with status, totals and client. API: GET /v1/invoices.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
contract_idsstringComma-separated contract ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
due_date_beforestringDate (yyyy-mm-dd): invoices due before it (find overdue invoices).
invoice_date_beforestringDate (yyyy-mm-dd): invoices dated before it.
invoice_date_sincestringDate (yyyy-mm-dd): invoices dated at or after it.
page_sizeintegerItems per page, 1-200 (default 50).
querystringFree text matched against invoice number, reference and name.
sort_bystring
sort_orderstring
status_idsstringComma-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}.

ParameterTypeDescription
invoice_id *stringInvoice id (from gorelo_list_invoices).

gorelo_list_contracts List contracts

List billing contracts with their service lines. API: GET /v1/contracts.

ParameterTypeDescription
client_idsstringComma-separated client ids, for example "12,15".
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword matched against the contract name.
status_idsstringComma-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.

ParameterTypeDescription
cursorstringCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
group_idsstringComma-separated technician group ids, for example "12,15".
page_sizeintegerItems per page, 1-200 (default 50).
querystringKeyword matched against the user name or email.
status_idsstringComma-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.

ParameterTypeDescription
group_id *integerTechnician group id.
status_id *integerInitial status id.
title *stringTicket title.
type_id *integerTicket type id.
agent_asset_idsarrayManaged device ids (guid) to link.
client_idinteger
contact_idinteger
descriptionstringTicket body as HTML. Plain text is wrapped in a paragraph. Send < and > as &lt; and &gt;.
lead_assignee_idintegerTechnician id.
location_idintegerNeeds client_id.
priority_idinteger
send_created_emailbooleanEmail the contact that the ticket was created (default false).
source_idinteger
tag_idsarray

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}.

ParameterTypeDescription
ticket_id *stringTicket id (uuid).
client_idinteger
contact_idinteger
lead_assignee_idintegerTechnician id. Send 0 to unassign.
priority_idinteger
status_idinteger
tag_idsarrayReplaces the whole tag list; [] clears it.
titlestring
type_idinteger

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.

ParameterTypeDescription
body *stringComment body as HTML. Send < and > in text as &lt; and &gt;.
ticket_id *stringTicket id (uuid).
visibility *stringpublic = 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}.

ParameterTypeDescription
alert_id *stringAlert id (guid).
status *string
ticket_idstringOpen 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.

ParameterTypeDescription
actual_hoursnumberHours worked, decimal.
billable_status_idinteger1 Billable, 2 No charge, 3 Non-billable.
commentstringNote that describes the work.
ended_onstringISO-8601 UTC end of the work.
started_onstringISO-8601 UTC start of the work.
task_idstringProject task id (guid). Send this or ticket_id.
ticket_idstringTicket id (uuid). Send this or task_id.
user_idintegerTechnician id the time belongs to.