Skip to main content
Glama

card_builder_list_card_templates

Retrieves built-in card recipe templates for Home Assistant. Filter by domain to find templates targeting specific entity types.

Instructions

List built-in card recipe templates.

Each entry: {name, label, description, domains}. Pass domain to filter to templates that target a specific HA entity domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does not explicitly state that the tool is read-only or safe, but listing built-in templates is inherently non-destructive. The lack of explicit behavioral disclosure is a minor gap.

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 three short sentences, front-loaded with the purpose, and contains no fluff. Every sentence adds value: the first states the action, the second details the output format, and the third explains the filter parameter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema, the description does not need to detail return values, but it still provides the entry structure. With one optional parameter, the description fully covers what the tool does and how to use the filter, making it complete for its simplicity.

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 input schema has 0% description coverage for the domain parameter, but the description compensates well by explaining that 'domain' filters to templates targeting a specific HA entity domain. It adds functional meaning beyond the schema's type and default value.

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 lists built-in card recipe templates, includes the structure of each entry, and explains the filtering option. This distinguishes it from sibling tools like card_builder_get_card_template or card_builder_list_cards.

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 description explains the optional domain filter to narrow results, providing clear context for when to use it. It does not explicitly mention when not to use this tool or suggest alternatives, but for a simple listing tool, this is adequate.

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/Fistacho/ha-nexus-agent'

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