Skip to main content
Glama

labels_create_label

Create a new label to organize and categorize entities or areas in Home Assistant. Provide a name, and optionally set an icon, color, and description for easy identification.

Instructions

Create a new label via WS config/label_registry/create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
iconNo
colorNo
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

No annotations provided, so description must carry the full burden. It merely says 'Create a new label' with no disclosure of side effects, authorization requirements, rate limits, or any behavioral traits. A read-only hint is absent but this is a mutation tool.

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

Conciseness2/5

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

The description is a single short sentence but it is under-specified. It omits essential details that would justify its brevity. Conciseness should not sacrifice completeness.

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

Completeness1/5

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

Given the tool has 4 parameters (1 required), no annotations, and an output schema exists but is not referenced, the description is severely incomplete. It lacks usage context, parameter explanations, and behavioral transparency.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description adds no meaning to any of the four parameters (name, icon, color, description). It fails to explain what each parameter does or any constraints beyond the schema.

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 'Create a new label', a specific verb-resource combination. It distinguishes from sibling tools like labels_update_label and labels_create_category. Mentioning the WS endpoint adds specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. No context about prerequisites or when not to use it. Implicitly for creating labels, but no explicit differentiation from labels_create_category (for categories) or labels_update_label.

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