Skip to main content
Glama
FernanMoreno

domoai-mcp

by FernanMoreno

DomoAI

通用代理化家庭自动化运行时,具有语义设备模型、多适配器组合及一个通用 MCP 接口。

开发环境

本项目使用 uv 和 Python 3.12。

uv sync
uv run pytest
uv run ruff check .
uv run mypy src

运行时依赖包括 MCP Python SDK、Pydantic、Home Assistant HTTP/WebSocket 客户端、用于可选 Zigbee2MQTT 适配器的 aiomqtt、JSON Schema 验证和 OR-Tools。本地 SQLite 持久化使用 Python 标准库。开发工具通过 uv 的默认 dev 依赖组安装。

要添加或更新依赖,编辑 pyproject.toml 并重新生成锁文件:

uv lock
uv sync

Related MCP server: Home Assistant MCP Server

本地 MCP 服务器

语义 MCP 服务器可通过 stdio 启动。如果没有 Home Assistant 设置,则使用确定性夹具:

uv run domoai-mcp

示例主机配置:

{
  "mcpServers": {
    "domoai": {
      "command": "uv",
      "args": ["run", "domoai-mcp"],
      "cwd": "/path/to/DomoAI"
    }
  }
}

相同命令可注册到 Claude Code、Codex 或其他兼容的 MCP 客户端。

统一 MCP 界面

单一 domoai-mcp 服务器通过同一 MCP 会话暴露发现、状态、能源上下文、策略感知的计划验证/执行以及仅提议的 OR-Tools 工具 validate_scenario、optimize_scenario 和 explain_solution。在 Claude Code、Codex 或任何其他支持本地 stdio 的兼容 MCP 客户端中仅注册一个服务器:

{
  "mcpServers": {
    "domoai": {
      "command": "uv",
      "args": ["run", "domoai-mcp"],
      "cwd": "/path/to/DomoAI"
    }
  }
}

OR-Tools 仍然是内部提议/验证/解释层。它不能执行设备、批准计划或调用适配器,并且没有第二个公共的 OR-Tools MCP 端点。

可移植的 optimize-home-energy 技能通过一个 mcp 角色路由所有 DomoAI 操作。其参考工作流通过确定性进程内夹具进行本地验证:

uv run pytest -q tests/contract/test_skill_contract.py
uv run pytest -q tests/integration/test_energy_skill_workflow.py

工作流对语义读取、提议、解释和计划验证使用相同的连接,并且绝不执行 execute_plan 以外的操作。敏感计划暂停以等待操作员明确批准。

对于能源感知场景,可移植的 v2 过程在调用仅提议的优化器之前,通过 mcp.get_energy_context 读取完整的类型化上下文。上下文将电价和太阳能预测对齐到固定时间范围,并可能包含一个电池配置文件。CP-SAT 返回成本、峰值进口和太阳能自消费证据以及每个时段的能量平衡;它绝不调用物理适配器。上下文失败、修订不匹配、不可行性或求解器超时会在验证和执行之前停止。确定性提供者和专注的验收命令由仓库合约和集成测试覆盖。

实时能源数据的一次性太阳能配置文件

每当请求能源上下文时,会自动收集 OMIE 电价和 Open-Meteo 预报。仅需一次性提供物理安装元数据。复制示例,将其占位值替换为逆变器或安装商数据,并将运行时指向该文件:

cp config/solar-profile.example.json config/solar-profile.json
export DOMOAI_ENERGY_LIVE=1
export DOMOAI_TARIFF_PROVIDER=omie
export DOMOAI_SOLAR_PROVIDER=open_meteo
export DOMOAI_SOLAR_PROFILE_PATH=config/solar-profile.json
uv run domoai-mcp

配置文件是严格的、版本化的且无凭证。在使用结果进行优化之前,必须包含真实的安装值;示例中的马德里值仅用于说明格式。旧的独立 DOMOAI_SOLAR_* 变量仍可作为互斥的兼容性回退使用。

通用提供者 SDK

未来的 Home Assistant、逆变器和 MQTT 集成必须在到达语义运行时之前,将其来源特定的身份和有效负载转换为 Provider SDK v1 边界。SDK 重用 DomoAI 的标准 DeviceType、Capability 和 SourceRef 模型,并将提供者分为遥测和命令角色:

external provider
      ↓
ProviderManifest + DeviceDescriptor + Measurement
      ↓
ProviderRegistry (stable order, safe diagnostics)
      ↓
canonical runtime / StateStore / MCP / OR-Tools

提供者命令仅携带有限语义参数和幂等键。它们不会绕过 PlanService、策略验证或 AdapterPort。第一个具体实现是 HomeAssistantProvider。它重用经过身份验证的 REST/WebSocket 客户端,当注册表元数据可用时按 Home Assistant device_id 分组实体,并仅暴露显式的实体/能力指标映射。它是对经典 HomeAssistantAdapter 的补充;运行时工厂仅在显式启用 DOMOAI_HOME_ASSISTANT_PROVIDER=1 时选择它。同一提供者对象注册在 ProviderRegistry 中,并由现有的 AdapterPort 包装,因此 DeviceRegistry、StateStore、计划执行和 MCP 保持一条语义路径和一个 Home Assistant 客户端。 请参阅 docs/adapter-sdk.md 和 docs/contracts.md 了解公共边界。

实时 Home Assistant 运行时

Para desarrollo local sin hardware, el laboratorio virtual reproducible está en dev/lab/README.md y su arranque mínimo cubre Mosquitto/fake Zigbee2MQTT y PyModbus. Home Assistant, Matter Server y KNX Virtual/ETS permanecen como perfiles manuales opt-in.

La ruta recomendada para operar ese laboratorio es el runner explícito:

uv run domoai-lab up
uv run domoai-lab status
uv run domoai-lab smoke

El smoke usa únicamente fixtures locales de Home Assistant, MQTT/Zigbee2MQTT, Modbus, Matter y KNX; no inventa gateways, tokens ni commissioning. Los smoke tests live siguen separados y requieren sus servicios y variables DOMOAI_* reales.

组合根节点在未配置实时源时选择确定性夹具,对于单个源选择直接适配器,对于两个或更多完整源配置选择组合运行时。按如下方式配置 Home Assistant:

export DOMOAI_HOME_ASSISTANT_URL="http://home-assistant.local:8123"
export DOMOAI_HOME_ASSISTANT_TOKEN="<long-lived-access-token>"
export DOMOAI_HOME_ASSISTANT_PROVIDER="1"
export DOMOAI_HOME_ASSISTANT_MAPPING_PATH="config/home-assistant-mappings.json"
export DOMOAI_DATABASE_PATH="data/domoai.sqlite3"
uv run domoai-mcp

提供者模式是可选加入的。未启用时,选择经典 HomeAssistantAdapter 以保持兼容性。如果启用,需要 URL/令牌对,并且可选严格 v1 映射文档可以使能源角色显式化:

{
  "schema_version": "v1",
  "metric_mappings": {
    "sensor.pv_power": {"power": "energy.pv.power"},
    "sensor.grid_power": {"power": "energy.grid.power"}
  }
}

运行时对 REST 服务调用进行身份验证,将计划、结果和脱敏审计事件持久化到 SQLite,并在后台运行适配器事件消费者。当前支持的写入映射包括灯/开关电源和开关操作、灯光亮度、窗帘位置/打开/关闭/停止以及气候目标温度。不完整的 URL/令牌对会在启动前被拒绝。令牌作为秘密配置读取,永远不会包含在设备、命令、结果或审计负载中。

Provider SDK 路径可以独立于运行时工厂进行测试:

provider = HomeAssistantProvider(
    HomeAssistantClient(base_url, token),
    metric_mappings={
        "sensor.pv_power": {"power": "energy.pv.power"},
        "sensor.battery_soc": {"battery": "battery.soc"},
    },
)

只有映射的传感器能力才会成为标准能源指标。客户端还会通过 WebSocket 读取 Home Assistant 已启用的实体注册表(当状态负载不包含 device_id 时);注册表身份在提供时保留,绝不会从名称或区域推断。

移除 DOMOAI_HOME_ASSISTANT_PROVIDER 会回退到经典适配器,且不影响面向代理的 MCP 界面。提供者路径由确定性夹具覆盖。可选加入的实时提供者-运行时冒烟测试在真实 Home Assistant 实例上验证同一路径,但不执行命令:

uv run pytest -q tests/integration/test_home_assistant_provider_smoke.py

它需要真实的 URL/令牌对,并将令牌保留在仓库外部。

实时 Zigbee2MQTT 运行时

原生 Zigbee2MQTT 适配器是可选加入的,支持有界 v1 配置文件:灯/开关电源、灯光亮度、温度、湿度和占用状态。与 Home Assistant 或其他源一起配置:

export DOMOAI_ZIGBEE2MQTT_URL="mqtt://mqtt-broker.local:1883"
export DOMOAI_ZIGBEE2MQTT_BASE_TOPIC="zigbee2mqtt"
export DOMOAI_MQTT_TIMEOUT_SECONDS="5"
export DOMOAI_MQTT_USERNAME="domoai"
export DOMOAI_MQTT_PASSWORD="<mqtt-password>"
uv run domoai-mcp

Zigbee2MQTT 可以与 Home Assistant 或其他已配置的源一起运行。适配器消费 Zigbee2MQTT 桥接器/设备主题,并通过现有的计划、策略和执行器边界仅发布映射的设备 /set 命令。配对、移除、OTA、组、桥接器管理和任意 MQTT 发布不会被暴露。

实时 Matter Server 运行时

原生 Matter 适配器将 Matter Server 作为控制器边界,并连接到其兼容的 WebSocket 端点。与 Home Assistant、Zigbee2MQTT 或其他源一起配置:

export DOMOAI_MATTER_SERVER_URL="ws://matter-server.local:5580/ws"
export DOMOAI_MATTER_TIMEOUT_SECONDS="5"
uv run domoai-mcp

适配器在发现之前验证服务器模式范围,保留 node:<node_id>/endpoint:<endpoint_id> 源引用,并仅暴露有界 v1 灯/开关电源和亮度配置文件以及只读的温度、湿度和占用状态。配网、织物管理、OTA、组、供应商集群和任意属性操作仍在面向代理的边界之外。实时 Matter 冒烟测试是可选加入的;夹具测试不需要 Matter 服务器或硬件。

实时 KNX/IP 运行时

原生 KNX 适配器使用显式映射文件,而不是从任意组流量推断设备。其有界 v1 配置文件支持灯和开关电源、灯光亮度以及只读的温度、湿度和占用状态。与其他物理源一起配置:

export DOMOAI_KNX_GATEWAY_HOST="knx-gateway.local"
export DOMOAI_KNX_CONFIG_PATH="config/knx.json"
export DOMOAI_KNX_TIMEOUT_SECONDS="5"
uv run domoai-mcp

映射文件声明每个实体、语义能力、状态组地址、命令组地址和 DPT。未知字段、格式错误的地址、不支持的 DPT 和可写传感器映射会在启动时被拒绝。KNX/IP 隧道是可选的,并且可以与其他已配置的适配器共存;夹具测试使用内存传输,不需要网关或硬件。ETS 导入、配网、路由、安全凭据、任意组值操作、场景和额外的 xknx 设备配置文件不包含在 v1 中。

实时 Modbus TCP 运行时

原生 Modbus 适配器使用显式的 v1 映射,包括单元 ID、寄存器区域、基于零的 PDU 偏移和标量编码。它支持灯/开关电源、灯光亮度以及只读的温度、湿度和占用状态。与其他物理源一起配置:

export DOMOAI_MODBUS_HOST="modbus-controller.local"
export DOMOAI_MODBUS_PORT="502"
export DOMOAI_MODBUS_CONFIG_PATH="config/modbus.json"
export DOMOAI_MODBUS_TIMEOUT_SECONDS="5"
export DOMOAI_MODBUS_POLL_INTERVAL_SECONDS="5"
uv run domoai-mcp

映射是严格的,不会扫描或推断设备。未知字段、模糊的 40001 样式地址、不支持的编码、可写传感器和不安全命令会被拒绝。Modbus TCP 是可选加入的,可以与 Home Assistant、Zigbee2MQTT、Matter Server 和 KNX 共存。RTU/ASCII、TLS、扫描、供应商功能码和任意寄存器读/写不在 v1 范围内。夹具测试使用内存传输,不需要控制器或硬件。

多适配器身份和路由

运行时遵循 Home Assistant 的设备/实体区分:一个物理源设备可能暴露多个源实体,而 DomoAI 呈现一个具有能力级路由的标准设备。稳定的源标识符和连接可以在名称或区域更改时保留身份;需要显式的 canonical_id 来链接来自不同适配器的贡献。命令在执行前解析到确切的源实体。不明确、未知或不可用的路由会失败关闭,因此运行时绝不会静默地将命令发送到另一个协议或实体。

此行为不需要实时网关、代理或控制器。确定性多适配器夹具覆盖了组合、部分故障、拓扑、精确路由和零写入安全性:

uv run pytest -q tests/contract/test_multi_adapter_runtime.py \
  tests/integration/test_multi_adapter_runtime.py \
  tests/performance/test_multi_adapter_targets.py

已验证的本地验证

2026-08-17,仓库通过了仓库测试套件覆盖的单元、适配器、发现、计划、MCP 合约、优化、性能、Home Assistant 执行、KNX 和 Modbus 夹具、运行时组合、OMIE 和 Open-Meteo 提供者场景。 经典 Home Assistant 适配器冒烟测试通过了本地 Docker 实验室;本地 Zigbee2MQTT 和 Modbus 冒烟测试通过;只读的 OMIE 和 Open-Meteo 公共网络冒烟测试通过可选配置。Matter 发现和 KNX/IP 仍然是可选的,因为它们需要已配网的 Matter 节点或可访问的 KNX 网关和映射。

本地启动命令是:

uv run domoai-mcp

质量门禁是:

uv run pytest -q
uv run ruff check .
uv run mypy src
uv lock --check

无实时凭据的最新完整套件结果为 318 passed, 8 skipped,无警告。跳过的测试是可选加入的 Matter Server、KNX/IP 和其他需要外部节点、网关或服务配置的实时案例;确定性夹具覆盖仍然启用。单独的实时结果:Zigbee2MQTT/Modbus 2 passed,OMIE/Open-Meteo 2 passed,Home Assistant 经典适配器 1 passed,以及 Home Assistant Provider 运行时桥接 1 passed。FastMCP 兼容性接缝使已知的 pydantic_settings 字段不完整警告保持在 MCP 合约之外,而无需全局抑制警告。

适配器和公共合约指南位于 docs/adapter-sdk.md 和 docs/contracts.md。

Available Tools

20 tools
cancel_recurring_scheduleB
Destructive

Cancel a recurring schedule; stops all future occurrences.

ParametersJSON Schema
NameRequiredDescriptionDefault
schedule_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already indicate destructiveHint=true, so the description adding 'stops all future occurrences' provides useful context about the scope of the destructive action. However, the description does not disclose additional behavioral details such as irreversibility, whether past occurrences are affected, or any required permissions beyond the annotation hints.

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?

The description is a single concise sentence that front-loads the action and consequence. It is efficient with no wordiness, earning a high mark for conciseness, though it is slightly under-specified for full structural completeness.

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?

The tool has one parameter, an output schema, and clear annotations for its destructive nature, so the description is mostly sufficient for an agent to invoke it correctly. The main gap is the lack of guidance on where to find schedule_id or how the cancellation result is returned, but the output schema could cover the latter.

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?

The schema describes schedule_id with minimal detail (type and title only), and the description does not elaborate on what schedule_id refers to or how to obtain it. With only one parameter at 0% schema description coverage, the description does not compensate for the lack of parameter semantics; however, the single parameter is fairly self-explanatory in context.

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 states a specific action ('Cancel a recurring schedule') and its effect ('stops all future occurrences'). It clearly distinguishes this from scheduling or listing tools among siblings, though it does not explicitly name an alternative tool for other operations.

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?

The description implies when to use the tool: when the user's intent is to stop a recurring schedule. It does not provide explicit guidance on when not to use it or mention any alternative tools (e.g., schedule_plan for creating schedules). This is adequate but leaves the agent to infer the usage context.

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

cancel_scheduled_planA
Destructive

Cancel a pending scheduled plan before it executes.

ParametersJSON Schema
NameRequiredDescriptionDefault
plan_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already indicate destructiveHint=true, so the cancellation as a destructive operation is covered. The description adds the useful behavioral detail that cancellation only applies before execution. It does not discuss irreversibility or side effects, but given the annotation coverage this is acceptable.

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 concise sentence with no filler. The core purpose and timing constraint are front-loaded, making it easy for an agent to quickly parse.

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?

For a simple one-parameter cancel action, the description covers the essential behavioral scope. The output schema and annotations provide additional safety information. It could be slightly more complete by pointing to how to find plan_id or distinguishing from canceling recurring schedules, but it is largely sufficient.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not compensate by explaining the plan_id parameter, such as where to obtain it or that it must reference a pending scheduled plan. While plan_id is a self-evident string identifier, the description adds no parameter-level meaning 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 the specific action (cancel), the resource (a pending scheduled plan), and the timing constraint (before it executes). This makes the tool's purpose distinct from siblings like cancel_recurring_schedule and reschedule_plan.

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 provides clear usage context: only pending scheduled plans that have not yet executed can be canceled. It does not explicitly mention alternatives or when-not-to-use cases, but the pending/before-executes condition gives adequate guidance for the common scenario.

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

commit_or_schedule_bundleC
Destructive

Commit one validated bundle through the runtime-owned physical execution and scheduling boundary.

ParametersJSON Schema
NameRequiredDescriptionDefault
membersYes
scenario_idYes
bundle_digestYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the mutation risk is known. The description adds little behavioral context: it doesn't say whether the commit is irreversible, what side effects occur, or whether it can result in execution or scheduling, even though the tool name contains 'or_schedule'. No contradiction with annotations, but no added transparency either.

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

Conciseness3/5

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

The description is one sentence and visually concise, with no repetition. However, it spends words on an opaque phrase ('runtime-owned physical execution and scheduling boundary') instead of explaining the tool's behavior, making it under-specified rather than effectively concise.

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 destructive tool with 3 required parameters, no output schema, and many closely related sibling tools, one vague sentence is far from complete. It omits parameter semantics, expected outcomes, and the relationship to execution and scheduling tools, so an agent lacks critical context for correct 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?

The schema provides no parameter descriptions, and the description does not compensate: the bundle_digest is loosely echoed by 'bundle', but scenario_id and members are completely unexplained. The members field is an array of arbitrary objects, which particularly needs semantic guidance. An agent cannot know what values are valid or what these parameters mean.

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 specifies a concrete action ('Commit') and a resource ('one validated bundle'), so the core purpose is identifiable. However, it does not state what committing actually does or how this differs from the sibling execute_plan or schedule_plan tools; the phrase. 'runtime-owned physical execution and scheduling boundary' is abstract jargon.

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?

The word 'validated' implies the bundle must already be validated before this tool is used, which gives some usage context. But it provides no explicit when-to-use/when-not-to-use guidance and no alternatives among the many workflow siblings, so an agent cannot reliably choose between this, execute_plan, schedule_plan, or request_approval.

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

discover_devicesB
Read-only

Read or refresh the canonical semantic device inventory.

ParametersJSON Schema
NameRequiredDescriptionDefault
typesNo
area_idNo
refreshNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the 'refresh' capability and the canonical inventory context, but it does not explain what refresh does cotidiano (e.g., whether it triggers re-discovery, side effects, or rate limits).

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?

The description is a single front-loaded sentence with no wasted words. It is concise and readable, though it is also too sparse to fully serve as guidance.

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

Completeness2/5

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

For a tool with three optional parameters and an output schema, the description covers only the core action. It omits parameter semantics and usage context, leaving the agent to infer what types, area_id, and refresh actually control.

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 offers no meaning for the three parameters (types, area_id, refresh). 'refresh' is only implied by the verb, and types/area_id are completely unexplained.

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 uses a specific verb pair 'Read or refresh' and a precise object, 'the canonical semantic device inventory.' This clearly distinguishes the tool from siblings like get_state or validate_command, which target different resources.

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 tool versus alternatives, nor any mention of exclusions or conditions. The description does not explain when 'refresh' should be used or when a simple read is sufficient.

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

execute_planB
Destructive

Execute a previously validated plan after runtime safety checks.

ParametersJSON Schema
NameRequiredDescriptionDefault
dry_runNo
plan_idYes
approval_idNo
bundle_digestNo
validation_digestYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the description is not required to restate destructiveness. It adds useful context about pre-validation and runtime safety checks, but does not explain consequences, irreversibility, or approval requirements beyond what the parameter approval_id hints at.

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?

The description is a single front-loaded sentence with no wasted words. It conveys the core purpose and an important prerequisite, though brevity leaves some behavioral details to inference.

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

Completeness2/5

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

For a destructive tool with five parameters and no schema description coverage, this is incomplete. It omits the meaning of dry_run, approval_id, and bundle_digest, and does not describe what 'runtime safety checks' entails or what the agent should expect after execution. The output schema exists, so return-value documentation is less critical, but invocation guidance is still thin.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needed to compensate for the five parameters. It only vaguely maps to validation_digest via 'previously validated' and gives no meaning for dry_run, approval_id, bundle_digest, or plan_id. This is insufficient for correct invocation.

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 uses a specific verb and object ('Execute ... plan') and adds the qualifier 'previously validated' to distinguish this from plan creation or scheduling. It does not explicitly differentiate from schedule_plan or commit_or_schedule_bundle, but the execute/validate/schedule contrast is clear from the sibling names.

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?

The phrase 'previously validated plan' implies that validate_plan should happen first, and 'after runtime safety checks' suggests a required sequence. However, it does not explicitly say when to use this instead of schedule_plan, or mention any exclusions or alternatives.

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

explain_solutionA
Read-only

Explain a typed optimization result without changing runtime state.

ParametersJSON Schema
NameRequiredDescriptionDefault
resultYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false; the description reinforces this with 'without changing runtime state'. It adds the qualifier 'typed optimization result' but does not disclose behavior like whether it returns a summary, how it handles invalid inputs, or whether it requires an existing optimization context. Given annotation coverage, this is adequate but not rich.

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?

One concise sentence that leads with the action and resource, then adds the key side-effect guarantee. Every word earns its place with no unnecessary elaboration.

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?

For a simple read-only explanation tool with one object parameter, annotations already covering safety, and an output schema available, the description covers the essentials. It could be more complete by referencing the relationship to optimize_scenario or describing the expected result object, but the current level is sufficient for basic invocation.

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

Parameters2/5

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

The single 'result' parameter has no schema description, and schema description coverage is 0%. The description's phrase 'typed optimization result' gives only a high-level hint and does not explain the expected shape, fields, or constraints of the object. With zero parameter descriptions in either schema or description, the agent is left without meaningful parameter guidance.

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 uses a specific verb ('Explain') and a specific resource ('typed optimization result'), and explicitly notes it makes no runtime state change. This clearly distinguishes it from the many mutating siblings like execute_plan, schedule_plan, or optimize_scenario. Even without naming a sibling, an agent can infer its role.

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 implies use whenan agent has a typed optimization result to inspect, and explicitly states it does not change runtime state, which excludes it from planning/execution workflows. It does not name alternative tools or provide explicit when-not conditions, but the context is still reasonably clear.

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

get_energy_contextB
Read-only

Read a complete canonical energy context for one requested horizon.

ParametersJSON Schema
NameRequiredDescriptionDefault
horizonYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, which establishes the safety profile. The description is consistent with this and adds that the result is a 'complete canonical' context for one horizon, but it gives no further behavioral details such as response contents or potential errors. Given the annotations cover the main behavior, this is adequate but not rich.

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?

A single sentence that is front-loaded with the verb and resource. Every word contributes, with no fluff or repetition of the tool name.

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

Completeness2/5

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

Despite having an output schema and read-only annotations, the parameter contract is too vague. An agent cannot reliably construct the 'horizon' object from the description alone, and there is no guidance about the content or format of that nested object. The tool is simple, but the missing horizon semantics leave an important gap.

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

Parameters2/5

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

Schema description coverage is 0% and the sole parameter 'horizon' is an open object with no structure. The description only says the operation is 'for one requested horizon,' which adds minimal meaning but does not explain what fields or format the horizon object should contain. It fails to compensate for the schema gap.

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 uses a specific verb ('Read') and identifies the resource ('complete canonical energy context') and scope ('one requested horizon'). It clearly distinguishes an energy-context read operation from sibling tools like get_state by naming the domain and completeness.

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 choose this tool over siblings such as get_state, validate_plan, or explain_solution. The description implies a read use case but does not state when not to use it or name alternatives.

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

get_stateC
Read-only

Read bounded semantic state snapshots for selected devices.

ParametersJSON Schema
NameRequiredDescriptionDefault
devicesYes
allow_staleNo
capabilitiesNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description's 'Read' adds no new safety information. It contributes only the 'bounded' qualifier, hinting at limits without explaining staleness, rate limits, or output behavior. It is consistent with annotations, so no contradiction.

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?

One concise sentence that front-loads the core action and target. No wasted words, but it sacrifices valuable information that could be included without structural bloat.

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

Completeness2/5

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

With three parameters and zero schema coverage, the description is under-specified. It does not address the optional parameters, the meaning of 'bounded', or when to choose this tool over its many siblings. The output schema helps for return values, but the description alone leaves important gaps.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for the three parameters. It mentions 'selected devices', giving some meaning to the required 'devices' parameter, but it does not explain 'allow_stale' or 'capabilities', leaving those semantics entirely unspecified.

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 uses a specific verb 'Read' with a resource 'bounded semantic state snapshots' and a scope 'selected devices'. It clearly identifies the operation and object, and the phrase distinguishes it from siblings like get_energy_context or discover_devices, though not explicitly.

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 such as get_energy_context or validate_command. The description does not specify prerequisites, use cases, or exclusions, leaving the agent to infer from the tool name alone.

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

inspect_commissioningA
Read-only

Read the shared, non-authoritative commissioning report for future battery and EV bindings.

ParametersJSON Schema
NameRequiredDescriptionDefault
refreshNo
asset_typesNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior4/5

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

The description goes beyond the readOnlyHint/destructiveHint annotations by stating the report is 'shared' and 'non-authoritative,' which tells the agent this is not the source of truth and may represent pending/future bindings. With annotations already covering the read-only safety profile, the description adds meaningful behavioral context without contradicting them. It does not mention caching behavior affected by 'refresh,' but that is partially discoverable via the schema.

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?

A single, front-loaded sentence with no filler. Every phrase earns its place: the verb, the object, the shared/non-authoritative qualifier, and the domain scope.

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?

For a read-only inspector with no required parameters and an output schema present, the description is nearly complete. The main gaps are not explaining the 'refresh' parameter's behavior and not stating explicitly that asset_types filters the report; still, the readOnlyHint, destructiveHint, and output schema carry much of the contextual burden.

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 0%, so the description does not compensate for the schema's lack of parameter meanings. However, there are only two optional parameters: 'refresh' is self-explanatory as a boolean defaulting to false, and 'asset_types' is reasonably inferable as a filter for which asset types to include. The description mentions 'battery and EV bindings,' which maps loosely to asset_types, but does not explicitly explain either parameter.

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 states a specific verb ('Read') and resource ('shared, non-authoritative commissioning report') and adds the qualification 'for future battery and EV bindings.' That scope is enough to distinguish it from sibling tools like get_state or list_audit_events, and the qualifier 'non-authoritative' adds important nuance about the data's trust level.

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?

The description implies a read-only reporting tool and uses language like 'shared... report' and 'non-authoritative,' which helps an agent infer it is for inspection rather than execution. However, it does not explicitly state when to use it over alternatives or when not to use it, leaving the agent to infer from the readOnlyHint annotation and sibling names.

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

list_audit_eventsA
Read-only

Query the bounded, filterable audit trail of runtime decisions.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
sinceNo
event_typeNo
subject_idNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnlyHint and non-destructive behavior. The description adds useful context with 'bounded' and 'filterable,' but it does not specify how events are bounded, what the default time window is, or what event types can be filtered. It adds some value beyond annotations but remains vague.

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?

One tight, front-loaded sentence with no filler. The key ideas—bounded, filterable, runtime decisions—are all present without unnecessary elaboration.

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?

Given that all parameters are optional and an output schema exists, a short description is acceptable. However, with zero schema descriptions, the tool description could have named the available filters or mentioned the default limit to support correct invocation. It is adequate but leaves meaningful gaps.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not explain any of the four parameters: limit, since, event_type, and subject_id. The word 'filterable' hints at filtering, but it does not map to the actual parameter names or expected formats, leaving the agent to infer semantics entirely from parameter names.

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 states a specific verb ('Query') and resource ('bounded, filterable audit trail of runtime decisions'), making the tool's purpose unmistakable. It also naturally distinguishes this tool from the sibling planning/execution tools, none of which are audit-related.

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?

The description implies the tool should be used when an agent needs to inspect runtime decision audit records, and no sibling tool competes for that role. However, it does not explicitly say when to use this tool versus alternatives or when not to use it.

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

list_recurring_schedulesA
Read-only

List active recurring schedules and their next occurrence.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds context that results include the next occurrence, but it does not disclose whether the list is paginated, ordered, or limited in any way.

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, compact sentence that front-loads the action and resource. Every word earns its place; there is no fluff or redundancy.

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?

For a zero-parameter, read-only list tool with a valid output schema, the description is largely complete. The only gap is the absence of details on filtering, ordering, or pagination, which are unlikely to be critical given the tool's 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 tool has 0 parameters and schema coverage is 100%, so there is nothing to document. The description's mention of 'active' schedules clarifies the scope of the result set, which is useful semantic context beyond the empty schema.

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 states a clear verb ('List') and resource ('active recurring schedules'), and mentions 'next occurrence', which gives the agent a precise idea of what is returned. It is distinguishable from siblings like cancel_recurring_schedule and schedule_recurring_plan, though it does not explicitly differentiate itself.

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?

The description implies a read-only listing operation, which fits naturally alongside other list/get tools, but it does not state when to prefer this tool over siblings like list_scheduled_plans. There is no explicit when/when-not guidance or naming of alternatives.

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

list_scheduled_plansA
Read-only

List plans currently pending their scheduled execution time.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows this is a safe read operation. The description adds little behavioral context beyond that, but it is consistent with the annotations and the simple nature of the tool.

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, focused sentence that states the resource and the filtering condition with no wasted words. It is appropriately concise for a zero-parameter list operation.

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?

For a simple list tool with no parameters, an output schema present, and read-only annotations, the description is complete enough. It tells the agent what will be returned — plans awaiting execution — without needing to explain return values or parameter details.

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 tool has zero parameters, so the description has no parameter semantics to explain. The baseline for zero-parameter tools is 4, and nothing in the description detracts from that.

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 has a specific verb ('List') and resource ('plans') and adds a clear status qualifier ('currently pending their scheduled execution time'). This clearly distinguishes it from sibling tools like list_recurring_schedules, which target recurring schedules rather than one-time pending plans.

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?

The description implies when to use it — when you need plans that have not yet reached their scheduled execution time. However, it does not explicitly mention alternatives or state when not to use it, such as distinguishing from list_recurring_schedules or listing already executed plans.

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

optimize_scenarioA
Read-only

Compute a deterministic proposal without executing physical commands.

ParametersJSON Schema
NameRequiredDescriptionDefault
scenarioYes
validate_proposalNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this by stating no physical commands are executed. It also adds a useful behavioral trait, determinism, which is not present in the annotations. This is good added context beyond structured metadata.

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, tightly written sentence that front-loads the core purpose and immediately adds a critical scoping constraint. Every word earns its place and there is no padding.

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

Completeness2/5

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

Although an output schema exists and annotations cover the safety profile, the tool still requires a nested scenario object with zero documented properties. The description gives no practical invocation guidance, and the relationship to validate_scenario and execute_plan is only implied. This is not enough for reliable, correct use.

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 neither the scenario object nor validate_proposal is explained in the description. The agent is left without any guidance on what shape the scenario object should take or what validate_proposal controls. The description does nothing to compensate for the undocumented parameters.

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 uses a specific verb ('compute') and a clear resource ('deterministic proposal'), and explicitly distinguishes the operation from physical execution. This makes it easy to tell apart from siblings like execute_plan, schedule_plan, and validate_scenario.

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?

The phrase 'without executing physical commands' clearly implies a planning or proposal-only usage, which helps separate it from execute-style siblings. However, it does not explicitly state when to use this tool over validate_scenario or explain_solution, leaving some selection judgment to the agent.

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

request_approvalA
Destructive

Issue a server-authoritative approval grant for a plan requiring confirmation. A trusted host may inject an authenticated operator principal. The optional operator_token exists only for explicitly enabled local/dev compatibility mode; the caller never supplies the recorded operator identity. The returned approval_id is single-use and bound to the plan's current validation digest.

ParametersJSON Schema
NameRequiredDescriptionDefault
plan_idYes
bundle_digestNo
operator_tokenNo
recurrence_digestNo
validation_digestYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already indicate side effects (readOnlyHint=false, destructiveHint=true). The description adds valuable behavior: the grant is server-authoritative, the returned approval_id is single-use and bound to the plan's current validation digest, and operator identity can only be injected by a trusted host. No contradiction with annotations.

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 sentences with no filler. It front-loads the core purpose, then appends auth/compatibility context and return-value behavior, all of which earn their place.

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?

This is a side-effectful approval tool in a broad sibling set, so an agent would benefit from more explicit routing versus validate_plan or execute_plan, and from more detail on the optional digest parameters. The output-schema presence reduces the need to explain return shape, and the single-use approval_id behavior is already covered.

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 0%, so the description carries a heavier burden. It explains operator_token's special purpose and clarifies validation_digest's binding relationship, but plan_id, bundle_digest, and recurrence_digest are left mostly to inference from their names. Partial compensation, not complete.

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 states a specific action: issuing a server-authoritative approval grant for a plan requiring confirmation. This clearly distinguishes it from sibling tools like validate_plan or execute_plan, since the focus is on approval rather than validation or execution.

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?

It identifies when the tool applies ('for a plan requiring confirmation') and gives concrete usage guidance around operator_token, noting it is only for local/dev compatibility and that callers should never supply the recorded operator identity. It does not explicitly name alternatives, but the intended context is clear.

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

reschedule_planA
Destructive

Request a temporal revision for a pending plan. The legacy generic mutation is fail-closed; a changed time must be validated and approved again before admission.

ParametersJSON Schema
NameRequiredDescriptionDefault
plan_idYes
execute_atYes
schedule_revisionNo
validation_digestNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=true, so the mutating nature is known. The description adds meaningful behavioral context beyond this: the operation is fail-closed, and changes require re-validation and re-approval before admission. This helps an agent understand that the tool may not immediately commit the change and that additional workflow steps are required.

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?

The description is short and front-loaded, with the core purpose in the first sentence and an important behavioral caveat in the second. It is not overly verbose, though terms like 'legacy generic mutation,' 'fail-closed,' and 'admission' are somewhat jargon-heavy and could be clearer.

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

Completeness2/5

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

Given four parameters, zero schema description coverage, and a destructiveHint annotation, the description is not complete enough for reliable invocation. It explains the purpose and approval workflow but leaves optional parameters such as schedule_revision and validation_digest undocumented, which may be required in certain approval contexts. The presence of an output schema helps, but the input-side gap remains material.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for the four parameters. The only hint is 'changed time,' which loosely maps to execute_at, but plan_id, schedule_revision, and validation_digest are left completely unexplained. This is a significant gap for an agent trying to construct a valid call.

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 the tool's core action: 'Request a temporal revision for a pending plan.' It identifies a specific resource ('pending plan') and a distinct operation ('temporal revision'), which helps separate it from scheduling, cancellation, and execution siblings. However, it does not explicitly name a sibling alternative, so it falls just short of the strongest differentiation.

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 implies when to use this tool: when a pending plan needs a time change. It also provides important workflow context by noting the legacy generic mutation is fail-closed and that a changed time must be validated and approved again, guiding the agent toward validation/approval follow-up steps. Explicit 'do not use when...' exclusions are absent, but the context is reasonably clear.

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

schedule_planA
Destructive

Schedule a previously validated/approved plan to execute at a future time, instead of immediately. The plan still goes through every existing safety check when its time arrives.

ParametersJSON Schema
NameRequiredDescriptionDefault
plan_idYes
execute_atYes
approval_idNo
bundle_digestNo
validation_digestYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the destructiveHint annotation by stating that 'the plan still goes through every existing safety check when its time arrives'. This reassures the agent that deferring execution does not bypass safety, and it aligns with the annotation rather than contradicting it.

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?

Two sentences, no filler, and the most important operational fact (scheduling a previously approved plan for future execution) is front-loaded. Every clause earns its place.

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?

The description gives a solid high-level picture and notes the safety-check behavior, but it does not explain how to obtain or populate the required validation_digest, what approval_id/bundle_digest are for, or how this interacts with sibling tools like cancel_scheduled_plan. The presence of an output schema and annotations helps, but the parameter gap limits completeness for a 5-parameter tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining parameters, but it only implicitly maps 'future time' to execute_at and 'validated/approved' to validation_digest/approval_id. It provides no explicit meaning for plan_id, validation_digest, approval_id, or bundle_digest, leaving required parameters unexplained.

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 uses a specific verb ('Schedule'), names the resource ('a previously validated/approved plan'), and states the key distinction ('at a future time, instead of immediately'). This clearly distinguishes it from immediate execution via execute_plan and other sibling scheduling tools.

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 explicitly conditions usage on the plan being 'previously validated/approved' and contrasts with 'instead of immediately', giving the agent a clear contextual trigger. It does not explicitly name alternative tools or exclusions, but the use case is well implied.

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

schedule_recurring_planA
Destructive

Schedule a plan's commands to run repeatedly at a fixed local time, optionally restricted to specific weekdays. Creating a standing automation is its own authority act, distinct from running the commands once: if the template plan currently requires confirmation, an approval_id from request_approval is required to create the schedule at all. Every occurrence is still independently revalidated against live state before it executes; an occurrence requiring confirmation at run time is skipped and audited, never auto-approved, and recurrence continues to its next scheduled time. An optional expires_at bounds how long the automation stays active.

ParametersJSON Schema
NameRequiredDescriptionDefault
plan_idYes
timezoneYes
expires_atNo
approval_idNo
time_of_dayYes
days_of_weekNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that creating a standing automation is an authority act, that approval may be required at creation time, that each occurrence is revalidated, and that confirmation-requiring occurrences are skipped and audited rather than auto-approved. This is exactly the behavioral nuance an agent needs for a destructiveHint=true tool.

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 dense but every sentence earns its place: purpose, approval/authority, runtime safety behavior, and expiry. It is front-loaded with the core action and does not waste words on schema-restatable details.

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?

For a complex, destructive, 6-param tool, the description covers the essential context: creation-time authority, approval requirements, recurring run-time validation, skip/audit behavior, and optional expiry. An output schema exists, so return-value documentation is not the description's burden.

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?

Schema description coverage is 0%, so the description must carry parameter meaning. It does: plan_id maps to 'a plan's commands,' time_of_day/timezone to 'fixed local time,' days_of_week to optional weekday restrictions, approval_id to the request_approval flow, and expires_at to how long the automation stays active. Exact formats like time_of_day syntax are not specified, but the functional semantics are all conveyed.

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 opens with a specific verb and resource: 'Schedule a plan's commands to run repeatedly at a fixed local time, optionally restricted to specific weekdays.' This clearly distinguishes recurring scheduling from one-off execution and from the sibling tool schedule_plan.

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 gives clear context: it is for standing automations, not one-time runs, and it explains when approval_id is required. It does not explicitly name an alternative tool for one-time execution, but the distinction from running commands once is clear enough to guide selection.

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

validate_commandB
Read-only

Validate one semantic command without invoking an adapter.

ParametersJSON Schema
NameRequiredDescriptionDefault
commandYes
agent_request_idNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the useful behavioral detail that no adapter is invoked, which clarifies that validation is non-executing. It does not disclose what happens on failure or whether validation has side effects beyond the annotation guarantees.

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?

A single sentence with no filler. The core purpose and the critical non-execution qualifier are both front-loaded and clearly expressed.

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

Completeness2/5

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

The tool has nested object parameters, no schema-level parameter descriptions, and several sibling validation/execution tools. The description gives only the core idea and leaves the agent without enough context to construct a valid command or choose confidently among siblings.

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

Parameters2/5

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

The description does not explain the command object's structure, the meaning of 'semantic command', or the optional agent_request_id. With 0% schema description coverage, the description needed to compensate but provides almost no parameter-level guidance.

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 states a specific verb ('validate'), a resource ('one semantic command'), and a key behavioral qualifier ('without invoking an adapter'). It clearly separates validation from execution, though it does not explicitly distinguish itself from sibling validation tools like validate_plan or validate_scenario.

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?

The phrase 'without invoking an adapter' implies this is a dry-run validation rather than an execution, which gives the agent a sense of when to use it. However, it does not explicitly state when to prefer this over validate_plan, validate_scenario, or execute_plan, leaving the routing partially to inference.

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

validate_planC
Read-only

Validate a semantic plan and return its policy decisions and digest.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNopreview
planYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior3/5

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

The readOnlyHint and destructiveHint annotations already convey that this is a safe, non-destructive operation. The description adds minimal behavioral context beyond validation semantics and the return of policy decisions/digest, but does not explain any validation side effects or constraints. With annotations present, this is adequate but not rich.

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?

The description is a single, front-loaded sentence with no wasted words. It covers the main purpose and return value efficiently, though it omits additional guidance that could improve usability.

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

Completeness2/5

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

With an output schema present, return values do not need elaboration, and annotations cover safety. However, the description leaves the 'mode' parameter unexplained and gives no guidance about what constitutes a semantic plan or how this relates to sibling validation/execution tools. For a tool with 0% schema description coverage and a complex nested plan object, this is incomplete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining parameters. It indicates the 'plan' is a semantic plan but does not describe the 'mode' parameter or any expected plan structure. This is insufficient for an agent to correctly populate the arguments.

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 uses a specific verb ('Validate') and resource ('a semantic plan') and states the expected output ('policy decisions and digest'). It clearly identifies what the tool does, though it does not explicitly distinguish it from sibling validate tools like validate_command or validate_scenario.

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 tool versus alternatives such as validate_command, validate_scenario, execute_plan, or schedule_plan. The context implies it is for validating plans before execution, but no explicit when/when-not guidance or alternatives are provided.

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

validate_scenarioB
Read-only

Validate an optimization scenario against canonical devices and capabilities.

ParametersJSON Schema
NameRequiredDescriptionDefault
scenarioYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description's read-only nature is consistent. The description adds that validation checks against canonical devices and capabilities, which clarifies the operation's basis, but does not describe failure behavior, response semantics, or side effects beyond annotations.

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?

A single sentence with no filler. The key action and subject are front-loaded, and every word contributes meaning.

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?

The core validation behavior is stated, and an output schema plus read-only annotations are present, reducing the burden on the description. However, the description lacks guidance on how this validation relates to sibling tools and what the scenario object must contain, so it is adequate but not fully complete.

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

Parameters2/5

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

The sole parameter, 'scenario', is an open object with additionalProperties=true and no description in the schema. The description adds that it is an 'optimization scenario' and that validation targets 'canonical devices and capabilities', but it does not explain required fields or expected structure, leaving 0% schema coverage undercompensated.

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 uses a specific verb ('Validate') and resource ('optimization scenario') and adds the validation basis ('against canonical devices and capabilities'). It distinguishes the tool from siblings like validate_command and validate_plan by the resource type, but does not explicitly contrast them.

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 is given on when to use this tool versus validate_plan, validate_command, optimize_scenario, or explain_solution. There are no prerequisites, exclusions, or alternative routing hints.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 20 tool updatesv0.1.0
    • First observedcancel_recurring_schedule
    • First observedcancel_scheduled_plan
    • First observedcommit_or_schedule_bundle
    • First observeddiscover_devices
    • First observedexecute_plan
    • First observedexplain_solution
    • First observedget_energy_context
    • First observedget_state
    • First observedinspect_commissioning
    • First observedlist_audit_events
    • First observedlist_recurring_schedules
    • First observedlist_scheduled_plans
    • First observedoptimize_scenario
    • First observedrequest_approval
    • First observedreschedule_plan
    • First observedschedule_plan
    • First observedschedule_recurring_plan
    • First observedvalidate_command
    • First observedvalidate_plan
    • First observedvalidate_scenario

TDQS

B3.2/5.0

Scored across 20 tools

Disambiguation3/5

Most tools target distinct lifecycle stages, but execute_plan, schedule_plan, and commit_or_schedule_bundle have overlapping boundaries since 'bundle' is never clearly separated from 'plan.' The validate_* and schedule/cancel pairs are otherwise reasonably distinguishable with the help of their descriptions.

Naming Consistency4/5

The set consistently uses snake_case verb_noun names such as get_state, validate_plan, list_scheduled_plans, and cancel_recurring_schedule. The main deviation is commit_or_schedule_bundle, which combines two actions in one name, but overall the pattern is predictable.

Tool Count3/5

At 20 tools, the server sits in the heavier range, and the plan/bundle/schedule/recurring variations add conceptual surface area even if the domain is broad. Most tools earn their place for a full energy-management workflow, but the count is borderline and would benefit from consolidation.

Completeness4/5

The surface covers the core lifecycle well: validation, approval, execution, one-time scheduling, recurring schedules, cancellation, audit, and optimization scenarios. Minor gaps exist, such as no direct way to retrieve a single plan/approval or inspect raw capabilities, but agents can work around these.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables control and management of smart home devices across multiple rooms through specialized MCP servers. Supports lights, thermostats, fans, and ovens with room-specific rules and automatic persistence.
    5
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A powerful MCP server that enables AI assistants to discover, commission, and control Matter-compatible smart home devices through a standardized interface.
    20 npm
    8
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables control of ECHONETLite home automation devices like air conditioners and sensors via MCP, supporting HVAC management and real-time monitoring.
    14
    1
    MIT