Skip to main content
Glama

List layer templates

list_layer_templates
Read-only

Browse and search saved layer templates that fit any clip length, including optional intro/outro, with sorting, filter queries, and cursor pagination.

Instructions

Your layer templates (layers that fit any clip length, plus an optional intro / outro), newest change first; q, sort, dir as on the Templates page. Returns { items: [{ id, name, layerCount, layers, bumpers, updatedAt }], nextCursor, total, deleted } (deleted = restorable). A layer has the clip-layer fields plus timing { mode, start, end, minSec, maxSec }: head = seconds after the start; tail = seconds before the end (0 = the end); fill = whole clip; relative = fractions 0-1 of the length, within minSec to maxSec

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

Input Schema

NameRequiredDescriptionDefault
qNoOnly templates whose name has with every word (a typo within a word still matches)
dirNoasc or desc; default: names A to Z, dates and lengths newest or longest first
sortNoOrder: updated (default), created or name
limitNoTemplates per page (1-500, default 100)
cursorNonextCursor from the previous page (same q, filters and sort); omit for the first page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / cursor / description
      Previous value: -"nextCursor from the previous page; omit for the first page"New value: +"nextCursor from the previous page (same q, filters and sort); omit for the first page"
    • addedInput schema / properties / dir
      Added value: +{
      +  "description": "asc or desc; default: names A to Z, dates and lengths newest or longest first",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Only templates whose name has with every word (a typo within a word still matches)",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "Order: updated (default), created or name",
      +  "enum": [
      +    "updated",
      +    "created",
      +    "name"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.26.3
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "nextCursor from the previous page; omit for the first page",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 100,
      +  "description": "Templates per page (1-500, default 100)",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. Addedv0.23.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest and does well: it discloses the response envelope (items, nextCursor, total, deleted), that deleted means restorable, the default sort, and pagination via cursor. It does not state rate limits or whether deleted templates appear by default in items.

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?

Front-loaded with purpose and default ordering, then the return shape. It is dense and parenthetical-heavy, but since there is no output schema every clause about the response and timing modes earns its place; only "as on the Templates page" is a reference the agent cannot resolve locally.

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?

With no output schema, the description takes on the burden of describing returns and does so: item fields, pagination tokens, total, and the deleted-restorable flag, plus a full explanation of layer timing modes (head/tail/fill/relative with bounds). Nothing an agent needs to call or interpret this tool is missing.

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 all five parameters already carry their own docs including defaults and ranges; the description adds little beyond pointing q/sort/dir at the Templates page behavior. The detailed timing vocabulary (head/tail/fill/relative) describes returned layer data, not input parameters.

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?

"Your layer templates (layers that fit any clip length, plus an optional intro / outro)" gives a specific verb+resource and even defines what a layer template is, distinguishing it from the mutation siblings like save_layer_template or apply_layer_template. Default ordering ("newest change first") is stated up front.

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 implied rather than stated: the agent can infer this is the paginated browse/search entry point, and "q, sort, dir as on the Templates page" implies filtering behavior. There is no explicit routing advice such as "use this to find a template id before calling apply_layer_template", and no mention of how deleted items relate to list_deleted.

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

Deploy Server

Other Tools