Skip to main content
Glama
HefnySco

Tree of Thoughts MCP Server

by HefnySco

get_tree_stats

Retrieve statistics for a reasoning tree to assess its structure, depth, and branching, helping evaluate the exploration of alternative thought paths.

Instructions

Get statistics about a tree

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
treeIdYesThe ID of the tree

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?

No annotations are provided, so the description carries full responsibility for disclosing behavior. It states that statistics are retrieved, but does not indicate whether this is read-only, what data the response contains, whether it has side effects, or how it handles missing or invalid tree IDs. This leaves a meaningful 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.

Conciseness4/5

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

The description is a single concise sentence with no redundant words. It is front-loaded and easy to parse. However, it errs toward underspecification, so it does not achieve the highest conciseness score where every word fully earns its place by adding necessary context.

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 is simple (one parameter, no nested objects), but the description is too vague about what 'statistics' actually includes. With no output schema and no annotations, the agent has no idea what the tool returns or what scenarios call for it. A bit more specificity, such as the kinds of metrics covered, is needed for proper use.

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 has 100% description coverage: treeId is described as 'The ID of the tree.' The description adds no additional parameter semantics, but the schema already handles the single parameter adequately, so a baseline score 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 clear action ('Get statistics') and a clear resource ('a tree'), which is enough to distinguish it from generic tree retrieval tools like get_tree. However, it does not explicitly differentiate itself from siblings such as get_tree_structure or get_best_thoughts, and 'statistics' remains somewhat underspecified.

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 provides no guidance on when to use this tool versus alternatives. It does not mention what kind of statistics are relevant, when get_tree or get_tree_structure would be more appropriate, or any exclusions. The agent must infer usage entirely from naming.

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