Skip to main content
Glama

list_templates

List all templates defined for the current org

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
envIdNoEnvironment the content lives in — defaults to the org's production environment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses very little. It implies a safe read via "List," but says nothing about whether results are paginated or truncated, what order they come in, whether an empty org returns an empty array, or whether any permission scope is required to see org templates.

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?

A single front-loaded sentence with no filler or hedging; every word contributes to the stated purpose. It is appropriately sized for a simple list operation, though its terseness leaves gaps addressed under usage and completeness rather than wasted text.

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?

For a one-optional-parameter list tool with no annotations and no output schema, the definition covers the basic contract but omits the return shape (fields per template, IDs available for follow-up calls) and pagination behavior. An agent can invoke it correctly but cannot predict what it will receive.

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?

The single optional envId parameter is fully documented in the schema, including the production-environment default, so the schema is already doing the explanatory work. The description adds no meaning beyond it — no guidance on when an agent would need to target a non-production environment or what happens to template visibility across environments.

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?

"List all templates" pairs a specific verb with a specific resource and scopes it to "the current org," so it is clearly distinguishable from get_template, create_template, update_template, delete_template, and the sibling list_* tools for entries, media, and MDX components. It loses a point only because it does not explicitly name a contrasting sibling or note the org-wide scope boundary versus env scoping.

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

Usage Guidelines2/5

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

The description states what the tool returns but gives no when-to-use guidance: nothing tells the agent when to call list_templates versus get_template for a single record, or how it relates to sibling listing tools. There are no prerequisites, no exclusions, and no indication of whether this is the canonical way to enumerate templates before update_template or delete_template.

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