Skip to main content
Glama

List templates

list_templates
Read-only

Page through a project's templates, newest first: id, name and subject. Read one with get_template for its content.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "list_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: results are paginated, sorted newest first, and return only summary fields rather than full content — exactly the kind of fact an agent needs to decide whether a follow-up get_template call is required.

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 with zero filler; the core capability and ordering come first, and the disambiguation to get_template is a purposeful second beat. Nothing is repeated from the schema or annotations.

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 three-parameter read-only list tool with no output schema, the description supplies the return field set, the sort order, and the pagination model, which is close to what an agent needs. The remaining gap is pagination mechanics — how to pass the cursor and what limit controls — left undocumented at 0% schema coverage.

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 0%, so the description carries the burden and only partly does so. 'Page through' implies cursor/limit semantics and 'a project's templates' implies project_id, but there is no mention of the limit default of 50, the 1-200 bounds, or how a cursor is obtained from a prior response.

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?

States a specific verb and resource ('Page through a project's templates'), plus the ordering ('newest first') and the exact fields returned (id, name, subject). It is immediately distinguishable from get_template, which it names as the tool for retrieving content.

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

Usage Guidelines4/5

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

The closing sentence explicitly routes the agent to get_template when it needs a template's body, which is clear alternative-selection guidance. What's missing is a when-not clause (e.g., scoping to a single project vs. listing across projects) or any prerequisite note.

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