Skip to main content
Glama
get-api-info.ts563 B
import { getParsedOpenAPI } from "../parser.js"; export const getApiInfoTool = { name: "get_api_info", config: { title: "Get API Info", description: "Get basic information about the API including title, version, description, and servers. Use this first to understand what the API is about.", inputSchema: {}, }, handler: async () => { const parsed = getParsedOpenAPI(); return { content: [ { type: "text" as const, text: JSON.stringify(parsed.info, null, 2), }, ], }; }, };

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/teddy258/opa-mcp'

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