Skip to main content
Glama

think

Analyze and structure complex problems by inputting thoughts into the tool, enabling clear and systematic problem-solving workflows within the Claude Code MCP server.

Instructions

A tool for thinking through complex problems

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thoughtYesYour thoughts

Implementation Reference

  • The handler function for the "think" tool, which simply returns the provided thought prefixed with 'Thought process:' as a text response.
    async ({ thought }) => { return { content: [{ type: "text", text: `Thought process: ${thought}` }] }; }
  • Input schema for the "think" tool, defining a single string parameter 'thought'.
    { thought: z.string().describe("Your thoughts") },
  • Registration of the "think" tool on the MCP server, including name, description, input schema, and handler function.
    server.tool( "think", "A tool for thinking through complex problems", { thought: z.string().describe("Your thoughts") }, async ({ thought }) => { return { content: [{ type: "text", text: `Thought process: ${thought}` }] }; } );

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/auchenberg/claude-code-mcp'

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