Skip to main content
Glama

ha_call_service

Execute a Home Assistant service by providing domain, service, and data, with a confirmation step for secure control.

Instructions

Ejecuta un servicio de Home Assistant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
confirmYes
serviceYes
service_dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior1/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 of behavioral disclosure. It only says a service is executed, without mentioning side effects, state changes, the required confirmation, entity impacts, or any safety-related behavior.

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 sentence and front-loaded, but it is under-specified rather than appropriately concise. It is short but provides almost no operational information, so the brevity is a weakness rather than a strength.

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?

For a generic execution tool with four required parameters, no output schema, and no annotations, the description is severely incomplete. It lacks examples, the meaning of 'confirm', side-effect warnings, and any relationship to sibling tools, making it inadequate for correct selection and invocation.

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%, and the description adds no explanation of 'domain', 'service', 'service_data', or 'confirm'. With four required parameters including a confirmation field, the agent gets no help beyond the bare parameter names.

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 names a specific verb ('Ejecuta') and a resource ('servicio de Home Assistant'), so it states at a high level what the tool does. However, it does not distinguish this generic service caller from sibling tools like ha_turn_on or ha_trigger_automation, which are also Home Assistant service actions.

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?

There is no guidance on when to use this generic service caller versus the more specific sibling tools, nor any mention of prerequisites, confirmation, or intended context. The agent is left to infer all usage cases from the generic one-liner.

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