Skip to main content
Glama
HefnySco

Tree of Thoughts MCP Server

by HefnySco

get_best_thoughts

Retrieve top-rated thoughts from a decision tree by providing a tree ID. Optionally set a limit and sort by evaluation, creativity, risk, or combined score to identify the most promising reasoning paths.

Instructions

Get the best evaluated thoughts in a tree, optionally sorted by criteria

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of thoughts to return (default: 5)
sortByNoSort criteria: evaluation (default), creativity, risk, or combined
treeIdYesThe ID of the tree

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It states the core read behavior and the optional sorting, but does not explain what 'best' means, whether prior evaluation is required, or what the return shape looks like. Some context is provided, but richer detail is missing.

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?

A single sentence with no fluff, front-loaded with the verb and resource. Every word contributes to the meaning.

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?

The tool has no output schema and no annotations, so the description should explain what is returned and any prerequisites. It only says 'best evaluated thoughts' without defining 'best', the return format, or whether evaluations must already exist. A getter with this little context leaves an agent guessing.

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 schema already documents all three parameters. The description adds only the notion of optional sorting, which aligns with sortBy. This meets the baseline for schema-covered parameters.

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 clearly states the action ('Get') and the resource ('best evaluated thoughts in a tree'), and mentions optional sorting. While it does not explicitly differentiate from sibling tools, the focus on 'best evaluated thoughts' is specific enough to be distinct from get_thought or get_tree_structure.

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?

The description gives no guidance on when to use this tool versus alternatives like get_thought, evaluate_thought, or get_tree_structure. No exclusions or alternative conditions are mentioned.

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