Skip to main content
Glama

think

Capture and log structured thoughts during complex reasoning or multi-step tasks without altering data or obtaining new information. Ideal for AI agents needing explicit thought tracking.

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

  • The 'think' tool handler: decorated with @mcp.tool(), defines an async function that takes a 'thought' parameter validated by Pydantic Field and simply returns the thought string, acting as a reasoning scratchpad.
    @mcp.tool() async def think(thought: str = Field(..., description="A thought to think about.")) -> str: """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.""" return thought
  • Input schema for the 'think' tool: uses Pydantic Field for the 'thought' parameter, marked as required with a description.
    async def think(thought: str = Field(..., description="A thought to think about.")) -> str:
  • Registration of the 'think' tool using the @mcp.tool() decorator on the FastMCP instance.
    @mcp.tool()

Other Tools

Related Tools

  • @cgize/claude-mcp-think-tool
  • @PhillipRt/think-mcp-server
  • @flight505/mcp-think-tank
  • @cgize/claude-mcp-think-tool
  • @abhinav-mangla/think-tool-mcp
  • @piotrpalek/mcp-thinking-tool

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/Rai220/think-mcp'

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