Text Processing
Pega un texto y obtén una puntuación multidimensional de "huella de voz" (formal↔casual, seguro↔cauto, optimista↔preocupado, juguetón↔serio). Sube una referencia de marca para obtener la desviación 0–100.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/voice-tone-tone-of-voice-auditor' \
-H 'Content-Type: application/json' \
-d '{"textToAudit":"We are absolutely thrilled to launch this. It is the best upgrade we have ever shipped, and you will definitely love it. Get ready — your workflow is about to get amazing!","brandReference":"Paste a sample of your brand voice (≥50 words) to compute deviation."}'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/voice-tone-tone-of-voice-auditor| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| textToAudit | textarea | Sí | — |
| brandReference | textarea | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-voice-tone-tone-of-voice-auditor": {
"name": "voice-tone-tone-of-voice-auditor",
"description": "Pega un texto y obtén una puntuación multidimensional de \"huella de voz\" (formal↔casual, seguro↔cauto, optimista↔preocupado, juguetón↔serio). Sube una referencia de marca para obtener la desviación 0–100.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=voice-tone-tone-of-voice-auditor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "voice-tone-tone-of-voice-auditor",
"arguments": {
"textToAudit": "We are absolutely thrilled to launch this. It is the best upgrade we have ever shipped, and you will definitely love it. Get ready — your workflow is about to get amazing!",
"brandReference": "Paste a sample of your brand voice (≥50 words) to compute deviation."
}
}
}¿Dudas o problemas? Contacta con [email protected]