Skip to main content
Glama
elevenlabs

ElevenLabs MCP Server

Official
by elevenlabs

get_voice

Retrieve detailed information about a specific voice from ElevenLabs' Text to Speech service, including voice characteristics and usage parameters.

Instructions

Get details of a specific voice

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
voice_idYes

Implementation Reference

  • The main handler function for the 'get_voice' tool, decorated with @mcp.tool which also serves as registration. It retrieves voice details from the ElevenLabs API using the provided voice_id and constructs and returns a McpVoice object.
    @mcp.tool(description="Get details of a specific voice") def get_voice(voice_id: str) -> McpVoice: """Get details of a specific voice.""" response = client.voices.get(voice_id=voice_id) return McpVoice( id=response.voice_id, name=response.name, category=response.category, fine_tuning_status=response.fine_tuning.state, )
  • Pydantic model defining the schema for the voice object returned by the get_voice tool.
    class McpVoice(BaseModel): id: str name: str category: str fine_tuning_status: Optional[Dict] = None

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/elevenlabs/elevenlabs-mcp'

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