Skip to main content
Glama

get_app_structure

Read one AppBuild editor app's structure: its pages, the functions configured on them, and its branding colours and logo. Ownership-checked against the authenticated account. Read-only.

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_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe app id (UUID)
includeConfigNoInclude each function's stored config object. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/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 it does add real value by declaring 'Read-only' and 'Ownership-checked against the authenticated account', telling the agent changes are not a risk and access is scoped to the caller's apps. It does not say what happens when the app is not found or not owned, nor give any indication of response size or latency for large apps.

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 short sentences, front-loaded with the core verb and payload, then the authorization constraint, then the safety tag. No redundant restatement of the name and nothing that could be cut.

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 two-parameter read tool with no output schema, the description covers the resource, the returned content categories, the auth model and read safety. Error/empty-state behavior is the only notable omission, which is minor for a lookup operation.

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 both parameters are fully documented in the schema itself, setting the baseline at 3. The description adds a meaningful default note implicitly by framing the core result as pages/functions/branding, while includeConfig's opt-in nature is left entirely to the schema; a small bonus over baseline for framing what the default payload is.

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?

States a specific verb ('Read') plus resource ('one AppBuild editor app's structure') and enumerates contents: pages, configured functions, branding colours and logo. It is clearly distinguishable from list_apps or get_app by the structural scope, though it never names the sibling it differs from.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'structure' and the final 'Read-only' tag; there is no explicit when-to-use guidance and no comparison to get_app, which an agent could plausibly pick instead. The agent must infer that this tool is for inspecting an existing app's composition rather than its metadata.

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