mcp
v0.1.4SLNG MCP server: create SLNG managed voice agents, attach phone numbers and place outbound calls from AI assistants.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
slng_whoami Show the SLNG account
Shows the SLNG organization that owns the configured API key (id, name, tier, key label), the gateway host that answered, the versions of this connector, of the Unmute CLI it builds with and of uv (which Unmute uses to read state.py), and the active policy source and residency setting.
slng_list_regions List SLNG agent regions
Lists the 16 SLNG agent regions: 13 SLNG Managed and 3 LiveKit Cloud, each with its hosting, gateway host and whether phone numbers added in the SLNG dashboard are expected to work there. Given the number to call (E.164) or a country (ISO code), it also returns a suggested region with its reason: the SLNG Managed region for that country. For calls (for_calls, or whenever phone_number is given) a country with no SLNG Managed region gets the nearest LiveKit Cloud region instead.
| Parameter | Type | Description |
|---|---|---|
country | string | A two-letter ISO country code, for example ES or JP, when there is no number. |
for_calls | boolean | Suggest a region for placing phone calls. Defaults to true when phone_number is given. |
phone_number | string | The number to call, in E.164 format, for example +34911234567. |
slng_get_capabilities Get models and voices for a region
Lists the speech-to-text, LLM and text-to-speech models an SLNG agent may use in one region and language (the agent catalog plus enabled bring-your-own LLMs, filtered by the active policy), each with where it has deployments and whether it runs in the region; the voices of the allowed TTS models (the first 20 of each, or every voice of one model with tts_model, paged); the suggested model and voice picks with their reasons; the allowed tool types and templates. With in_region_only, models that do not run in the region are left out.
| Parameter | Type | Description |
|---|---|---|
language * | string | Agent language as a language code, for example en, es, ja or en-US. |
in_region_only | boolean | Leave out models with no deployment in the region. |
region | string | Agent region code, for example eu-central-livekit, us-east or jp (see slng_list_regions). Required. |
tts_model | string | A TTS model code from this list, to page through all of its voices. |
voice_limit | integer | With tts_model: how many voices to return (default 50, at most 100). |
voice_offset | integer | With tts_model: how many voices to skip (default 0). |
slng_list_agents List SLNG agents
Lists the voice agents in the SLNG organization, most recently updated first, with id, name, region and its hosting, language, the attached outbound number (trunk id) and whether SLNG reports a problem with the saved model settings. Filters by part of the name or by region; pages with limit and offset.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many agents to return (default 50, at most 200). |
name_contains | string | Only agents whose name contains this text (case-insensitive). |
offset | integer | How many agents to skip (default 0). |
region | string | Only agents in this agent region code, for example eu-central-livekit. |
slng_list_phone_numbers List phone numbers for an agent
Lists the outbound phone numbers (SIP trunks added in the SLNG dashboard) that one agent can use, as SLNG decides them, with each number's caller ID pool, status and whether it is attached now, plus the numbers it cannot use with the reason. Fails with NO_NUMBER_IN_REGION when the agent has no usable outbound number.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
slng_build_agent Build and check an SLNG agent
Builds an SLNG voice agent for one region and language without deploying it: from the outbound-call template and its fields, or from a whole Unmute package (files, or package_path on a local server). Picks the models and voice (the user's choice, else ones that run in the region, else the closest, with the dashboard defaults as tie-breaker), injects the active policy, runs unmute validate and unmute compile offline and checks the result against what SLNG offers there. Returns the package hash, the agent name to be deployed, each model and voice with the reason it was picked and where it runs,…
| Parameter | Type | Description |
|---|---|---|
language * | string | Agent language as a language code, for example en, es, ja or en-US. |
fields | object | The outbound-call template fields: agent_name, purpose, on_behalf_of, and optionally persona, greeting (the first thing the agent says; required for non-English), goodbye (fixed text the hang-up tool… |
files | object | A whole Unmute package as a map of path to text: agent.yaml, targets.yaml, state.py, Markdown prompts (*.md at the root or in prompts/, tasks/ or agents/), tools/*.yaml and connections/*.yaml. |
in_region_only | boolean | Refuse models with no deployment in the region. |
models | object | Template path only: model codes chosen by the user (from slng_get_capabilities); omitted roles follow the placement rule and defaults. |
package_path | string | A local Unmute package directory (only when this server runs locally over stdio). |
region | string | Agent region code, for example eu-central-livekit, us-east or jp (see slng_list_regions). Required. |
template | string | The template to render; outbound-call is the only one. Implied by fields. |
voice | string | Template path only: a voice id of the chosen TTS model. |
slng_deploy_agent Deploy an SLNG agent
Deploys a voice agent to SLNG in the chosen region, in two steps. Without confirm_token it is a dry run: it builds the agent like slng_build_agent and returns the plan (create, or replace an agent with the same name; the tools, MCP servers, tasks and task groups a replace removes; the agent's tasks and task groups; the phone numbers kept; the organization; the models and where they run; the greeting and the goodbye) plus a confirm token that expires in 10 minutes. With that token it checks that nothing changed, then creates or replaces the agent and returns its id, name and version label. Repl…
| Parameter | Type | Description |
|---|---|---|
language * | string | Agent language as a language code, for example en, es, ja or en-US. |
confirm_replace_foreign | boolean | Allow replacing an existing agent with the same name that this connector did not create. Needed on the dry run and the real run. |
confirm_token | string | The token from this tool's dry run, after the user confirmed its plan. Without it the call is a dry run. |
fields | object | The outbound-call template fields: agent_name, purpose, on_behalf_of, and optionally persona, greeting (the first thing the agent says; required for non-English), goodbye (fixed text the hang-up tool… |
files | object | A whole Unmute package as a map of path to text: agent.yaml, targets.yaml, state.py, Markdown prompts (*.md at the root or in prompts/, tasks/ or agents/), tools/*.yaml and connections/*.yaml. |
in_region_only | boolean | Refuse models with no deployment in the region. |
models | object | Template path only: model codes chosen by the user (from slng_get_capabilities); omitted roles follow the placement rule and defaults. |
package_path | string | A local Unmute package directory (only when this server runs locally over stdio). |
region | string | Agent region code, for example eu-central-livekit, us-east or jp (see slng_list_regions). Required. |
template | string | The template to render; outbound-call is the only one. Implied by fields. |
voice | string | Template path only: a voice id of the chosen TTS model. |
slng_attach_phone_number Attach a phone number to an agent
Attaches an outbound phone number (a SIP trunk from the SLNG dashboard) to an agent, so its calls go out from that number. Only numbers SLNG lists as usable for that agent are accepted; attaching the number that is already attached changes nothing. Returns the agent and the attached number.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
trunk_id * | string | The trunk id of a usable number from slng_list_phone_numbers. |
slng_prepare_call Preview a phone call
Checks and previews an outbound call from an SLNG agent without dialing: the agent and its region, the number it calls from (the attached one, or another usable one for this call only) with its caller ID pool and the chosen caller ID, the number to call and its country, the call values checked against what the agent requires and SLNG's limits, and the greeting the callee hears first. Refuses invalid, premium-rate or not-allowed numbers, agents without a usable outbound number or with invalid saved settings, and calls over this server's caps. Returns a confirm token, valid for 10 minutes, for s…
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
phone_number * | string | The number to call in E.164 format, for example +34911234567. |
arguments | object | The values the agent needs for this call, as text, for example {"callee_name": "Dr. Ruiz"}. |
from_number | string | The caller ID the callee sees, in E.164: one of the caller ID numbers of the number the call goes out on. Without it SLNG uses that number's default. |
number_was_looked_up | boolean | True when the assistant found the number itself rather than the user giving it. |
trunk_id | string | The outbound number to call from, for this call only: the trunk id of a usable number from slng_list_phone_numbers. Without it the call goes out on the number attached to the agent. |
slng_place_call Place a phone call
Places the outbound call that slng_prepare_call previewed, with the same values and its confirm token. It checks again that the agent, the number it calls from and its caller ID, the number to call and the values are unchanged, then asks SLNG to dial. Returns the call id once SLNG accepted the call, which means dispatched, not yet answered. When SLNG's answer is lost after the request was sent, the call may be live: it is looked up in the agent's recent calls, and redialing that number from that agent is blocked until the outcome is known.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
phone_number * | string | The number to call in E.164 format, for example +34911234567. |
arguments | object | The values the agent needs for this call, as text, for example {"callee_name": "Dr. Ruiz"}. |
confirm_token | string | The token slng_prepare_call returned for these values. |
from_number | string | The caller ID the callee sees, in E.164: one of the caller ID numbers of the number the call goes out on. Without it SLNG uses that number's default. |
number_was_looked_up | boolean | True when the assistant found the number itself rather than the user giving it. |
trunk_id | string | The outbound number to call from, for this call only: the trunk id of a usable number from slng_list_phone_numbers. Without it the call goes out on the number attached to the agent. |
slng_get_call Get a call and its transcript
Reads one call of an agent: status (dispatching, dispatched, in_progress, completed or failed), the caller ID it went out with, times (including when the callee answered) and how the dial ended, duration, the end reason in plain words, whether SLNG has finalized it, the outcome values the agent recorded, a summary of its tool executions, its task and task group runs (status, steps and saved values; the runs show while the call is live, the values once it is finalized), and the transcript turns once the call is finalized (from the session report, best effort, paged with turn_offset and turn_lim…
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
call_id * | string | The call id (from slng_place_call or a call list). |
turn_limit | integer | How many transcript turns to return (default 50, at most 200). |
turn_offset | integer | How many transcript turns to skip (default 0). |
slng_create_test_session Start a browser test session
Starts a web test session with an SLNG agent, as a LiveKit room the agent joins, without a phone call. Takes the same call values as a phone call. Returns the LiveKit URL, a join token, the room name, the session id and the maximum session length, plus how to join. The session is billed like a call.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
arguments | object | The values the agent needs for this session, as text, for example {"callee_name": "Test"}. |
participant_name | string | The name shown for the person joining (default "SLNG MCP test"). |
slng_delete_agent Delete an SLNG agent
Deletes an SLNG agent (a soft delete: it stops taking calls and disappears from the agent list). Needs confirm: true, and refuses while the agent may have a live call: one SLNG lists as dispatching, dispatched or in progress, or one this server placed whose outcome is not known yet. Its phone numbers stay in the organization.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent id (from slng_list_agents or a deploy result). |
confirm | boolean | Must be true: the user confirmed deleting this agent. |
slng_get_agent_guide Read the agent guide
Reads the guide for writing an SLNG voice agent as an Unmute package: Unmute's own authoring skill, pinned to the Unmute version this server builds with (prompting, tasks and task groups, call state in state.py, tools, conversation, latency), and this server's overlay, which says what differs when slng_build_agent and slng_deploy_agent build and deploy it (no commands to run, the server owns region, manifest and models, the files and state.py it accepts, SLNG's task rules). Read the overlay and the index before writing a package or a non-trivial prompt, then the references the agent needs. A l…
| Parameter | Type | Description |
|---|---|---|
section | string | A section id from sections or next_section of an earlier answer. |
topic | string | overlay (this server's rules, read first; the default), index (the skill's entry page), or a reference: orchestration, variables, prompting, tools, conversation, latency, package, models, telephony, t… |