Skip to main content
Glama

1ClickSiteAI

List site templates

list_templates
Read-onlyIdempotent

Returns the site templates that create_site can build from. Each one has a templateId, a name, a description, a picture, and a preview address that is null while the preview site is not live. Call it once before create_site to choose a design and to get the templateId, and show your user the names and pictures if they have not chosen. Do not call it to look at a site that exists; use list_sites for that. The list is the same for every workspace and is kept for 5 minutes. It changes nothing and costs no credits.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
templatesYesThe templates in display order. Send a template's templateId to create_site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds value beyond them: the list is identical across every workspace, is cached for 5 minutes, changes nothing, and costs no credits. The note that preview address is null until the preview site is live pre-empts a confusing result. This is exactly the extra context annotations alone cannot convey.

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?

Front-loads what the tool returns, then the call-it-once rule, then the exclusion and routing to list_sites, then caching/cost facts. Four sentences, each carrying distinct actionable information, with no restatement of the title.

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?

For a simple no-param, read-only listing tool with an output schema, nothing an agent needs is missing: selection workflow, sibling routing, caching lifetime, side-effect profile, and credit cost are all stated.

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?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline is 4. The description instead spends its space on return-field semantics, which is appropriate for a no-arg listing tool.

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?

Opens with a specific verb and resource ("Returns the site templates") and immediately ties them to a purpose: the set create_site can build from. It also lists the per-item fields (templateId, name, description, picture, preview address), so an agent knows exactly what it gets without opening the output schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ("Call it once before create_site to choose a design and to get the templateId") and an explicit when-not with the correct alternative ("Do not call it to look at a site that exists; use list_sites for that"). It even covers the conversational case of the user not having chosen yet.

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