Skip to main content
Glama

Get an example tree

get_example
Read-onlyIdempotent

Complete, working example trees (enemy patrol, cooldown-gated attacks, robot navigation with recovery, and more) to learn the format from or start with. Without an id, lists the examples; with an id, returns that tree as behavior3 JSON.

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": "get_example"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoExample id from the list; omit to list them

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and non-destructive, so safety behavior is covered. The description adds useful detail about the dual list/fetch behavior and the behavior3 JSON return format for the id mode. It does not discuss return shape for the list mode, but with a read-only idempotent fetch that is a minor gap.

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 sentences with zero waste: the first sells the content and the second defines the branching behavior. The list-versus-fetch distinction is front-loaded in the second sentence where it matters.

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

Completeness4/5

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

For a one-optional-param read-only tool with full schema coverage and annotations, this is nearly complete: content examples, both modes, and return format for the fetch case. Only the list-mode return shape is left implicit, which is a small omission given there is no output schema.

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?

Schema coverage is 100% and the single parameter is documented in the schema, so the baseline is 3. The description adds meaning beyond the schema by explaining both the omitted-id behavior (lists the examples) and the with-id behavior (returns that tree as behavior3 JSON), which clarifies the consequence of the parameter.

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 states a specific resource (complete, working example trees) and distinguishes the two modes clearly: with an id it returns one tree, without an id it lists them. Sibling tools like convert_tree and validate_tree operate on trees the agent already has, so this tool's role as a starting-point/reference source is distinguishable.

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

Usage Guidelines4/5

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

It gives clear usage context ('to learn the format from or start with') and explains the two-mode invocation. It doesn't explicitly exclude alternatives or say when to prefer read_guide over this, but the intended use is evident from the text itself.

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.