Skip to main content
Glama

List the trees

list_trees
Read-onlyIdempotent

The trees in the account's Forest: each one's slug (which concept IDs start with), name, description, and source. Call it first when you don't know the trees: other tools take a slug as tree or trees. list_directory browses one tree; search_concepts finds concepts across them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_trees"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
treesYesThe account's trees.
accountYesThe account whose Forest this is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so the safety profile is covered. The description adds the discovery-prerequisite behavior and the slug-to-concept-ID relationship, which annotations cannot convey. It does not mention ordering or result size, but the output schema covers the return shape.

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?

Two compact sentences: the first states what is returned, the second states when to call it and which siblings to use instead. No filler, and the call-first guidance is front-loaded in the second sentence.

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 a zero-parameter discovery tool with full annotations and an output schema, the description covers purpose, ordering, and sibling routing. 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no input semantics to explain and the baseline is 4. The description usefully notes that the slug it returns is what downstream tools expect as `tree` or `trees`, tying output to other tools' inputs.

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?

The description names the exact resource (the account's Forest trees) and enumerates the returned fields (slug, name, description, source), including the useful detail that concept IDs are prefixed by the slug. It explicitly names the sibling tools it differs from, so an agent can distinguish it without opening any 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?

It gives an explicit call-order rule ('Call it first when you don't know the trees') because other tools consume a slug as `tree` or `trees`. It also routes the agent to specific alternatives by function: list_directory for one tree, search_concepts for concept search.

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