Skip to main content
Glama

list_all_components

Retrieve all available PrimeNG UI components with brief descriptions to explore options for Angular development.

Instructions

Lista todos los componentes disponibles en PrimeNG con una breve descripción

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The ListComponentsTool class provides the core handler implementation for the 'list_all_components' tool. The constructor sets the tool name, and the execute method generates the formatted list of components using COMPONENT_CATEGORIES.
    export class ListComponentsTool extends BaseTool { constructor() { super('list_all_components'); } async execute(_args: Record<string, any>): Promise<ToolResponse> { return this.createResponse(formatComponentList(COMPONENT_CATEGORIES)); } }
  • Function that defines the JSON schema for the list_all_components tool, specifying name, description, and empty input schema.
    export function createListAllComponentsSchema(): Tool { return { name: "list_all_components", description: "Lista todos los componentes disponibles en PrimeNG con una breve descripción", inputSchema: { type: "object", properties: {}, }, }; }
  • Registration and dispatching logic in the MCP CallToolRequestSchema handler's switch statement, calling the tool instance's run method.
    case "list_all_components": return await this.listComponentsTool.run(args);
  • The tool schema is registered in the ListToolsRequestSchema handler's tools array.
    createListAllComponentsSchema(),
  • Instantiation of the ListComponentsTool class instance used for handling tool calls.
    this.listComponentsTool = new ListComponentsTool();

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/hnkatze/PrimeNG_MCP'

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