Skip to main content
Glama

Set Quiet Hours

notifications.set_quiet_hours
DestructiveIdempotent

Turn the user's own quiet hours on or off: when on, push and email outside their working hours wait and arrive together when the day starts; in-app notifications still collect. Turning on needs working hours (working_hours.update). Turning off sends anything held. In Atwork's chat the user confirms the change on a card first.

Input Schema

NameRequiredDescriptionDefault
enabledYestrue holds push and email outside working hours, false sends them right away

Output Schema

NameRequiredDescriptionDefault
changedYesfalse when quiet hours were already in the asked state
enabledYes
workingHoursNoThe working hours quiet hours follow, when turned on

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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: it explains that enabled=true defers push and email until the day starts while in-app notifications still collect, and that disabling releases anything held — which is exactly the context that makes destructiveHint=true and idempotentHint=true meaningful. It also discloses the working-hours dependency and the in-chat confirmation step.

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?

Front-loads the core action in the first clause, then layers effect, prerequisite, and confirmation flow in three tight sentences with no filler. Every sentence contributes information an agent would otherwise have to guess.

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 one-boolean tool with an output schema already covering return values, the description covers what changes in each state, what is unaffected (in-app), the prerequisite, and the confirmation gate. Nothing needed to call it correctly is missing.

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 100% and the single boolean already documents both states in the schema itself. The description adds only the nuance that in-app notifications keep collecting regardless of the flag, which is useful but consistent with the baseline for a fully documented 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?

States a specific verb and resource ("Turn the user's own quiet hours on or off") and scopes it to the caller's own settings, which separates it from notifications.update, notifications.read, and notifications.reset in the sibling list. An agent can identify the operation without opening the schema.

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 real usage context: the prerequisite that enabling requires working hours via working_hours.update, and that in Atwork's chat the user confirms on a card first. It does not explicitly name a when-not-to-use case or point at a sibling for related notification settings, so it stops short of full routing guidance.

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.

Resources