Skip to main content
Glama

GemForge-Gemini-Tools-MCP

response-formatter.d.ts1.29 kB
/** * Response options for formatting */ export interface ResponseOptions { /** Whether to include thinking mode output */ includeThinking?: boolean; /** Whether to format search results */ includeSearch?: boolean; /** Custom formatting options */ customFormat?: Record<string, any>; /** Operation type (e.g., GEM_SEARCH, GEM_REASON, etc.) */ operation?: string; /** Processing type for GEM_PROCESS operation */ processingType?: string; /** Whether the request included a file */ withFile?: boolean; /** Whether thinking mode is enabled */ thinking?: boolean; /** Whether to show steps (for reasoning) */ showSteps?: boolean; /** Capability level used */ capabilityLevel?: string; /** Whether the file is an image */ isImageFile?: boolean; /** File type category */ fileType?: string; } /** * Formats responses from the Gemini API in a consistent way * @param response The API response data * @param modelId The model ID that was used * @param options Formatting options * @param sdkResponse Optional raw SDK response object * @returns Formatted response for MCP */ export declare function formatResponse(response: any, modelId: string, options?: ResponseOptions, sdkResponse?: any): any;

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/PV-Bhat/GemForge-MCP'

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