Trengo MCP by usefulapi is an MCP server published by io.usefulapi, hosted at trengo.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 24 tools, including trengo_list_tickets, trengo_list_ticket_messages, trengo_get_email_message, trengo_list_contacts, trengo_get_contact.
Work tickets and messages, look up contacts and teams, pull reports, and reply, assign or close.
4,407 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List tickets (conversations) visible to the token's user, newest activity first, with channel and latest message. Filter by status, contact, assignee, channel, label, last message direction or update time. Trengo: GET /tickets.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
| sort | string | By last message time: -date newest first (default), date oldest first. |
| users | array | Only these assigned user ids. |
| labels | array | Only these label ids. |
| status | string | Only tickets in this status. INVALID = spam. |
| channels | array | Only these channel ids. |
| contact_id | integer | Only tickets of this contact. |
| updated_at_gt | string | Only tickets updated after this date-time. |
| last_message_type | string | Only tickets whose last message was INBOUND or OUTBOUND. |
{
"name": "trengo_list_tickets",
"title": "List tickets",
"description": "List tickets (conversations) visible to the token's user, newest activity first, with channel and latest message. Filter by status, contact, assignee, channel, label, last message direction or update time. Trengo: GET /tickets.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
},
"sort": {
"enum": [
"-date",
"date"
],
"type": "string",
"description": "By last message time: -date newest first (default), date oldest first."
},
"users": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these assigned user ids."
},
"labels": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these label ids."
},
"status": {
"enum": [
"OPEN",
"ASSIGNED",
"CLOSED",
"INVALID"
],
"type": "string",
"description": "Only tickets in this status. INVALID = spam."
},
"channels": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these channel ids."
},
"contact_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only tickets of this contact.",
"exclusiveMinimum": 0
},
"updated_at_gt": {
"type": "string",
"description": "Only tickets updated after this date-time."
},
"last_message_type": {
"enum": [
"INBOUND",
"OUTBOUND"
],
"type": "string",
"description": "Only tickets whose last message was INBOUND or OUTBOUND."
}
}
},
"annotations": {
"title": "List tickets",
"readOnlyHint": true
}
}List the messages of one ticket — inbound, outbound and internal notes — with the contact or agent behind each. Trengo: GET /tickets/{ticket_id}/messages.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
| ticket_id * | integer | The ticket id. |
{
"name": "trengo_list_ticket_messages",
"title": "List a ticket's messages",
"description": "List the messages of one ticket — inbound, outbound and internal notes — with the contact or agent behind each. Trengo: GET /tickets/{ticket_id}/messages.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
},
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The ticket id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List a ticket's messages",
"readOnlyHint": true
}
}Fetch the full email behind one message of a ticket: original HTML body, from, to, subject and Message-ID. The message must be an email message. Trengo: GET /tickets/{ticket_id}/full_email_messages/{message_id}.
| Parameter | Type | Description |
|---|---|---|
| ticket_id * | integer | The ticket id. |
| message_id * | integer | The message id. |
{
"name": "trengo_get_email_message",
"title": "Get an email message",
"description": "Fetch the full email behind one message of a ticket: original HTML body, from, to, subject and Message-ID. The message must be an email message. Trengo: GET /tickets/{ticket_id}/full_email_messages/{message_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id",
"message_id"
],
"properties": {
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The ticket id.",
"exclusiveMinimum": 0
},
"message_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The message id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get an email message",
"readOnlyHint": true
}
}List contacts, or search them by name, email or phone number. Trengo: GET /contacts.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
| term | string | Search term, matched on email, phone number and name. |
| include_last_interaction | boolean | Also return each contact's last interaction. |
{
"name": "trengo_list_contacts",
"title": "List or search contacts",
"description": "List contacts, or search them by name, email or phone number. Trengo: GET /contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
},
"term": {
"type": "string",
"description": "Search term, matched on email, phone number and name."
},
"include_last_interaction": {
"type": "boolean",
"description": "Also return each contact's last interaction."
}
}
},
"annotations": {
"title": "List or search contacts",
"readOnlyHint": true
}
}Fetch one contact with name, email, phone and custom field data, optionally with notes. Trengo: GET /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
| contact_id * | integer | The contact id. |
| include_notes | boolean | Also return the contact's notes. |
{
"name": "trengo_get_contact",
"title": "Get a contact",
"description": "Fetch one contact with name, email, phone and custom field data, optionally with notes. Trengo: GET /contacts/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_id"
],
"properties": {
"contact_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The contact id.",
"exclusiveMinimum": 0
},
"include_notes": {
"type": "boolean",
"description": "Also return the contact's notes."
}
}
},
"annotations": {
"title": "Get a contact",
"readOnlyHint": true
}
}List the contact groups in the account — use their ids with trengo_update_contact. Trengo: GET /contact_groups.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
{
"name": "trengo_list_contact_groups",
"title": "List contact groups",
"description": "List the contact groups in the account — use their ids with trengo_update_contact. Trengo: GET /contact_groups.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
}
}
},
"annotations": {
"title": "List contact groups",
"readOnlyHint": true
}
}List the agents (users) in the Trengo account — use their ids to assign tickets or filter. Trengo: GET /users.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
| sort | string | Sort column (default id). |
{
"name": "trengo_list_users",
"title": "List users",
"description": "List the agents (users) in the Trengo account — use their ids to assign tickets or filter. Trengo: GET /users.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
},
"sort": {
"enum": [
"id",
"first_name",
"last_name",
"created_at"
],
"type": "string",
"description": "Sort column (default id)."
}
}
},
"annotations": {
"title": "List users",
"readOnlyHint": true
}
}List the teams in the account — use their ids to assign tickets to a team. Trengo: GET /teams.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
{
"name": "trengo_list_teams",
"title": "List teams",
"description": "List the teams in the account — use their ids to assign tickets to a team. Trengo: GET /teams.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
}
}
},
"annotations": {
"title": "List teams",
"readOnlyHint": true
}
}List the ticket labels (tags) in the account, for filtering tickets and reports. Trengo: GET /labels.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
{
"name": "trengo_list_labels",
"title": "List labels",
"description": "List the ticket labels (tags) in the account, for filtering tickets and reports. Trengo: GET /labels.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
}
}
},
"annotations": {
"title": "List labels",
"readOnlyHint": true
}
}List the ticket results (closing outcomes, e.g. 'Resolved', 'Sale') that can be applied when closing a ticket. Trengo: GET /ticket_results.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
{
"name": "trengo_list_ticket_results",
"title": "List ticket results",
"description": "List the ticket results (closing outcomes, e.g. 'Resolved', 'Sale') that can be applied when closing a ticket. Trengo: GET /ticket_results.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
}
}
},
"annotations": {
"title": "List ticket results",
"readOnlyHint": true
}
}List the custom fields defined for tickets, contacts and profiles. Trengo: GET /custom_fields.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
{
"name": "trengo_list_custom_fields",
"title": "List custom fields",
"description": "List the custom fields defined for tickets, contacts and profiles. Trengo: GET /custom_fields.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
}
}
},
"annotations": {
"title": "List custom fields",
"readOnlyHint": true
}
}List the saved quick replies (canned responses), optionally only the messaging or email ones — useful for drafting consistent answers. Trengo: GET /quick_replies.
| Parameter | Type | Description |
|---|---|---|
| type | string | Only quick replies of this type. |
{
"name": "trengo_list_quick_replies",
"title": "List quick replies",
"description": "List the saved quick replies (canned responses), optionally only the messaging or email ones — useful for drafting consistent answers. Trengo: GET /quick_replies.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"MESSAGING",
"EMAIL"
],
"type": "string",
"description": "Only quick replies of this type."
}
}
},
"annotations": {
"title": "List quick replies",
"readOnlyHint": true
}
}Aggregate support metrics over a period: new, created, assigned, closed and reopened tickets, average first response time and average total resolution time (seconds). Filter by team, channel, label or direction. Trengo: GET /reporting/metrics.
| Parameter | Type | Description |
|---|---|---|
| metrics * | array | Which metrics to return. |
| end_date | string | Period end as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| team_ids | array | Only these team ids. |
| direction | string | Only INBOUND or OUTBOUND conversations. |
| label_ids | array | Only these label ids. |
| start_date | string | Period start as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| channel_ids | array | Only these channel ids. |
{
"name": "trengo_get_reporting_metrics",
"title": "Get reporting metrics",
"description": "Aggregate support metrics over a period: new, created, assigned, closed and reopened tickets, average first response time and average total resolution time (seconds). Filter by team, channel, label or direction. Trengo: GET /reporting/metrics.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"metrics"
],
"properties": {
"metrics": {
"type": "array",
"items": {
"enum": [
"new_tickets",
"assigned_tickets",
"average_total_resolution_time",
"average_first_response_time",
"created_tickets",
"closed_tickets",
"reopened_tickets"
],
"type": "string"
},
"minItems": 1,
"description": "Which metrics to return."
},
"end_date": {
"type": "string",
"description": "Period end as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"team_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these team ids."
},
"direction": {
"enum": [
"INBOUND",
"OUTBOUND"
],
"type": "string",
"description": "Only INBOUND or OUTBOUND conversations."
},
"label_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these label ids."
},
"start_date": {
"type": "string",
"description": "Period start as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"channel_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these channel ids."
}
}
},
"annotations": {
"title": "Get reporting metrics",
"readOnlyHint": true
}
}Per-agent performance over a period: messages sent, notes, tickets assigned and closed, average first response and resolution times (with and without business hours). Trengo: GET /reporting/agent_performance.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
| end_date | string | Period end as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| team_ids | array | Only these team ids. |
| user_ids | array | Only these user ids. |
| label_ids | array | Only these label ids. |
| start_date | string | Period start as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| channel_ids | array | Only these channel ids. |
{
"name": "trengo_get_agent_performance",
"title": "Get agent performance",
"description": "Per-agent performance over a period: messages sent, notes, tickets assigned and closed, average first response and resolution times (with and without business hours). Trengo: GET /reporting/agent_performance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
},
"end_date": {
"type": "string",
"description": "Period end as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"team_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these team ids."
},
"user_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these user ids."
},
"label_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these label ids."
},
"start_date": {
"type": "string",
"description": "Period start as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"channel_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these channel ids."
}
}
},
"annotations": {
"title": "Get agent performance",
"readOnlyHint": true
}
}Per-ticket reporting rows: status, assignee, labels, first reply, first resolution and total resolution times (with and without business hours). Filter by team, channel, label, direction, status and created/closed/assigned date ranges; sort by a timing metric. For large accounts page with start_after_ticket_id instead of page. Trengo: GET /reporting/details/ticket.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-based). Omit for the first page. |
| sort_by | string | Sort column. |
| statuses | array | Only tickets in these statuses. |
| team_ids | array | Only these team ids. |
| direction | string | Only INBOUND or OUTBOUND conversations. |
| label_ids | array | Only these label ids. |
| sort_order | string | Sort direction. |
| channel_ids | array | Only these channel ids. |
| closed_end_date | string | Closed-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| created_end_date | string |
Open a new ticket for an existing contact on a channel. Nothing is sent to the customer until you post a message with trengo_send_ticket_message. Trengo: POST /tickets.
| Parameter | Type | Description |
|---|---|---|
| subject | string | Optional subject. |
| channel_id * | integer | The channel id. |
| contact_id * | integer | The contact id. |
{
"name": "trengo_create_ticket",
"title": "Create a ticket",
"description": "Open a new ticket for an existing contact on a channel. Nothing is sent to the customer until you post a message with trengo_send_ticket_message. Trengo: POST /tickets.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"channel_id",
"contact_id"
],
"properties": {
"subject": {
"type": "string",
"description": "Optional subject."
},
"channel_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The channel id.",
"exclusiveMinimum": 0
},
"contact_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The contact id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create a ticket",
"destructiveHint": true
}
}Assign a ticket to a user or a team, with an optional assignment note. Reversible by reassigning. Trengo: POST /tickets/{ticket_id}/assign.
| Parameter | Type | Description |
|---|---|---|
| note | string | Optional assignment note. |
| type * | string | Assign to a user or to a team. |
| team_id | integer | The team id — required when type is team. |
| user_id | integer | The user id — required when type is user. |
| ticket_id * | integer | The ticket id. |
{
"name": "trengo_assign_ticket",
"title": "Assign a ticket",
"description": "Assign a ticket to a user or a team, with an optional assignment note. Reversible by reassigning. Trengo: POST /tickets/{ticket_id}/assign.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id",
"type"
],
"properties": {
"note": {
"type": "string",
"description": "Optional assignment note."
},
"type": {
"enum": [
"user",
"team"
],
"type": "string",
"description": "Assign to a user or to a team."
},
"team_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The team id — required when type is team.",
"exclusiveMinimum": 0
},
"user_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The user id — required when type is user.",
"exclusiveMinimum": 0
},
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The ticket id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Assign a ticket",
"destructiveHint": true
}
}Close a ticket, optionally applying a ticket result (see trengo_list_ticket_results). Reversible with trengo_reopen_ticket. Trengo: POST /tickets/{ticket_id}/close.
| Parameter | Type | Description |
|---|---|---|
| ticket_id * | integer | The ticket id. |
| ticket_result_id | integer | Optional ticket result to apply. |
{
"name": "trengo_close_ticket",
"title": "Close a ticket",
"description": "Close a ticket, optionally applying a ticket result (see trengo_list_ticket_results). Reversible with trengo_reopen_ticket. Trengo: POST /tickets/{ticket_id}/close.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id"
],
"properties": {
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The ticket id.",
"exclusiveMinimum": 0
},
"ticket_result_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Optional ticket result to apply.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Close a ticket",
"destructiveHint": true
}
}Reopen a closed ticket. Trengo: POST /tickets/{ticket_id}/reopen.
| Parameter | Type | Description |
|---|---|---|
| ticket_id * | integer | The ticket id. |
{
"name": "trengo_reopen_ticket",
"title": "Reopen a ticket",
"description": "Reopen a closed ticket. Trengo: POST /tickets/{ticket_id}/reopen.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id"
],
"properties": {
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The ticket id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Reopen a ticket",
"destructiveHint": true
}
}Post a message on a ticket. With internal_note=true it is an internal note visible only to agents. OTHERWISE IT IS DELIVERED TO THE CUSTOMER on the ticket's channel (email, WhatsApp, chat...) and cannot be recalled — confirm the text first. Trengo: POST /tickets/{ticket_id}/messages.
| Parameter | Type | Description |
|---|---|---|
| message * | string | The message. May contain HTML when the channel is email. |
| subject | string | Email channels only. Trengo prefixes it with 'Re:' when replying. |
| ticket_id * | integer | The ticket id. |
| internal_note | boolean | true = internal note for agents only; false/omitted = sent to the customer. |
| attachment_ids | array | Email channels only: ids of previously uploaded attachments. |
{
"name": "trengo_send_ticket_message",
"title": "Send a ticket message",
"description": "Post a message on a ticket. With internal_note=true it is an internal note visible only to agents. OTHERWISE IT IS DELIVERED TO THE CUSTOMER on the ticket's channel (email, WhatsApp, chat...) and cannot be recalled — confirm the text first. Trengo: POST /tickets/{ticket_id}/messages.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id",
"message"
],
"properties": {
"message": {
"type": "string",
"minLength": 1,
"description": "The message. May contain HTML when the channel is email."
},
"subject": {
"type": "string",
"description": "Email channels only. Trengo prefixes it with 'Re:' when replying."
},
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The ticket id.",
"exclusiveMinimum": 0
},
"internal_note": {
"type": "boolean",
"description": "true = internal note for agents only; false/omitted = sent to the customer."
},
"attachment_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Email channels only: ids of previously uploaded attachments."
}
}
},
"annotations": {
"title": "Send a ticket message",
"destructiveHint": true
}
}Create a contact on a channel. The identifier is the contact's address on that channel: an email address for email channels, a phone number for WhatsApp/SMS/voice. Trengo: POST /channels/{channel_id}/contacts.
| Parameter | Type | Description |
|---|---|---|
| name | string | The contact's full name. |
| channel_id * | integer | The channel id. |
| identifier * | string | Email address or phone number, depending on the channel. |
{
"name": "trengo_create_contact",
"title": "Create a contact",
"description": "Create a contact on a channel. The identifier is the contact's address on that channel: an email address for email channels, a phone number for WhatsApp/SMS/voice. Trengo: POST /channels/{channel_id}/contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"channel_id",
"identifier"
],
"properties": {
"name": {
"type": "string",
"description": "The contact's full name."
},
"channel_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The channel id.",
"exclusiveMinimum": 0
},
"identifier": {
"type": "string",
"minLength": 1,
"description": "Email address or phone number, depending on the channel."
}
}
},
"annotations": {
"title": "Create a contact",
"destructiveHint": true
}
}Rename a contact and/or set the contact groups it belongs to. contact_group_ids REPLACES the contact's groups. Trengo: PUT /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
| name | string | The contact's new name. |
| contact_id * | integer | The contact id. |
| contact_group_ids | array | The full set of contact group ids (replaces the current groups). |
{
"name": "trengo_update_contact",
"title": "Update a contact",
"description": "Rename a contact and/or set the contact groups it belongs to. contact_group_ids REPLACES the contact's groups. Trengo: PUT /contacts/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_id"
],
"properties": {
"name": {
"type": "string",
"description": "The contact's new name."
},
"contact_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The contact id.",
"exclusiveMinimum": 0
},
"contact_group_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "The full set of contact group ids (replaces the current groups)."
}
}
},
"annotations": {
"title": "Update a contact",
"destructiveHint": true
}
}Create a card (e.g. a deal or task) in a stage of a Trengo board. The board id is in the board's URL in Trengo. Trengo: POST /boards/{boardId}/cards.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The card's name. |
| board_id * | integer | The board id. |
| stage_id * | integer | The stage id. |
| description | string | The card's description. |
{
"name": "trengo_create_board_card",
"title": "Create a board card",
"description": "Create a card (e.g. a deal or task) in a stage of a Trengo board. The board id is in the board's URL in Trengo. Trengo: POST /boards/{boardId}/cards.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"board_id",
"stage_id",
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "The card's name."
},
"board_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The board id.",
"exclusiveMinimum": 0
},
"stage_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The stage id.",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"description": "The card's description."
}
}
},
"annotations": {
"title": "Create a board card",
"destructiveHint": true
}
}Partially update a board card: rename it, move it to another stage, or set its users (owners) and contacts (leads). user_ids / contact_ids replace the current sets. Trengo: PUT /boards/{boardId}/cards/{cardId}.
| Parameter | Type | Description |
|---|---|---|
| name | string | The card's new name. |
| card_id * | integer | The card id. |
| board_id * | integer | The board id. |
| stage_id | integer | Move the card to this stage. |
| user_ids | array | Trengo user ids on the card, e.g. deal owners (replaces the set). |
| contact_ids | array | Trengo contact ids on the card, e.g. leads (replaces the set). |
{
"name": "trengo_update_board_card",
"title": "Update a board card",
"description": "Partially update a board card: rename it, move it to another stage, or set its users (owners) and contacts (leads). user_ids / contact_ids replace the current sets. Trengo: PUT /boards/{boardId}/cards/{cardId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"board_id",
"card_id"
],
"properties": {
"name": {
"type": "string",
"description": "The card's new name."
},
"card_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The card id.",
"exclusiveMinimum": 0
},
"board_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The board id.",
"exclusiveMinimum": 0
},
"stage_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Move the card to this stage.",
"exclusiveMinimum": 0
},
"user_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Trengo user ids on the card, e.g. deal owners (replaces the set)."
},
"contact_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Trengo contact ids on the card, e.g. leads (replaces the set)."
}
}
},
"annotations": {
"title": "Update a board card",
"destructiveHint": true
}
}Tools for Trengo, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "How many tickets did we create and close last week?"; "Show me my newest open tickets and who they are from."; "Which agent closed the most tickets this month?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Trengo data. Free plan: 50 tool calls per month. Run trengo_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run trengo_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run trengo_upgrade without a plan: it returns both plans, each with a payment link for the user to open. trengo_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Created-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| assigned_end_date | string | Assigned-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| closed_start_date | string | Closed-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| created_start_date | string | Created-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| assigned_start_date | string | Assigned-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair. |
| start_after_ticket_id | integer | Keyset cursor: return tickets after this ticket id (replaces page for huge accounts). |
{
"name": "trengo_get_ticket_details_report",
"title": "Get ticket details report",
"description": "Per-ticket reporting rows: status, assignee, labels, first reply, first resolution and total resolution times (with and without business hours). Filter by team, channel, label, direction, status and created/closed/assigned date ranges; sort by a timing metric. For large accounts page with start_after_ticket_id instead of page. Trengo: GET /reporting/details/ticket.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number (1-based). Omit for the first page."
},
"sort_by": {
"enum": [
"first_resolution_time_opening_hours",
"first_resolution_time",
"first_response_time_opening_hours",
"first_response_time",
"total_resolution_time_opening_hours",
"total_resolution_time",
"created_at",
"assigned_at",
"closed_at"
],
"type": "string",
"description": "Sort column."
},
"statuses": {
"type": "array",
"items": {
"enum": [
"OPEN",
"ASSIGNED",
"CLOSED",
"INVALID"
],
"type": "string"
},
"description": "Only tickets in these statuses."
},
"team_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these team ids."
},
"direction": {
"enum": [
"INBOUND",
"OUTBOUND"
],
"type": "string",
"description": "Only INBOUND or OUTBOUND conversations."
},
"label_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these label ids."
},
"sort_order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
},
"channel_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"description": "Only these channel ids."
},
"closed_end_date": {
"type": "string",
"description": "Closed-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"created_end_date": {
"type": "string",
"description": "Created-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"assigned_end_date": {
"type": "string",
"description": "Assigned-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"closed_start_date": {
"type": "string",
"description": "Closed-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"created_start_date": {
"type": "string",
"description": "Created-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"assigned_start_date": {
"type": "string",
"description": "Assigned-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair."
},
"start_after_ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Keyset cursor: return tickets after this ticket id (replaces page for huge accounts).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get ticket details report",
"readOnlyHint": true
}
}