Skip to main content
Glama

get_element_details

Retrieve comprehensive details about specific elements such as personas, skills, templates, or agents within the DollhouseMCP server to streamline AI persona and resource management.

Instructions

Get detailed information about a specific element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe element name to get details for
typeYesThe element type

Implementation Reference

  • Core tool definition for 'get_element_details', including input schema, description, and handler that delegates to server.getElementDetails
    { tool: { name: "get_element_details", description: "Get detailed information about a specific element", inputSchema: { type: "object", properties: { name: { type: "string", description: "The element name to get details for", }, type: { type: "string", description: "The element type", enum: Object.values(ElementType), }, }, required: ["name", "type"], }, }, handler: (args: GetElementDetailsArgs) => server.getElementDetails(args.name, args.type) },
  • TypeScript interface defining the input arguments for the get_element_details tool handler
    interface GetElementDetailsArgs { name: string; type: string; }
  • Registers all element tools, including get_element_details, into the main tool registry during server setup
    // Register element tools (new generic tools for all element types) this.toolRegistry.registerMany(getElementTools(instance));
  • Interface definition for the underlying server method called by the tool handler
    getElementDetails(name: string, type: string): Promise<any>;

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/DollhouseMCP/DollhouseMCP'

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