Skip to main content
Glama

get_app_tree

Fetches an app version tree with statuses, entity counts, nesting, and publication checks in one call, so you can inspect an unfamiliar app or verify your work before handover.

Instructions

App tree in one call: all versions with statuses, where to write (editing), and for the working version, how many triggers, actions, auth methods, lists and other entities, plus checks: what is silently broken in it (no error handler, a webhook trigger has nowhere to get its URL, it has no webhook subscription, a request reads a list without pagination, steps have no descriptions, a field on a child list won't get items, wizard steps are out of order, a webhook trigger with a wizard lacks a bundle filter). If the version has list chains or wizards, also nesting: the list tree from the roots, wizards with their steps and who uses them. The working version is the latest; versionId shows another one. Start here when working with an unfamiliar app, and use the same call to check your own work before handing it over.

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": {
      "appId": "<appId>"
    },
    "name": "get_app_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesApp ID
versionIdNoAnalyze this version instead of the latest

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the default version semantics ('The working version is the latest; versionId shows another one') and enumerates the specific silent-failure checks performed. It does not state cost, response size, or that the call is strictly read-only, which for a large aggregate tree would be useful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The core purpose is front-loaded, but the middle is a single sprawling sentence with a long parenthetical list of checks that is hard to scan. Every item is informative, yet the density and run-on structure cost readability; a short bulleted or clause-separated breakdown would preserve the content with less parsing effort.

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?

There is no output schema, so the description must describe the return shape, and it does so thoroughly: versions and statuses, edit target, entity counts, brokenness checks, and conditional nesting for list chains and wizards. An agent knows what it will get and when the extra nesting sections appear.

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%, so the baseline is 3, but the description adds real meaning by defining 'working version' as the latest and clarifying that versionId selects a different one for analysis. That resolves the ambiguity of what the default target actually is, going beyond the schema's terse 'Analyze this version instead of the latest.'

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 opens with a specific verb+resource framing ('App tree in one call') and enumerates exactly what is returned: all versions with statuses, the editable version, entity counts for the working version, and structural checks. This is clearly distinguishable from siblings like get_entities, get_entity, and diff_versions, which each cover a narrower slice.

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 explicit when-to-use guidance: 'Start here when working with an unfamiliar app, and use the same call to check your own work before handing it over.' That covers both discovery and verification contexts. It stops short of naming alternatives or stating when not to use it (e.g., when you already know the entity you want and should call get_entity).

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