Skip to main content
Glama

Set wake-up settings

stack_set_wake_settings
Destructive

Change wake-up settings, for one agent (agent_id) or the customer's defaults. A field left out stays; null clears it so the agent inherits the default. enabled false turns wake-ups off (off for the customer is off for every agent). ring_incoming_calls false sends every call that comes in on the account's number straight to voicemail instead of ringing the agent (default true; no wake rate limits an incoming call; a call also goes to voicemail when the agent has no live session and no webhook). Quiet hours need both quiet_start and quiet_end; they hold a decision wake until they end and never drop one. webhook_url is the agent's own https endpoint: a public address STACK may call, and the first time one is set its signing secret is created. A webhook signing secret is never put in a chat: a call made with a chat sign-in returns secret_note, which says where to read it (the CLI or the API with an API key). Returns the settings and what is in force. Operator only, never metered.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stack_set_wake_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNo
agent_idNoAgent id (agt_*) of the agent these apply to. Omit for the customer's defaults, which every agent without its own setting uses.
deliveryNoChannels, most preferred first: mcp, webhook, mission
quiet_endNoHH:MM, 24 hours, in time_zone
time_zoneNoIANA zone, such as Europe/Stockholm; null to inherit
quiet_modeNohold (default) or drop
quiet_startNoHH:MM, 24 hours, in time_zone
webhook_urlNoThe agent's own https endpoint; null removes it and its secret
rate_limit_maxNoMost events per window for one agent (1 or more); no limit unless you set one
invite_lead_minutesNoMinutes before an accepted invite starts to wake the agent (0-1440)
ring_incoming_callsNoRing the agent for a call that comes in (default true); false sends it to voicemail; null inherits
rate_limit_window_secondsNoWindow length in seconds (60-86400, default 3600)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (which only declare readOnly=false and destructive=true): it explains that omitted fields are preserved while null clears to inherit, that quiet hours require both endpoints and hold rather than drop a wake, that ring_incoming_calls=false routes calls to voicemail with the no-live-session/no-webhook fallback, and that a first webhook_url creates a signing secret that is returned only as secret_note for chat sign-ins. It also states what is returned and the operator/metering constraints.

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?

Core intent and scope are front-loaded and nearly every clause carries information, but the single dense block mixes scope, field semantics, side effects, and auth in one run-on. Splitting field semantics from operational notes would make it easier to scan for a 12-parameter tool.

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 12-parameter, no-output-schema mutation tool, the definition covers the pieces an agent would otherwise guess at: defaults, inheritance, clearing behavior, voicemail fallback, secret handling, what is returned ('the settings and what is in force'), and authorization. Nothing needed to call it correctly appears to be missing.

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

Parameters5/5

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

Even with 92% schema coverage, the description adds cross-field semantics the schema cannot express: the inherit-vs-clear distinction for every nullable field, the requirement that quiet_start and quiet_end be supplied together, the global propagation of customer-level enabled=false, and the lifecycle of webhook_url and its secret. This meaningfully reduces the chance of a wrong 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?

States a specific verb and resource ('Change wake-up settings') and defines the two scopes precisely: one agent via agent_id, or the customer's defaults that every agent inherits. An agent can tell this apart from the read counterpart by the verb, though the definition never names a sibling such as the getter or the wake rule/schedule setters, leaving that routing to inference.

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?

Gives clear when-to-use context: omit agent_id to change customer defaults, pass agent_id for a single agent, and be aware that disabling at customer level disables every agent. It also flags the operator-only and non-metered conditions. It stops short of explicit when-not guidance or naming the alternative tool for reading current settings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.