Data Analysis
Генерирует таблицы распределения частот для данных с поддержкой числовой группировки, пользовательских диапазонов, процентных статистик и многого другого. Идеально для анализа данных, статистических отчетов и подготовки визуализации данных.
Вызовите этот инструмент из своего кода на трёх языках.
curl -X POST 'https://api.elysiatools.com/ru/api/tools/frequency-distribution-generator' \
-H 'Content-Type: application/json' \
-d '{"dataInput":"Enter your CSV data (first row should contain headers)...","delimiter":",","groupByColumn":"Enter column name to group by (leave empty for all data)","binType":"auto","binCount":10,"binWidth":10,"customBins":"Enter custom ranges (one per line, e.g., \"0-10\", \"10-20\", \"20-30\")","outputFormat":"table","includePercentage":true,"includeCumulative":false,"sortBy":"frequency","sortDirection":"desc","trimValues":true,"handleEmpty":true}'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/frequency-distribution-generator| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| dataInput | textarea | Да | — |
| delimiter | select | Да | — |
| groupByColumn | text | Нет | — |
| binType | select | Да | — |
| binCount | number | Нет | — |
| binWidth | number | Нет | — |
| customBins | textarea | Нет | Format: "min-max" or "value" for single value bins |
| outputFormat | select | Да | — |
| includePercentage | checkbox | Нет | Show percentage of total for each category |
| includeCumulative | checkbox | Нет | Show cumulative frequency distribution |
| sortBy | select | Да | — |
| sortDirection | select | Да | — |
| trimValues | checkbox | Нет | Remove whitespace from beginning and end of cell values |
| handleEmpty | checkbox | Нет | Include empty cells in frequency count |
Текстовый результат
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-frequency-distribution-generator": {
"name": "frequency-distribution-generator",
"description": "Генерирует таблицы распределения частот для данных с поддержкой числовой группировки, пользовательских диапазонов, процентных статистик и многого другого. Идеально для анализа данных, статистических отчетов и подготовки визуализации данных.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=frequency-distribution-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "frequency-distribution-generator",
"arguments": {
"dataInput": "Enter your CSV data (first row should contain headers)...",
"delimiter": ",",
"groupByColumn": "Enter column name to group by (leave empty for all data)",
"binType": "auto",
"binCount": 10,
"binWidth": 10,
"customBins": "Enter custom ranges (one per line, e.g., \"0-10\", \"10-20\", \"20-30\")",
"outputFormat": "table",
"includePercentage": true,
"includeCumulative": false,
"sortBy": "frequency",
"sortDirection": "desc",
"trimValues": true,
"handleEmpty": true
}
}
}Вопросы или проблемы? Свяжитесь с [email protected]