Skip to main content
Glama

get_voice_agent_embed_code

Generate embed code and SDK snippets for embedding the LiveKit Voice Agent.

Frameworks: 'html_script', 'react', 'iframe', 'ios', 'android', 'flutter', 'react_native'.
Display modes: 'modal' (voice popup modal), 'drawer' (side slide-over panel).

Input Schema

NameRequiredDescriptionDefault
bot_idYes
displayNomodal
frameworkNohtml_script

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It never states that this is a non-mutating code-generation call, what preconditions exist (e.g., configure_voice_agent must have been run), or what form the result takes — the framework/display listing is only parameter help, not behavioral context.

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?

Front-loaded with the core action in the first sentence, followed by two compact value lists that each earn their place given the empty schema. Minor waste in the fragmented line breaks but nothing extraneous.

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

Completeness3/5

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

For a 3-parameter, no-annotation, no-output-schema tool, the description covers the value space of two optional parameters but omits the required bot_id, prerequisites, and the shape of the returned snippet. An agent could call it, but not with full confidence.

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 0% with no enums declared, so the description is the only source of valid values — it usefully enumerates all seven framework values and both display modes with parenthetical explanations. However, it says nothing about bot_id, the one required parameter, leaving its meaning to inference from the name.

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

Purpose4/5

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

States a specific verb ('Generate') and resource ('embed code and SDK snippets') scoped to the LiveKit Voice Agent, which implicitly distinguishes it from the sibling generate_embed_code for the chat widget. It does not explicitly name that sibling or state the distinction, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by the resource ('embedding the LiveKit Voice Agent'), but there is no explicit when-to-use guidance, no mention of prerequisites (a configured voice agent), and no routing away from the similarly named generate_embed_code sibling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources