Skip to main content
Glama
HefnySco

Tree of Thoughts MCP Server

by HefnySco

suggest_next_actions

Analyze the current reasoning tree to get prioritized, actionable next-step recommendations: generate children, evaluate, prune, or backtrack. Use when unsure how to proceed.

Instructions

Use this tool when you are unsure what to do next in the Tree of Thoughts process. It analyzes the current state of the tree (pending thoughts, low evaluations, high risk branches, depth progress, etc.) and returns prioritized, actionable recommendations such as: generate children, evaluate thoughts, prune low-value branches, verify good thoughts, backtrack, or use exploration strategies. Call this tool proactively when the tree feels stuck, has many pending items, or you need guidance on the best next step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
treeIdYesThe ID of the tree to analyze
focusThoughtIdNoOptional thought ID to focus recommendations on
maxSuggestionsNoMaximum number of suggestions to return (default: 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description must shoulder the burden of disclosing behavior. It says the tool 'analyzes' and 'returns recommendations', implying a read-only advisory role, and enumerates the kinds of recommendations. However, it does not explicitly state that the tree is not modified or describe the shape/ordering of the returned recommendations.

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

Conciseness3/5

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

The description is wordy but structured, front-loading the core usage condition. It repeats the same idea multiple times: being 'unsure what to do next' is echoed in 'tree feels stuck' and 'need guidance on the best next step', making it slightly longer than necessary.

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?

The description gives a strong sense of when to call the tool and what general categories of recommendations to expect, which is adequate for a simple 3-parameter tool. Yet the lack of an output schema means the agent is not told the exact recommendation payload fields, priorities, or how to interpret conflicting suggestions, leaving some gap.

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 input schema already documents all three parameters with 100% coverage. The description adds no extra detail about treeId, focusThoughtId, or maxSuggestions beyond what the schema provides, so the baseline of 3 is appropriate.

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 purpose: analyze the current Tree of Thoughts state and return prioritized actionable recommendations. It distinguishes itself from execution tools by listing recommendation categories (generate children, evaluate thoughts, prune branches, etc.), though it never references a sibling by name.

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?

It clearly frames when to use the tool: 'when you are unsure what to do next', 'when the tree feels stuck, has many pending items, or you need guidance on the best next step'. It does not explicitly state when not to use it or name alternatives, but the conditions are specific enough for an agent to decide.

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