Skip to main content
Glama
piotrpalek

MCP Think Tool

by piotrpalek

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,
            },
          ],
        };
      }
    );
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses key behavioral traits beyond what annotations provide: it explicitly states 'It will not obtain new information or change the database, but just append the thought to the log.' This clarifies that it's a read-only, non-destructive operation with a logging effect. Since no annotations are provided, the description carries the full burden and does so thoroughly by addressing safety and behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded: two sentences that efficiently convey purpose, behavior, and usage guidelines without any wasted words. Every sentence adds value, making it concise and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (one parameter, no output schema, no annotations), the description is mostly complete. It covers purpose, behavior, and usage context effectively. However, it lacks details on the log's nature or output format, which could be useful but isn't critical here. Overall, it's sufficient for the tool's scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description does not add meaning beyond what the input schema provides. The schema has 100% coverage with a clear parameter 'thought' described as 'A thought to think about.' The description mentions 'think about something' but doesn't elaborate on parameter usage or constraints. With high schema coverage, the baseline is 3, as the description doesn't compensate but also doesn't detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool is used 'to think about something' and appends thoughts to a log, which clarifies its basic function. However, it's somewhat vague—'think about something' is abstract, and while it mentions appending to a log, it doesn't specify what kind of log or resource this involves. No sibling tools exist for differentiation, so it avoids being tautological but lacks specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use it: 'when complex reasoning or some cache memory is needed.' This gives explicit guidance on appropriate scenarios. However, it doesn't mention when not to use it or alternatives, as there are no sibling tools, so it's not fully comprehensive but still effective.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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