Skip to main content
Glama

list_components

Retrieve a complete list of API schema components (components.schemas) from ACOMO MCP Server for easy API exploration and schema inspection.

Instructions

acomoのAPIスキーマ(components.schemas)の一覧を返す

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.ts:247-259 (registration)
    Registers the 'list_components' MCP tool, including schema and inline handler.
    server.registerTool( "list_components", { title: "List components", description: "acomoのAPIスキーマ(components.schemas)の一覧を返す", inputSchema: {}, }, async () => ({ content: [ { type: "text", text: JSON.stringify(await listComponents()) }, ], }) );
  • The tool handler function that calls the listComponents helper and returns the result as JSON-formatted text content.
    async () => ({ content: [ { type: "text", text: JSON.stringify(await listComponents()) }, ], })
  • Tool metadata and input schema definition (empty input as it takes no parameters).
    { title: "List components", description: "acomoのAPIスキーマ(components.schemas)の一覧を返す", inputSchema: {}, },
  • Helper function that loads the OpenAPI specification and extracts the list of component schema names.
    export async function listComponents(): Promise<string[]> { const spec = await loadOpenApi(); return Object.keys(spec.components?.schemas ?? {}); }

Other Tools

Related 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/progress-all/acomo-mcp-server'

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