Skip to main content
Glama

think

Facilitate structured reasoning and complex problem-solving by analyzing thoughts step-by-step. Ideal for policy verification, mental processes, and detailed analysis without obtaining new information or making changes.

Instructions

Use this tool to think about something. It will not obtain new information or change anything. Use it when complex reasoning is needed.

  Args:
  thought: A thought to think about. This can be structured reasoning, step-by-step analysis, policy verification, or any other mental process that helps with problem-solving.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thoughtYes

Implementation Reference

  • The asynchronous handler function for the 'think' tool. It receives a 'thought' string and returns a structured text response echoing the thought (truncated if longer than 50 characters).
    async ({ thought }) => {
      // Return a confirmation
      return {
        content: [{
          type: "text",
          text: thought.length > 50
            ? `Thought: ${thought.substring(0, 50)}...`
            : `Thought: ${thought}`
        }]
      };
    }
  • Zod schema for the 'think' tool input, defining a single required string parameter 'thought'.
    { thought: z.string() },
  • src/server.ts:22-39 (registration)
    Registration of the 'think' tool on the MCP server using this.mcp.tool(), specifying name, description, input schema, and handler function.
      "think",
      `Use this tool to think about something. It will not obtain new information or change anything. Use it when complex reasoning is needed.
    
      Args:
      thought: A thought to think about. This can be structured reasoning, step-by-step analysis, policy verification, or any other mental process that helps with problem-solving.`,
      { thought: z.string() },
      async ({ thought }) => {
        // Return a confirmation
        return {
          content: [{
            type: "text",
            text: thought.length > 50
              ? `Thought: ${thought.substring(0, 50)}...`
              : `Thought: ${thought}`
          }]
        };
      }
    );
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states 'It will not obtain new information or change anything', which effectively communicates read-only, non-destructive behavior. It also implies the tool is for internal reasoning processes. While it doesn't cover rate limits or detailed operational constraints, it provides sufficient behavioral context for a tool with no annotations.

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

Conciseness4/5

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

The description is appropriately sized with two main sentences followed by parameter documentation. The first sentence states the purpose, the second provides usage guidance, and the Args section adds necessary parameter context. There's minimal waste, though the formatting with indentation could be slightly cleaner.

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

Completeness3/5

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

Given the tool's conceptual nature (thinking/analysis), no output schema, and no annotations, the description provides adequate context about what the tool does and when to use it. However, it doesn't explain what the tool actually produces (e.g., structured output, internal state change) or how the 'thinking' manifests operationally, leaving some gaps in completeness.

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

Parameters4/5

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

The schema description coverage is 0%, so the description must compensate. It provides a detailed explanation of the 'thought' parameter, describing it as 'structured reasoning, step-by-step analysis, policy verification, or any other mental process that helps with problem-solving'. This adds substantial meaning beyond the bare schema, though it doesn't specify format constraints or examples.

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 for 'thinking about something' and mentions 'complex reasoning', which provides a general purpose. However, it's vague about what 'thinking' entails operationally and doesn't distinguish from siblings (though none exist). It avoids tautology by adding context about reasoning, but lacks specificity about the verb+resource combination.

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 explicitly states 'Use it when complex reasoning is needed', providing clear context for when to invoke the tool. It also mentions 'It will not obtain new information or change anything', which helps exclude alternative use cases. However, with no sibling tools, there's no need for differentiation, so it can't score a 5 for explicit alternatives.

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

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/abhinav-mangla/think-tool-mcp'

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