Skip to main content
Glama

list_all_components

Retrieve all available PrimeNG UI components with brief descriptions to help developers identify and select appropriate components for Angular applications.

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 implements the core handler logic for the 'list_all_components' tool. It extends BaseTool with the tool name and provides the execute method that formats COMPONENT_CATEGORIES into a response.
    export class ListComponentsTool extends BaseTool { constructor() { super('list_all_components'); } async execute(_args: Record<string, any>): Promise<ToolResponse> { return this.createResponse(formatComponentList(COMPONENT_CATEGORIES)); } }
  • Defines the Tool schema object for 'list_all_components' including name, description, and empty input schema (no parameters required).
    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: {}, }, }; }
  • Instantiates the ListComponentsTool instance during server initialization for handling tool execution.
    this.listComponentsTool = new ListComponentsTool();
  • Registers the dispatch handler in the tool call switch statement, routing calls to listComponentsTool.run().
    case "list_all_components": return await this.listComponentsTool.run(args);
  • Includes the list_all_components schema in the listTools response for tool discovery.
    createListAllComponentsSchema(),

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