Skip to main content
Glama

List publishing templates

list_templates
Read-onlyIdempotent

Lists built-in and custom local templates with revisions, required or default parameters and available platform variants, omitting template bodies.

Instructions

Discover built-in and custom local templates, revisions, required/default parameters and available platform variants. Omits template bodies.

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
limitNo
queryNo

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description needn't restate safety. It does add genuinely useful scope information: the response includes revisions, required/default parameters and platform variants but explicitly excludes template bodies, which tells an agent whether a follow-up fetch is needed.

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?

Two short sentences, front-loaded with the resource and its scope, followed by the single most decision-relevant exclusion. Nothing is padded or repeated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value detail is correctly omitted, and the content scope is well covered. However, for a tool with an undocumented filter parameter and no stated result ordering or pagination behavior, the definition leaves the agent guessing about how to narrow a large template catalog.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the two parameters (limit, query), and the description says nothing about what query matches against or how limit affects results. The phrase "required/default parameters" refers to template metadata, not to the input parameters, so it risks being mistaken for parameter documentation rather than compensating for the gap.

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?

"Discover built-in and custom local templates" gives a specific verb and resource, and the follow-on clause enumerates what is exposed (revisions, required/default parameters, platform variants). The "Omits template bodies" note implicitly separates it from a full-template fetch, though no sibling is named.

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?

There is no explicit statement of when to call this versus get_template or render_template; usage is only implied by "Discover" and by the note that bodies are omitted. An agent can infer this is the browse-first step, but it must do the inference itself.

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