Skip to main content
Glama
Omnidim

@omnidim-ai/mcp-server

by Omnidim

createSession

Create a short-lived voice session for live chat, returning a single-use WebSocket URL for client connection. Step 1 of 2: audio starts only after client connects.

Instructions

Create a voice Session: a short-lived, single-conversation reservation that lets a client hold a live voice chat with your agent. This is step 1 of 2. Creating the Session does not start any audio on its own; it returns a ws_url that a client then connects to over WebSocket to actually talk.

Call this endpoint from your server with your API key, and return only the ws_url to your client. The API key must never reach the browser. The ws_url is the only thing the client needs, and it is safe to hand out because it is single-use and expires. For how to connect and talk, see "Connect the client and talk" below the request details.

(Tags: Sessions)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestBodyYesThe JSON request body.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Description adds significant behavioral context beyond annotations: it explains no audio starts on creation, details the single-use/expiring ws_url, and clarifies server-side responsibility. Annotations indicate mutation but not destructive, which aligns. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with two focused paragraphs and a tag. First paragraph defines purpose and context; second gives usage instructions. The tag 'Tags: Sessions' is minor extra. Could be slightly tighter, but effective and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description explains the return value (ws_url) and its properties (single-use, expires). Covers the two-step flow and security constraints. Minor lack of error handling details, but adequate for a simple session creation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description does not elaborate on parameter details beyond the schema; it mentions agent_id indirectly but adds no new semantic information. The custom_variables description in schema already covers tampering risk, so description adds marginal value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Create a voice Session: a short-lived, single-conversation reservation that lets a client hold a live voice chat with your agent.' It uses specific verbs and resources, and the sibling tools list shows no overlap with voice sessions, so it distinguishes well.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit step context: 'This is step 1 of 2.' Provides clear when-to-use guidance ('Call this endpoint from your server... return only the ws_url to your client'), and strong exclusions ('The API key must never reach the browser'). It also references alternative resource for the next step.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Omnidim/omnidim-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server