Skip to main content
Glama

Update timer

timers_update
Idempotent

Update a bot timer's settings safely. Since the API may treat updates as full replacement, fetch all fields with timers_get, apply changes, and send back.

Instructions

Update a bot timer. The API may treat this as a full replacement, so the safest approach is to send every field from timers_get with your changes applied.

Input Schema

NameRequiredDescriptionDefault
nameNoTimer name
onlineNoSchedule while the stream is live
channelNoStreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token.
enabledNoWhether the timer is enabled
messageNoMessage the bot posts
offlineNoSchedule while the stream is offline
timerIdYesTimer id (24-character hex id)
chatLinesNoMinimum chat lines since the last run before it fires again

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Adds significant context beyond annotations: the API may treat this as a full replacement operation, and the safe approach is to send all fields from timers_get. This is exactly the kind of behavioral gotcha an agent needs. Annotations already declare idempotentHint=true and destructiveHint=false, so the replacement warning is valuable additional context.

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 sentences, front-loaded with the action and immediately followed by the critical replacement warning. No wasted words, though it could be slightly more structured.

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 complexity (8 params, nested objects) and no output schema, the description provides the critical replacement behavior that an agent must know. It could mention return values or error handling, but the core behavioral warning is present.

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 100%, so parameters are well documented. The description adds important semantic context: that omitted fields may be lost (full replacement), which changes how parameters should be interpreted. This goes beyond the schema's per-field descriptions.

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?

Clearly states a specific verb (Update) and resource (bot timer). It doesn't differentiate from siblings like timers_create or timers_get, but the verb+resource pairing makes purpose unambiguous.

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 usage by recommending the pattern of sending all fields from timers_get, which is a useful workflow hint, but it doesn't explicitly say when to use this tool vs timers_create or timers_delete.

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