Skip to main content
Glama
nexalware

@nexalware/mcp

Official
by nexalware

create_schedule

Create or replace a device schedule slot (0-4) to fire an on command and off command at specified Unix times; requires permission for both commands.

Instructions

Create or replace one of a device's schedule slots (0-4), firing onCommand at onTs and offCommand at offTs. Rejected if the calling key has no permission for either command.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onTsYesUnix seconds to fire onCommand.
slotYesWhich of the device's 5 schedule slots (0-4) to use.
labelNoShort label shown on the dashboard, max 7 characters.
offTsYesUnix seconds to fire offCommand.
enabledNo
deviceIdYesThe device's public id, e.g. dev_a1b2c3.
onCommandNoDefaults to { command: "ON" }.
offCommandNoDefaults to { command: "OFF" }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.6/5.0
Behavior3/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. It discloses the permission-rejection behavior and the on/off command timing, but it does not explain what 'replace' does to an existing slot (e.g., whether it silently overwrites), what the response is, or other mutation side effects.

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 tightly written sentences with no filler. The core operation is front-loaded, and the permission constraint follows logically as a secondary condition.

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?

Given the rich input schema (88% coverage) and no output schema, the description covers the essential operation and permission constraint adequately. It is slightly incomplete on replace semantics and idempotency, which matters for a mutation tool, but it is not deficient overall.

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 high at 88%, so the schema already documents nearly all parameters including slot range, labels, and command defaults. The description adds only a restatement of the onTs/offTs firing behavior, not new semantic detail beyond what the schema provides.

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: create or replace a device's schedule slot, with slot range 0-4 and the on/off firing behavior. Clear enough to identify the operation, but it does not distinguish itself from the sibling update_schedule, which is a closely related mutation.

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?

Mentions a permission prerequisite (rejected if the calling key lacks permission for either command), which is useful context. However, it gives no explicit guidance on when to use this tool versus update_schedule, delete_schedule, or list_schedules, so usage must be inferred from the name and description.

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