Skip to main content
Glama

Thought Tree

Ask the human at a fork

ask_human

Only for a decision you cannot make from the code, docs or tree (taste, money, people outside the team, irreversible actions). Posts a question with 2-6 one-tap options and returns at once; keep working on other branches and read the answer later with open_tree. Returns the link to give your human. Without an answer, proceed with default only if it is reversible.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tree_id": "<tree_id>",
      "question": "<question>",
      "options": "<options>"
    },
    "name": "ask_human"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNoNode the decision belongs to. Default "root".
agentNoWho you are.
defaultNoOption label or letter (a, b, …) you will take if nobody answers.
optionsYesShort labels, best first.
tree_idYesTree id.
questionYesOne line the human can answer without reading the conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), the description discloses the non-blocking async contract ('returns at once; keep working on other branches'), the return value shape ('the link to give your human'), and the default-answer policy including its reversibility constraint. These are behavioral facts no structured field carries.

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?

Three dense sentences, each load-bearing: eligibility, mechanics plus return, and the unanswered-question policy. The when-to-use gate is front-loaded and the parenthetical examples add precision rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an async, human-facing, no-output-schema tool, the definition covers what matters: when it is appropriate, that it does not block, what it returns (a link), and what to do absent a response. Nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, so all six parameters are already documented, making the baseline 3. The description reinforces the 2-6 options constraint and gives 'default' real meaning via the reversibility rule, but it does not explain 'tree_id', 'node', 'agent', or label formatting beyond what the schema states.

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?

States a specific verb and resource ('Posts a question with 2-6 one-tap options') and immediately discloses the key property that it 'returns at once'. The sibling open_tree is named as the way to read the answer, so an agent can tell this apart from tree-inspection tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with an explicit gate ('Only for a decision you cannot make from the code, docs or tree') and enumerates the qualifying categories (taste, money, people outside the team, irreversible actions), which functions as when-not-to-use guidance. It also routes the agent to open_tree for retrieval and gives a fallback rule for unanswered questions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources