Skip to main content
Glama

list_templates

Find the right HTML template by listing all available templates with their metadata, including name, use case, format, and components.

Instructions

列出 templates/ 目录下所有可用的 HTML 模板,返回模板元数据(名称、适用场景、格式、组件等)。编排层可据此选择最合适的模板。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templatesDirNo模板目录的绝对路径,默认为项目根目录下的 templates/
Behavior3/5

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

No annotations provided, so the description must fully disclose behavior. It describes a read operation (listing) with no mention of side effects, permissions, or rate limits. While adequate, it lacks explicit read-only confirmation.

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?

The description is a single concise sentence with a follow-up note, front-loading the core action. No wasted words; every part serves a purpose.

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 simple listing tool with one optional parameter, the description is largely complete. It mentions the output (metadata fields) but could further specify the exact structure or field types, especially given no output schema.

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 schema covers the single parameter (templatesDir) with 100% coverage, so the description adds no additional meaning. Baseline 3 is appropriate as the schema suffices.

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?

The description clearly states the tool's action (list templates) and the resource (templates/ directory). It specifies the return data (metadata including name, applicable scenario, format, components) and distinguishes from siblings by focusing on discovery rather than loading or processing templates.

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?

The description implies usage for orchestration layer template selection but does not explicitly state when not to use it or compare with alternatives like load_template. Guidance is present but not comprehensive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SUSTechWLA/ppt-generator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server