Skip to main content
Glama
get-api-info.ts789 B
import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { getApiInfo } from '../client.js'; import type { ToolParameters } from '../types.js'; export const getApiInfoTool: Tool = { name: 'microcms_get_api_info', description: 'Get API schema information from microCMS Management API. In relation and relationList field, you can get its schema using referencedApiEndpoint and microcms_get_api_info tool.', inputSchema: { type: 'object', properties: { endpoint: { type: 'string', description: 'Content type name to get schema info (e.g., "blogs", "news")', }, }, required: ['endpoint'], }, }; export async function handleGetApiInfo(params: ToolParameters) { const { endpoint } = params; return await getApiInfo(endpoint); }

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

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