Skip to main content
Glama
Vortitron

home-assistant-mcp

by Vortitron

Fire an event

ha_fire_event

Fire a custom event on the Home Assistant event bus to trigger event-based automations for testing; writes must be enabled.

Instructions

Fire a custom event on the Home Assistant event bus (advanced). Useful for triggering event-based automations during testing. Requires writes to be enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_dataNoOptional event data payload.
event_typeYesEvent type, e.g. 'my_custom_event'.
instance_idNoOptional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the write/open-world nature is known. The description adds a useful precondition ('Requires writes to be enabled') and an audience hint ('advanced'), but says nothing about effect on state, idempotency, or failure modes.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action, then the use case. No padding; only mild redundancy between the title and the first clause.

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

Completeness3/5

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

For a mutation tool with no output schema but with annotations, the definition covers what it does and its prerequisite, but omits return/failure behavior and any routing guidance against the many other triggering siblings. Adequate but with clear gaps.

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% and all three parameters (event_type, event_data, instance_id) are documented in the schema. The description adds no format, syntax, or payload guidance beyond that, so the baseline 3 applies.

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?

States a specific verb and resource: fire a custom event on the Home Assistant event bus, and flags it as advanced. It does not name a sibling alternative (e.g. ha_trigger_automation or ha_call_service), so the agent still has to infer how it differs from other triggering tools.

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?

Gives an implied use case (triggering event-based automations during testing) but no explicit when-not-to-use or named alternative. The condition selecting this over ha_trigger_automation is left to inference.

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

Deploy Server

Other Tools