LiveAgent MCP by usefulapi

v1.2.1
io.usefulapi/liveagent Checked 3 days ago Published 1 day ago

Read tickets, SLA state and contacts, and create or update tickets in LiveAgent.

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

liveagent_get_api_privileges Get API key privileges

Show which permissions the connected API key has. Use it first to see which tools the key can call. GET /api/privileges.

liveagent_list_tickets List tickets

List tickets with status, department, agent, subject and dates. Use filters for status, department or dates, because one query returns at most 10 000 records. GET /tickets.

ParameterTypeDescription
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_get_ticket Get a ticket

Get one ticket with its status, department, agent, tags and custom fields. GET /tickets/{ticketId}.

ParameterTypeDescription
ticketId *stringThe ticket id (from liveagent_list_tickets).

liveagent_get_ticket_messages Get ticket messages

Get the message groups (conversation messages) of one ticket. GET /tickets/{ticketId}/messages.

ParameterTypeDescription
ticketId *stringThe ticket id (from liveagent_list_tickets).
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
includeQuotedMessagesbooleanInclude quoted text from earlier messages.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_get_ticket_history Get ticket history

Get the change history (status, agent and department changes) of one ticket. GET /tickets/{ticketId}/history.

ParameterTypeDescription
ticketId *stringThe ticket id (from liveagent_list_tickets).

liveagent_get_ticket_sla Get ticket SLA

Get the SLA (service level) state of one ticket: due times and breaches. GET /tickets/{ticketId}/sla.

ParameterTypeDescription
ticketId *stringThe ticket id (from liveagent_list_tickets).

liveagent_list_contacts List contacts

List customer contacts (requesters) with their name, email and company. GET /contacts.

ParameterTypeDescription
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_get_contact Get a contact

Get one customer contact with its details and custom fields. GET /contacts/{contactId}.

ParameterTypeDescription
contactId *stringThe contact id (from liveagent_list_contacts).

liveagent_list_agents List agents

List support agents (staff users) with their names, roles and status. GET /agents.

ParameterTypeDescription
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_get_agent Get an agent

Get one agent with their departments, groups and settings. GET /agents/{userId}.

ParameterTypeDescription
userId *stringThe agent user id (from liveagent_list_agents).

liveagent_list_departments List departments

List departments (queues that tickets are routed to). GET /departments.

ParameterTypeDescription
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_list_groups List agent groups

List agent groups (teams of agents used for routing and permissions). GET /groups.

liveagent_list_companies List companies

List customer companies (organizations that contacts belong to). GET /companies.

ParameterTypeDescription
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_list_tags List tags

List ticket tags that agents use to label and filter tickets. GET /tags.

liveagent_list_predefined_answers List predefined answers

List predefined answers (saved reply templates) that agents insert into tickets. GET /predefined_answers.

ParameterTypeDescription
filtersstringFilter as a JSON object, e.g. {"status":"N"}, or a JSON array of [column, operator, value] triples.
fromintegerResult set start offset. Takes precedence over page.
pageintegerPage number, used with perPage.
perPageintegerResults per page.
sortDirstringSort direction.
sortFieldstringField to sort by, as the vendor reference names it.
tointegerResult set end offset. Used with from.

liveagent_create_ticket Create a ticket

Create a ticket for a customer. By default it sends no email to the customer (doNotSendMail is Y); set it to N only when the user asks to notify the customer. POST /tickets.

ParameterTypeDescription
departmentid *stringDepartment id the ticket goes to (from liveagent_list_departments).
message *stringFirst message text of the ticket.
recipient *stringCustomer email address.
subject *stringTicket subject.
useridentifier *stringSender identifier that the vendor's create-ticket body requires (see the vendor reference).
doNotSendMailstringY = do not email the customer (default). N = email the customer.
recipientNamestringCustomer name.
statusstringInitial status code.
tagsarrayTags to add.

liveagent_update_ticket Update a ticket

Change a ticket's status, department, agent, subject or tags. Only the fields you pass change. PUT /tickets/{ticketId}.

ParameterTypeDescription
ticketId *stringThe ticket id (from liveagent_list_tickets).
agentidstringNew agent user id.
departmentidstringNew department id.
statusstringTicket status code (I, N, T, P, R or X).
subjectstringNew subject.
tagsarrayReplace the tag list with these tags.