Skip to main content
Glama

list_templates

Retrieves pre-configured rich media, card, carousel, and text message templates AND template folders for an agent profile. Supports optional filtering by folderId or folderName.

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

Input Schema

NameRequiredDescriptionDefault
agentIdNoUnique ID or human-readable name of the agent profile (e.g. 'RubiCoffee', '9f936c06-...'). If omitted, uses active agent from context.
folderIdNoOptional template folder ID to filter by (pass 'root' to list only root templates outside folders).
accountIdNoOptional account ID (automatically scoped).
folderNameNoOptional template folder name to filter templates inside that folder (case-insensitive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / folderId
      Added value: +{
      +  "description": "Optional template folder ID to filter by (pass 'root' to list only root templates outside folders).",
      +  "type": "string"
      +}
    • addedInput schema / properties / folderName
      Added value: +{
      +  "description": "Optional template folder name to filter templates inside that folder (case-insensitive).",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden; 'Retrieves' signals a read operation but read-only safety is never declared. It does add real content-level detail by stating that both templates of four media types and template folders are returned, which tells the agent what to expect in the response. It omits pagination, result limits, ordering, and permission requirements, leaving meaningful gaps for an unannotated tool.

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?

Two short sentences with the resource enumeration front-loaded and filtering behavior second. Nothing is wasted, though the capitalized 'AND' for emphasis is slightly awkward and the sentence could name the sibling alternatives instead of repeating media-type adjectives.

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 zero-required-parameter read tool with no output schema, the description compensates reasonably by enumerating the returned content types and folders. Combined with fully documented schema parameters, an agent has enough to invoke it correctly. Pagination behavior and the default (unfiltered) return scope remain the notable omissions.

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 every parameter including agentId's default-to-active-agent behavior and folderId's 'root' sentinel is already documented in structured fields. The description adds only that folderId and folderName act as optional filters, which is a mild restatement of the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Uses a specific verb ('Retrieves') with a clearly enumerated resource: rich media, card, carousel, and text message templates plus template folders, scoped to an agent profile. An agent can distinguish this bulk-listing tool from get_template_detail or create_template by scope. It stops short of naming those siblings explicitly, which keeps it out of 5 territory.

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?

'Supports optional filtering by folderId or folderName' implies when the filters apply, and the phrase 'for an agent profile' hints at the scoping context. However, there is no explicit when-to-use vs. when-not guidance, no mention of get_template_detail for a single template, and no statement about whether folders are always returned or only when unfiltered.

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