Skip to main content
Glama
types.ts1.5 kB
export interface MicroCMSListOptions { draftKey?: string; limit?: number; offset?: number; orders?: string; q?: string; fields?: string; ids?: string; filters?: string; depth?: 1 | 2 | 3; } export interface MicroCMSGetOptions { draftKey?: string; fields?: string; depth?: 1 | 2 | 3; } export interface MicroCMSCreateOptions { isDraft?: boolean; contentId?: string; } export interface MicroCMSUpdateOptions { isDraft?: boolean; } export interface MicroCMSContent { id: string; createdAt: string; updatedAt: string; publishedAt?: string; revisedAt?: string; [key: string]: any; } export interface MicroCMSListResponse<T = MicroCMSContent> { contents: T[]; totalCount: number; offset: number; limit: number; } export interface MicroCMSErrorResponse { message: string; details?: Array<{ field: string; message: string; }>; } export interface ToolParameters { endpoint: string; contentId?: string; content?: Record<string, any>; draftKey?: string; limit?: number; offset?: number; orders?: string; q?: string; fields?: string; ids?: string; filters?: string; depth?: 1 | 2 | 3; isDraft?: boolean; // Media parameters imageOnly?: boolean; fileName?: string; token?: string; fileData?: string; mimeType?: string; } export interface MediaToolParameters { limit?: number; imageOnly?: boolean; fileName?: string; token?: string; fileData?: string; mimeType?: string; externalUrl?: string; }

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