Skip to main content
Glama

List Templates

list_templates
Read-onlyIdempotent

List canonical company templates, optionally filtered by kind, scope, command use case, creator, or public t-xxxx share code, with usage sorting. Keeps identify which values apply. Templates persist canonical commands but do not execute generations. System templates named Demo — … are worked examples of the canonical command language; read one with get_template before authoring a first brief or workflow.

Input Schema

NameRequiredDescriptionDefault
kindNo
pageNoPage number for pagination
sortNonewest
use_caseNoFilter by a use_case present in any stored command
share_codeNoReturn the template assigned this public t-xxxx share code
catalog_scopeNoFilter by library or owner_only. Owner-only templates are hidden unless explicitly requested.
template_kindNoFilter generation presets or read-only historical batch_workflow records
items_per_pageNoNumber of templates per page
created_by_profile_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / created_by_profile_id
      Added value: +{
      +  "default": null,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "default": null,
      +  "enum": [
      +    "image",
      +    "edit",
      +    "video"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "newest",
      +  "enum": [
      +    "newest",
      +    "most_used",
      +    "last_used"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / $defs / TemplateKind / description
      Added value: +"generation_preset is writable; batch_workflow is retained read-only history."
    • changedInput schema / properties / template_kind / description
      Previous value: -"Filter by generation_preset or batch_workflow"New value: +"Filter generation presets or read-only historical batch_workflow records"
  3. Changed1 schema field changed
    • addedInput schema / properties / share_code
      Added value: +{
      +  "default": null,
      +  "description": "Return the template assigned this public t-xxxx share code",
      +  "pattern": "^t-[a-z0-9]{4}$",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds value by clarifying that templates persist canonical commands but do not execute generations (a key misconception an agent could have) and that owner-only entries are hidden unless requested. Return shape and pagination behavior are not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, mostly dense and front-loaded, but the middle fragment 'Keeps identify which values apply' is broken and wastes space without conveying anything actionable. Otherwise there is little redundancy.

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 9-parameter, zero-required listing tool with no output schema, the description covers filtering, sorting defaults conceptually, and the Demo/get_template workflow. It never sketches what a returned template looks like, so an agent must infer the response shape from the schema alone.

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?

Schema coverage is 67%, and the description compensates by naming the filter axes — kind, scope, command use case, creator, public t-xxxx share code — and usage sorting, mapping them to use_case, catalog_scope, created_by_profile_id, share_code and sort. It adds interpretive meaning (e.g. 'command use case') beyond the raw enum fields, though pagination controls go unmentioned.

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?

Opens with a concrete verb+resource ('List canonical company templates') and enumerates the filter dimensions plus sorting, which separates it from sibling list tools like list_briefs or list_art_directions. The fragment 'Keeps identify which values apply' is garbled and slightly muddies an otherwise precise statement of purpose.

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?

Gives real routing guidance: system templates named 'Demo — …' are worked examples, and the agent should read one via `get_template` before authoring a first brief or workflow. It lacks explicit when-not-to-use and doesn't contrast with other list tools, so it stops short of a 5.

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