Skip to main content
Glama
HefnySco

Tree of Thoughts MCP Server

by HefnySco

self_reflect_thought

Generate a critique and improved version of a thought to refine it through LLM self-reflection.

Instructions

Get a critique and improved version of a thought using LLM self-reflection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
treeIdYesThe ID of the tree
thoughtIdYesThe ID of the thought to reflect on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does reveal the internal mechanism (LLM self-reflection) and the output concept (critique and improved version), which is useful. However, it does not clarify whether the original thought is mutated, whether the improved version is persisted, or what the actual return shape is.

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 a single, front-loaded sentence with no filler words. It efficiently conveys the core action and method, though it is arguably too terse to cover usage or side-effect guidance.

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?

With two required parameters, no output schema, no annotations, and a large set of sibling tools that operate on thoughts, the description is not complete enough. It fails to distinguish this tool from refine_thought/evaluate_thought and does not clarify whether the tool modifies the thought tree or only returns a critique.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds no additional meaning beyond the schema's own descriptions for treeId and thoughtId; it only indirectly implies both are needed for context.

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 states a specific verb ('Get'), a clear resource ('a critique and improved version of a thought'), and the method ('using LLM self-reflection'). It is unambiguous about the tool's basic function, but it does not differentiate it from similarly named siblings like refine_thought or evaluate_thought.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives such as refine_thought, evaluate_thought, verify_thought, or select_thought. The description implies a use case but never states it explicitly, nor does it offer exclusions or routing conditions.

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