Simplesat MCP by usefulapi
Read surveys, responses and customers; create or update customers in Simplesat.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"simplesat": {
"url": "https://simplesat.usefulapi.io/mcp"
}
}
}远程端点
https://simplesat.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(10)
🟢simplesat_list_surveys(name, page, page_size)
List active Simplesat surveys, newest first. Archived surveys are not returned. Needs the 'read surveys' scope. Returns surveys with their token, name and paging fields.
输入模式
{
"type": "object",
"properties": {
"name": {
"description": "Return only surveys whose name contains this text (case-insensitive).",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Records per page (the API default is 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_list_questions(survey_id, metric, page, page_size)
List Simplesat survey questions, optionally for one survey or one metric (for example csat or nps). Needs the 'read questions' scope.
输入模式
{
"type": "object",
"properties": {
"survey_id": {
"description": "Return only questions of this survey id.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"metric": {
"description": "Return only questions with this metric, for example csat.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Records per page (the API default is 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_search_responses(start_date, end_date, created_start_date, created_end_date, modified_start_date, ...)
Search Simplesat survey responses (CSAT, NPS and comments). Filter by created or modified date and by fields such as customer.email, sentiment, survey, tag or metric. Needs the 'read responses' scope. Use page and page_size to read more results.
输入模式
{
"type": "object",
"properties": {
"start_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"end_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"created_start_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"created_end_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"modified_start_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"modified_end_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"filters": {
"description": "Field filters. All filters must match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"description": "Filter field, for example customer.email, sentiment, metric, survey, tag."
},
"values": {
"description": "Values to match.",
"type": "array",
"items": {
"type": "string"
}
},
"attribute": {
"description": "Attribute name, only for customer.attribute or ticket.attribute.",
"type": "string"
},
"comparison": {
"type": "string",
"enum": [
"is",
"is_not",
"contains",
"does_not_contain",
"is_unknown",
"has_any_value"
],
"description": "How the filter compares its values."
}
},
"required": [
"key"
]
}
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Records per page (the API default is 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_get_response(response_id)
Get one Simplesat survey response by its id. Needs the 'read responses' scope.
输入模式
{
"type": "object",
"properties": {
"response_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Simplesat numeric id, as a string."
}
},
"required": [
"response_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_search_answers(start_date, end_date, filters, page, page_size)
Search individual Simplesat answers (one per question in a response) by date and by fields such as metric, sentiment, choice_value, comment or survey. Needs the 'read answers' scope.
输入模式
{
"type": "object",
"properties": {
"start_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"end_date": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"filters": {
"description": "Field filters. All filters must match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"enum": [
"choice_value",
"comment",
"metric",
"sentiment",
"survey"
],
"description": "Filter field."
},
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"comparison": {
"type": "string",
"enum": [
"is",
"is_not",
"contains",
"does_not_contain",
"is_unknown",
"has_any_value"
],
"description": "How the filter compares its values."
}
},
"required": [
"key"
]
}
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Records per page (the API default is 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_get_answer(answer_id)
Get one Simplesat answer by its id. Needs the 'read answers' scope.
输入模式
{
"type": "object",
"properties": {
"answer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Simplesat numeric id, as a string."
}
},
"required": [
"answer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_list_customers(created_after, created_before, modified_after, modified_before, subscribed, ...)
List Simplesat customers, optionally by creation or modification date or by subscription status. Needs the 'read customers' scope.
输入模式
{
"type": "object",
"properties": {
"created_after": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"created_before": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"modified_after": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"modified_before": {
"description": "ISO 8601 date-time, for example 2024-01-01T00:00:00Z.",
"type": "string"
},
"subscribed": {
"description": "Return only subscribed (true) or unsubscribed (false) customers.",
"type": "boolean"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Records per page (the API default is 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_get_customer(customer_id)
Get one Simplesat customer by its id. Needs the 'read customers' scope.
输入模式
{
"type": "object",
"properties": {
"customer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Simplesat numeric id, as a string."
}
},
"required": [
"customer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴simplesat_upsert_customer(email, external_id, name, company, language, ...)
Create a Simplesat customer, or update the one with this email. Updating tags or custom_attributes OVERWRITES their existing values. Needs the 'write customers' scope.
输入模式
{
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Customer email. It identifies the customer."
},
"external_id": {
"description": "Your own id for this customer.",
"type": "string"
},
"name": {
"type": "string"
},
"company": {
"type": "string"
},
"language": {
"description": "Language code, for example en.",
"type": "string"
},
"tags": {
"description": "Replaces the customer's tags.",
"type": "array",
"items": {
"type": "string"
}
},
"custom_attributes": {
"description": "Replaces the customer's custom attributes. Values are text or lists of text.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
},
"required": [
"email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢simplesat_get_team_member(team_member_id)
Get one Simplesat team member by its id. Needs the 'read team members' scope.
输入模式
{
"type": "object",
"properties": {
"team_member_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Simplesat numeric id, as a string."
}
},
"required": [
"team_member_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据