Gladly MCP by usefulapi

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

Find customers, read conversations, items and tasks; add internal notes in Gladly.

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

gladly_get_organization Get the organization

Get metadata about the Gladly organization: id, name, login domain, time zone, URL. Gladly API: GET /api/v1/organization.

gladly_list_agents List agents

List the agents (support users) with id, name and email address. Gladly API: GET /api/v1/agents.

gladly_get_agent Get an agent

Get one agent profile by id. Gladly API: GET /api/v1/agents/{agentId}.

ParameterTypeDescription
agent_id *stringThe agent id (from gladly_list_agents).

gladly_list_inboxes List inboxes

List the inboxes with id, name and disabled state. Gladly API: GET /api/v1/inboxes.

gladly_get_inbox Get an inbox

Get the metadata of one inbox by id. Gladly API: GET /api/v1/inboxes/{inboxId}.

ParameterTypeDescription
inbox_id *stringThe inbox id (from gladly_list_inboxes).

gladly_list_topics List topics

List the conversation topics (id, name, parentId, disabled). Use it to turn the topicIds of a conversation into names. Gladly API: GET /api/v1/topics.

gladly_list_audiences List audiences

List the audiences used to target answers (id, name). Gladly API: GET /api/v1/audiences.

gladly_find_customers Find customers

Find customer profiles by EXACTLY ONE identifier: email, phone number (E.164, for example +16505551987) or externalCustomerId. Returns at most 50 profiles, newest update first. Gladly API: GET /api/v1/customer-profiles.

ParameterTypeDescription
emailstringCustomer email address.
external_customer_idstringCustomer id in your own system of record (only for older Lookup Adaptors).
phone_numberstringPhone number in E.164 format, for example +16505551987.

gladly_get_customer Get a customer

Get one customer profile by id: name, emails, phones, address, custom attributes. Gladly API: GET /api/v1/customer-profiles/{customerId}.

ParameterTypeDescription
customer_id *stringThe customer id (from gladly_find_customers).

gladly_list_customer_conversations List conversations of a customer

List the conversations of one customer, oldest first (at most 100; the reply says if it was cut). Each has topics, status and assignee. Gladly API: GET /api/v1/customers/{customerId}/conversations.

ParameterTypeDescription
customer_id *stringThe customer id (from gladly_find_customers).

gladly_get_conversation Get a conversation

Get the metadata of one conversation: assignee, inbox, topics, custom attributes, status. A merged conversation returns the surviving one. Gladly API: GET /api/v1/conversations/{conversationId}.

ParameterTypeDescription
conversation_id *stringThe conversation id (from gladly_list_customer_conversations).

gladly_list_conversation_items List the timeline of a conversation

List the timeline items of a conversation (messages, emails, calls, notes), oldest first, at most 1000. Gladly API: GET /api/v1/conversations/{conversationId}/items.

ParameterTypeDescription
conversation_id *stringThe conversation id.
session_idstringOnly items of this session id.

gladly_get_conversation_item Get a conversation item

Get one conversation item (message, email, note, call) by id. Gladly API: GET /api/v1/conversation-items/{itemId}.

ParameterTypeDescription
item_id *stringThe item id (from gladly_list_conversation_items).

gladly_list_customer_tasks List tasks of a customer

List the tasks of one customer, newest first (at most 2000), optionally only OPEN or CLOSED. Gladly API: GET /api/v1/customers/{customerId}/tasks.

ParameterTypeDescription
customer_id *stringThe customer id.
statusstringOnly tasks with this status.

gladly_get_task Get a task

Get one task by id: body, assignee, due date, status, topics. Gladly API: GET /api/v1/tasks/{taskId}.

ParameterTypeDescription
task_id *stringThe task id (from gladly_list_customer_tasks).

gladly_add_conversation_note Add an internal note to a conversation

WRITE: add an internal note to a conversation. The note is for agents only; the customer does not see it. Each call adds a NEW note, so do not repeat a call that succeeded. Gladly API: POST /api/v1/conversations/{conversationId}/notes.

ParameterTypeDescription
body *stringPlain text of the note.
conversation_id *stringThe conversation id.