Skip to main content
Glama

listReasoningModels

Retrieve a list of reasoning-capable AI models supported by the MindBridge MCP Server, enabling dynamic selection for diverse tasks across multiple providers.

Instructions

List all available models that support reasoning capabilities

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'listReasoningModels' tool. It returns a JSON string containing the list of reasoning-optimized models from the REASONING_MODELS constant.
    async () => { try { return { content: [{ type: 'text', text: JSON.stringify({ models: REASONING_MODELS, description: 'These models are specifically optimized for reasoning tasks and support the reasoning_effort parameter.' }, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `Error: ${error instanceof Error ? error.message : 'An unknown error occurred'}` }], isError: true }; } }
  • src/server.ts:113-135 (registration)
    Registration of the 'listReasoningModels' tool in the MindBridgeServer class using this.tool(), including description, empty input schema, and inline handler.
    // Register listReasoningModels tool this.tool('listReasoningModels', 'List all available models that support reasoning capabilities', {}, async () => { try { return { content: [{ type: 'text', text: JSON.stringify({ models: REASONING_MODELS, description: 'These models are specifically optimized for reasoning tasks and support the reasoning_effort parameter.' }, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `Error: ${error instanceof Error ? error.message : 'An unknown error occurred'}` }], isError: true }; } } );
  • The REASONING_MODELS constant, an array of model names optimized for reasoning tasks, used by the tool handler.
    // Export available reasoning models export const REASONING_MODELS = [ MODEL_NAMES.OPENAI.O1, MODEL_NAMES.OPENAI.O3_MINI, MODEL_NAMES.DEEPSEEK.REASONER, MODEL_NAMES.ANTHROPIC.CLAUDE_37_SONNET ] as const;

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/pinkpixel-dev/mindbridge-mcp'

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