Skip to main content
Glama

think

Append thoughts to a reasoning log for complex problem-solving, enabling structured analysis without external data retrieval.

Instructions

Use the tool to think about something. It will not obtain new information or change the database, but just append the thought to the log. Use it when complex reasoning or some cache memory is needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thoughtYesA thought to think about.

Implementation Reference

  • Handler function for the 'think' tool. Takes a 'thought' parameter and returns it as a text content block in the response, effectively echoing the thought without performing any other actions.
    async ({ thought }) => { // This tool does nothing at all - it's a no-op // It simply lets Claude externalize its thinking process return { content: [ { type: "text", text: thought, }, ], }; }
  • Input schema for the 'think' tool using Zod: defines 'thought' as a required string.
    { thought: z.string().describe("A thought to think about."), },
  • src/index.ts:12-30 (registration)
    Registers the 'think' tool on the MCP server with name, description, input schema, and handler function.
    server.tool( "think", "Use the tool to think about something. It will not obtain new information or change the database, but just append the thought to the log. Use it when complex reasoning or some cache memory is needed.", { thought: z.string().describe("A thought to think about."), }, async ({ thought }) => { // This tool does nothing at all - it's a no-op // It simply lets Claude externalize its thinking process return { content: [ { type: "text", text: thought, }, ], }; } );

Other 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/piotrpalek/mcp-thinking-tool'

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