Skip to main content
Glama

List branches

layerz_list_branches
Read-only

List the Layer definitions on a model (id, display_name, priority, source_hint, file_name, actuals_through, actuals_through_locked, created_at). The default Layer is always present. actuals_through_locked means the real/forecast cutover was pinned by the user — source syncs will not move it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idNoTarget model UUID. Required for user-scoped API keys; ignored (or validated against scope) for model-scoped keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds meaningful behavioral context beyond the schema: the default Layer is always present, and it explains the semantics of actuals_through_locked (pinned by user, source syncs will not move it). This helps the agent interpret results correctly.

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

Conciseness4/5

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

The description is compact: two sentences plus a parenthetical field list. The field list is front-loaded, and the behavioral note about actuals_through_locked is valuable. Slight redundancy with the title ('List branches' vs 'List the Layer definitions') but no wasted words.

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 read-only list tool with one optional parameter and no output schema, the description covers the key semantics: what is returned, the guaranteed presence of the default Layer, and the meaning of a non-obvious field. It doesn't describe pagination or sorting, but those are minor for a list tool with annotations already covering safety.

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 description coverage is 100%, so the schema already documents model_id thoroughly, including its optionality and behavior for different key scopes. The description adds no parameter-specific meaning beyond the schema, so baseline 3 is appropriate.

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?

The description states a specific verb ('List') and resource ('Layer definitions on a model'), and enumerates the returned fields. It distinguishes itself from sibling tools like layerz_list_models and layerz_list_transactions by specifying it lists Layers on a model, though it doesn't explicitly name a sibling alternative.

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?

The description implies usage context: it lists Layers on a model, and the model_id parameter description clarifies when it is required vs ignored. However, it doesn't explicitly state when to use this tool over alternatives like layerz_list_models or layerz_get_model, nor does it provide exclusions or conditions.

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