Skip to main content
Glama

get_template_detail

Retrieve the specification and example of a built-in template for HTML generation. Use this to understand template structure before creating HTML.

Instructions

(可选)获取某个内置模板的规范与示例,仅在用户希望基于模板生成 HTML 时调用;非流程必需步骤。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYes模板 ID
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It mentions the tool is optional and retrieves details, but does not explicitly state read-only behavior, authentication needs, or side effects. The purpose implies a read operation, but more clarity on behavior would improve this score.

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, front-loaded sentence that efficiently conveys purpose, usage context, and optionality without extraneous words.

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?

Given the tool has a single parameter and no output schema, the description adequately covers purpose and usage. It specifies the return concept ('规范与示例'), though it does not detail the structure. This is sufficient for a simple retrieval tool.

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 100% (template_id described as '模板 ID'). The overall description adds no extra meaning beyond the schema, meeting the baseline for full coverage.

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 clearly states it retrieves template specifications and examples, and indicates it is optional and only for HTML generation. It distinguishes from siblings like list_templates by specifying a conditional use case.

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?

Explicitly states when to call ('only when user wants to generate HTML based on a template') and that it is not a necessary step. Does not mention alternatives or when not to use, but the context of optionality provides sufficient guidance.

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/trtian/flash-cast-mcp'

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