Skip to main content

Agents MCP

In one line: Let your UnleashX assistant build and manage voice agents and calling campaigns, attach phone numbers, run analytics on executions, and generate report documents — all through the UnleashX Agents API.
CategoryDev Tools
AuthenticationPlatform-managed
Setup time~1 minute
DifficultyMedium
Best forSpinning up voice agents, launching outbound campaigns, and pulling execution analytics

1. Overview

The Agents integration is the control surface for UnleashX’s own voice-AI platform. With it, an assistant can create or update agents and voice agents, set up calling campaigns, attach phone numbers, and read back rich execution analytics — calls, workflows, nodes, and form data. Once connected, your assistant can do the heavy lifting of operating a calling program: define an agent’s prompt and configuration, launch a “Winter Sale” campaign against the right agent, attach the numbers that dial out, and then report on how every run performed. It can also export results into PDF/Excel/Docx and other document formats. Because this drives your live UnleashX workspace, it’s platform-managed: UnleashX auto-generates the Agents API key from your session, so there’s nothing for you to paste. Connecting it turns natural-language requests into real, governed actions on your agents and campaigns.

2. What you’ll need

Agents is built into UnleashX and operates on your own workspace. There’s no third-party account, and the Agents API key is generated for you from your signed-in session.
  • An active UnleashX account with the Agents feature enabled.
  • Permission to create/manage agents and campaigns in your workspace (admin or appropriate role).
  • Your workspace identifier for a few analytics/key-generation actions (the assistant will ask if needed).
  • If you lack admin rights, ask a workspace admin to enable the feature and grant agent-management permissions.

3. Get your credentials

There are no credentials for you to create. The Agents API key is auto-generated by UnleashX from your session (the Generate API Key tool can mint a token when one is required), and the platform supplies the base URL and database access. You never handle a raw key.
Platform-side, an admin configures the UnleashX base URL and the analytics database connection; these are preset in managed environments. Some tools require a workspace_id so actions and queries are scoped correctly — the assistant will request it when needed.
Platform-managed settingPlain-English reason it exists
Agents API key / session tokenAuthorizes create/update/delete actions on your agents and campaigns. Auto-generated.
UnleashX base URLPoints the integration at your environment’s Agents API.
Analytics DB access (MySQL/Mongo)Lets the read-only analytics tools query execution data.
Workspace IDScopes campaigns, key generation, and analytics to the right workspace.

4. Connect on UnleashX

1

Open your agent

Go to https://www.tryunleashx.com and open the assistant you want to give Agents control to.
2

Open Data Connectors

Click Data Connectors in the agent.
3

Find Agents and add it

Locate Agents and click Connect / Add. It’s platform-managed — the Agents key is generated from your session, so there’s nothing to paste.
4

Confirm it's connected

The Agents tool should now show a Connected badge.

5. Available tools

01 agents tools Agent & voice-agent management
ToolWhat it doesChanges data?
Create AgentCreate or update an agent (name, category, purpose, prompt, type, status)✏️ Yes
Create Voice AgentCreate a voice agent with prompt, voice, STT, and LLM config✏️ Yes
Update Voice AgentUpdate a voice agent (only the fields you pass)✏️ Yes
Delete Voice AgentDelete a voice agent⚠️ Yes
List Voice AgentsList voice agents in the workspaceNo
Attach Phone NumbersAttach phone numbers to a voice agent✏️ Yes
Generate API KeyGenerate (mint) an Agents API token✏️ Yes
Campaign management
ToolWhat it doesChanges data?
Create CampaignCreate a calling campaign for a chosen agent✏️ Yes
Update CampaignUpdate a campaign (resolved by id or name)✏️ Yes
Analytics & data access (read-only)
ToolWhat it doesChanges data?
Universal Data AccessRun intent-based analytics over workflows, nodes, and formsNo
MySQL Query ToolRun a read-only SELECT/SHOW/EXPLAIN query on analytics tablesNo
MongoDB Query ToolRun a Mongo aggregation over form/object collectionsNo
Form Dynamic Query ToolQuery dynamic form collections by table name with filter/projectionNo
Get Calling Execution DataFetch calling-execution analytics with success/failure summaryNo
Get Workflow Execution DataFetch full workflow-execution detailsNo
Get Node Execution DataFetch node-level execution details (+ optional Mongo logs)No
Get Form Objects DataFetch form-response analytics and load primary/secondary tablesNo
Form data update
ToolWhat it doesChanges data?
Update Form Record DataUpdate a secondary-table form record by field name✏️ Yes
Document generation (exposed through the Agents server to turn results into files)
ToolWhat it doesChanges data?
Create PDFBuild a PDF document from content/sections✏️ Yes
Create DocxBuild a Word (.docx) document✏️ Yes
Create XlsxBuild an Excel (.xlsx) spreadsheet✏️ Yes
Create CSVBuild a CSV file✏️ Yes
Create JSONBuild a JSON file✏️ Yes
Create HTMLBuild an HTML file✏️ Yes
Create PptxBuild a PowerPoint (.pptx) deck✏️ Yes
Delete Voice Agent permanently removes a voice agent. The create/update tools modify your live workspace. The analytics query tools are read-only and restricted to SELECT-style statements on whitelisted tables.

6. Example usage

“Create a winter-sale outbound campaign on our Sales voice agent, retry twice.” → Runs List Voice Agents to resolve the agent by name, then Create Campaign with your dates and retry settings. “How did yesterday’s calls do for agent 1240 — success vs. failed?” → Runs Get Calling Execution Data (with a summary) and the assistant reports the breakdown; it can then Create Xlsx to export it.

7. Permissions & data access

UnleashX can:
  • Create, update, and delete agents, voice agents, and campaigns in your workspace.
  • Attach phone numbers and mint Agents API tokens.
  • Read execution analytics (calls, workflows, nodes, forms) via read-only queries.
  • Update specific form records you target and generate report documents.
UnleashX cannot:
  • Run write/DDL SQL — analytics queries are limited to read-only statements on whitelisted tables.
  • Act outside your workspace scope.
  • Bypass your role-based permissions.
To disconnect: Open the agent → Data ConnectorsAgentsDisconnect. Access is revoked immediately.

8. Troubleshooting

ProblemWhat it meansHow to fix it
”No Agents API key available”The session token couldn’t be resolvedRe-authenticate on UnleashX; the key is generated from your session
”workspace_id is required”A scoped action/query needs your workspace IDProvide the workspace ID when asked
401 / unauthorizedToken missing or expiredSign in again on UnleashX
403 / forbiddenYour role lacks permission for the actionAsk a workspace admin to grant agent/campaign rights
”Campaign not found”The id/name didn’t match the campaign listUse a name/id from List Voice Agents / the campaign list
Query rejectedThe SQL wasn’t a read-only/whitelisted statementUse SELECT/SHOW/EXPLAIN on the allowed analytics tables
For general connector issues, see /mcp/integrations.

9. Frequently asked questions

Do I need to create an API key? No. The Agents API key is auto-generated from your UnleashX session. The Generate API Key tool can mint one when an action requires it. Can it delete things? Yes — Delete Voice Agent removes a voice agent. Create/update tools change live data, so treat them with care. Are the analytics tools safe? Yes. They are read-only and restricted to SELECT-style queries on whitelisted tables (workflow/node/form analytics); writes and DDL are blocked. Can multiple team members use it? Yes, subject to each member’s role and permissions in the workspace.

10. References