Skip to main content
Glama
DollhouseMCP

DollhouseMCP

Official

get_active_elements

Retrieve currently active elements like personas, skills, or agents in the DollhouseMCP system to monitor and manage active AI components.

Instructions

Get information about currently active elements of a specific type

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesThe element type to check

Implementation Reference

  • Handler function for the 'get_active_elements' tool. It receives args with 'type' and delegates to server.getActiveElements(args.type). Includes the full tool definition with input schema.
    {
      tool: {
        name: "get_active_elements",
        description: "Get information about currently active elements of a specific type",
        inputSchema: {
          type: "object",
          properties: {
            type: {
              type: "string",
              description: "The element type to check",
              enum: Object.values(ElementType),
            },
          },
          required: ["type"],
        },
      },
      handler: (args: GetActiveElementsArgs) => server.getActiveElements(args.type)
    },
  • TypeScript interface defining the input arguments for the get_active_elements tool.
    interface GetActiveElementsArgs {
      type: string;
    }
  • Registration of the element tools, including 'get_active_elements', into the ToolRegistry during server setup.
    // Register element tools (new generic tools for all element types)
    this.toolRegistry.registerMany(getElementTools(instance));
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It mentions 'active elements' but doesn't clarify what 'active' means operationally, whether this is a read-only operation, what permissions are needed, or how results are structured. For a tool with zero annotation coverage, this is insufficient disclosure.

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

Conciseness5/5

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

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded with the core functionality.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and minimal description, this is incomplete. The description doesn't explain what 'active' means, what information is returned, or how this differs from similar tools. Given the context of multiple sibling query tools, more guidance is needed.

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 description coverage is 100%, so the schema fully documents the single 'type' parameter with its enum values. The description adds no additional parameter semantics beyond implying filtering by 'active' status, which isn't parameter-related. This meets the baseline for high schema coverage.

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?

The description clearly states the action ('Get information') and target ('currently active elements of a specific type'), providing a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like 'list_elements' or 'get_element_details', which could have overlapping functionality.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context for 'active' elements, or compare to siblings like 'list_elements' or 'get_element_details', leaving the agent with no usage direction.

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

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