Skip to main content
Glama
HefnySco

Tree of Thoughts MCP Server

by HefnySco

generate_children

Generate multiple diverse child thoughts from a parent thought to branch reasoning paths for structured problem-solving.

Instructions

Generate N diverse child thoughts for a parent thought (thought generation tool)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
treeIdYesThe ID of the tree
metadataNoOptional metadata for the thoughts
parentIdYesThe ID of the parent thought
numChildrenYesNumber of children to generate (default: 3)
diversityPromptNoOptional prompt to encourage diverse thought generation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

C2.9/5.0
Behavior2/5

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

There are no annotations, so the description must carry full behavioral disclosure. It states that children are generated, but does not reveal whether they are persisted to the tree, added as temporary outputs, or require a separate add_child call. Side effects, return behavior, and relationship to evaluation are all undisclosed.

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 concise sentence with the core action front-loaded. The parenthetical '(thought generation tool)' is slightly redundant but harmless and brief. Overall it is efficient and easy to scan.

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 five parameters, no annotations, no output schema, and many closely related sibling tools, this description is too sparse. It does not explain return values, mutation effects, or how it differs from generate_and_evaluate_children, leaving an agent under-equipped to correctly invoke it in context.

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 and the description need not re-explain parameters. The description's mention of 'N' and 'diverse' aligns with numChildren and diversityPrompt, but it adds no semantic value beyond the schema.

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 and resource: generate N diverse child thoughts for a parent thought. It clearly conveys the core action and resource, and the 'diverse' qualifier gives useful specificity. However, it does not explicitly distinguish itself from siblings like generate_and_evaluate_children or add_child, leaving the differentiation to names rather than description.

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 implies when to use the tool (when you want to diversify a parent thought) but provides no explicit guidance on when not to use it or which alternative to prefer. Given sibling tools like generate_and_evaluate_children exist, the missing explicit routing is a notable gap.

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