Skip to main content
Glama
pikerr

SprutHub MCP Server

by pikerr

sprut_run_scenario

Trigger or execute a SprutHub automation scenario by index to activate smart home routines and device actions.

Instructions

Trigger / execute an automation scenario by index.

Args: index: The index of the scenario (from sprut_list_scenarios).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/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. 'Trigger / execute' implies a state-changing action, but nothing is said about side effects on devices/rooms, permissions required, whether execution is synchronous or fire-and-forget, or whether it can be aborted. For a mutation tool with zero annotation coverage this is a significant gap.

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?

Two short lines, verb and resource front-loaded, with the parameter note immediately following. The 'Args:' docstring boilerplate is slightly formal for a single parameter but costs nothing.

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?

An output schema exists, so return values need not be described. The remaining gap is behavioral: a no-annotation mutation tool should disclose side effects or preconditions, and the description stops at how to address the scenario rather than what invoking it does.

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 coverage is 0% and the only parameter is titled just 'Index'. The description supplies meaningful semantics — that index identifies a scenario and originates from sprut_list_scenarios — which the schema does not. It still omits format/type expectations (the schema types it as a string despite being an 'index'), so it partially but not fully compensates.

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 ('Trigger / execute') and resource ('automation scenario'), and the qualifier 'by index' pins down the addressing mode. It implicitly distinguishes itself from the read-only sprut_list_scenarios sibling by naming it as the index source, though it never explicitly contrasts the two.

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 parenthetical '(from sprut_list_scenarios)' gives a real usage pointer — the agent knows to call the lister first to obtain the index. However, there is no guidance on when to run a scenario, what preconditions must hold, or any exclusions.

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