Skip to main content
Glama
HefnySco

Tree of Thoughts MCP Server

by HefnySco

create_tree

Start a structured reasoning session by building a goal-oriented tree with a root thought, enabling multi-path exploration and backtracking for complex problem-solving.

Instructions

Create a new Tree of Thoughts with a root thought and goal

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalYesThe goal or problem this tree is solving
maxDepthNoMaximum depth of the tree (default: 10)
metadataNoOptional metadata for the tree
sessionIdNoOptional session ID for context maintenance and grouping related trees
rootContentYesThe content of the root thought

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only states that a new tree is created and does not mention what happens on success, whether data is persisted, how sessions interact, or any side effects. For a mutating tool this is a significant transparency gap.

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 a single sentence with no filler. It front-loads the core purpose and omits redundant detail that is already in the schema.

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 no output schema and no annotations, the description leaves important context unexplained: return value, behavior of maxDepth/metadata/sessionId, and how this tool relates to sibling session and strategy tools. For a creation tool with 5 parameters, this is not complete enough.

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 parameter semantics are already well-defined there. The description's mention of 'root thought and goal' echoes two required parameters but adds no new meaning or format details beyond what the schema provides. Baseline 3 applies.

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

Purpose5/5

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

The description uses a specific verb ('Create') and a clear resource ('a new Tree of Thoughts') and names the essential components (root thought and goal). This distinguishes it from sibling tools that operate on existing trees, like add_child, delete_tree, or get_tree.

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?

The intended usage is implied: use this when you want to create a new tree. However, it gives no explicit guidance about when not to use it, nor does it reference alternatives like clone_tree_to_strategy or add_child for related operations. The context is clear but exclusions are absent.

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