Skip to main content
Glama
Coding Thinker MCP
by awssat

think_aloud

Record code-specific reasoning steps incrementally to increase confidence scores and improve mirror critique of coding decisions.

Instructions

Step 2: Record code-specific reasoning steps.

Example thoughts:

  • "Component uses hooks, will use useState"

  • "Detected dark text on dark bg at line 42, will fix with text-gray-100"

  • "Need to preserve existing event handlers"

  • "User prefers single-file changes based on style"

Call multiple times to show incremental reasoning. More thoughts (5+) = higher confidence scores and better mirror critique.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>",
      "thought": "<thought>",
      "step": "<step>",
      "needs_more": "<needs_more>"
    },
    "name": "think_aloud"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepYes
thoughtYes
needs_moreYes
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations present, the description carries the full behavioral burden and does not meet it. It discloses one useful trait – that more recorded thoughts raise confidence scores and improve mirror critique – but says nothing about whether thoughts persist, whether they are reviewed by a later tool, whether it mutates any state, or what happens if session_id is invalid.

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?

Purpose is front-loaded in one line and the example block is compact and genuinely illustrative rather than filler. The trailing confidence-score sentence is short and earns its place, though the list of four examples is one or two longer than strictly needed.

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

Completeness2/5

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

For a tool with four required parameters, no annotations, and no output schema, the description leaves too much unresolved: two of four parameters are never mentioned, the return shape is unstated, and the 'Step 2' sequencing is opaque. An agent could call it, but only by guessing at session_id and needs_more semantics.

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

Parameters1/5

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

Schema description coverage is 0% across four required parameters, so the description must compensate and largely fails. The examples clarify the shape of `thought`, but `session_id` (how it is obtained), `needs_more` (the boolean flow-control flag) and `step` (whether it is an index, ordinal, or phase number) are never explained anywhere, leaving half the call contract undefined.

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

Purpose4/5

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

The description uses a specific verb and resource ("Record code-specific reasoning steps") and the examples make concrete what a "thought" is. It never distinguishes itself from the sibling tools (analyze_context, execute_and_review, plan_and_verify), so an agent must infer where this fits in the workflow from the bare prefix "Step 2".

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

Usage Guidelines3/5

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

"Call multiple times to show incremental reasoning" plus the 5+ thoughts incentive gives real guidance on call frequency, which is the main usage question for this tool. There is no guidance on when not to call it, or what precedes/follows it beyond the unexplained "Step 2" label, and no explicit alternative is named.

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