Skip to main content
Glama

List documentation templates

list_document_templates
Read-onlyIdempotent

Documentation templates: the global ones (features, monitoring, communication, sales, project), then yours. A template gives a documentation's rule, outline and sources.

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_document_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
templatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / $defs / TemplateOut / properties / guidance / description
      Previous value: -"Règle copiée dans la documentation créée depuis ce modèle."New value: +"Rule copied into the documentation created from this template."
    • changedOutput schema / $defs / TemplateOut / properties / outline / description
      Previous value: -"Titres Markdown exigés dans le contenu."New value: +"Markdown headings required in the content."
    • changedOutput schema / $defs / TemplateOut / properties / personal / description
      Previous value: -"Modèle à toi (modifiable) ; sinon modèle global."New value: +"Your own template (editable); otherwise a global template."
    • changedOutput schema / $defs / TemplateOut / properties / source_categories / description
      Previous value: -"Catégories de notes lues ; vide : toutes."New value: +"Note categories read; empty: all of them."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral detail beyond that: results are ordered global-first-then-personal, and the built-in categories are enumerated. It does not discuss ordering guarantees beyond that, filtering, or any auth/workspace scoping, so it is a moderate rather than rich addition.

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?

Two short sentences, front-loaded with the resource and scope. The colon-fragment opening and the dangling 'then yours' are slightly informal but cost little; every clause carries information about what the list contains.

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?

With an output schema present, the description need not explain return values, and with zero parameters there is no input surface to document. The remaining complexity — which templates appear and in what order — is answered. Only the absence of any routing to save/archive template siblings leaves a small gap.

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 for the description to carry; the schema already declares an empty object. Baseline 4 applies, with no evidence of misleading or missing parameter context.

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?

The description identifies the resource (documentation templates) and its scope: global built-in templates grouped by category (features, monitoring, communication, sales, project) followed by the caller's own. It reads more as a noun-phrase inventory than a verb statement, so an agent must infer 'list' from the name, but the content is specific enough to distinguish this from save_document_template or archive_document_template.

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?

Usage is only implied — an agent gathers that calling this surfaces templates it could then apply or inspect. There is no explicit statement of when to call it versus save_document_template or archive_document_template, and no prerequisites or exclusions are given.

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