Skip to main content
Glama

Queue a prepared change for the user's approval (local file, pushes nothing)

queue_adjustment

Queues a prepared guide or week plan in a local approval queue for later decision, so nothing is pushed to the watch until you approve it.

Instructions

Stores a prepared change in the local APPROVAL QUEUE (~/.suunto-mcp/approvals.json, SUUNTO_APPROVALS_PATH moves it; version 1, written atomically, 0600) so the user can decide on it later. It writes only that file, never contacts Suunto and NEVER pushes anything to the watch: nothing is pushed unless the user approves with resolve_approval (decision approve AND push: true in the same call). kind 'adjusted_guide': payload is the exact push_strength_guide arguments (an adjust_guide result's guide; a guideId is refused, an approval only creates a new guide); kind 'week_plan': payload is { guides: [...] } as push_week_plan takes them (a propose_next_week result's guides). The payload is checked as the push tool itself checks it (its input schema, then building each guide as a dry run), and a payload that would not pass is refused and nothing is stored. forDate is the day of the guide (the earliest guide's for a week_plan): leave it out, or pass exactly that date. A guide dated before today is refused, in a week_plan too. Optional reasons (up to 20 short strings shown to the user), source (e.g. 'adjust_guide', 'propose_next_week'; default 'manual') and expiresAt (ISO 8601; default the end of forDate in the server's local time; it can be earlier, never later: an approval cannot outlive the day it is for; it cannot be approved after it expires). Pass a queuePayload from propose_next_week or adjust_guide as it is. Output: { queued, approval: { id (a1, a2, ...), kind, status 'pending', forDate, source, createdAt, expiresAt, reasons, resolution: null }, note }. At most 1000 approvals; nothing is deleted automatically. Every writer of the file (this tool and resolve_approval, a push included) runs one at a time in this process, so none can erase another's record; a second server process writing in the same moments could still collide.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "payload": "<payload>"
    },
    "name": "queue_adjustment"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesadjusted_guide: one strength guide (push_strength_guide's arguments). week_plan: { guides } (push_week_plan's guides).
sourceNoWhere the change came from, e.g. 'adjust_guide' or 'propose_next_week'. Default 'manual'.
forDateNoOptional: must equal the guide's own date (the earliest guide's for a week_plan), which is the default.
payloadYesThe exact arguments of the push tool: for adjusted_guide a strength guide spec (title, date, exercises, ...); for week_plan { guides: [strength guide specs] }.
reasonsNoWhy this change, in short sentences, shown with the approval.
expiresAtNoISO 8601 moment after which the approval can no longer be approved; not later than the end of forDate (server local time), which is the default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.7/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: exact file path and path override, atomic 0600 write, version 1 format, no network calls, dry-run validation of the payload before storing, 1000-approval cap with no automatic deletion, and useful concurrency semantics including the residual cross-process race. The only gap is that it does not say how the queue behaves when full (whether new submissions are rejected) or what a refused payload returns to the caller.

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?

The critical fact (local queue, no push) is front-loaded, and the rest is organized kind -> validation -> dates -> optional fields -> output -> limits/concurrency. It is nonetheless a dense, long block with repeated negations of pushing and no line breaks, so a reader must work through a second block before reaching the parameter rules.

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 stateful write tool with no output schema, the description supplies the return shape ({ queued, approval: {...}, note }), the approval status and id format, expiry semantics, capacity, and concurrency guarantees. An agent has everything needed to call it correctly and to explain the result to the user.

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?

Though the schema already covers 100% of the parameters, the description adds real meaning: `payload` for adjusted_guide must be the exact push_strength_guide arguments and for week_plan { guides } as push_week_plan takes them, a guideId is refused, a back-dated guide is refused, `forDate` must equal the guide's date or be omitted, and `expiresAt` can be earlier but never later than the end of forDate. The `reasons` display purpose and `source` default are also clarified, so it meaningfully exceeds the schema.

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 destination ("Stores a prepared change in the local APPROVAL QUEUE") plus the exact file, and immediately distinguishes itself from the push siblings by declaring it never contacts Suunto and never pushes to the watch. The title reinforces the same, and the only path to a push (resolve_approval with approve AND push:true) is named, so an agent can tell it apart from push_strength_guide without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing: after adjust_guide or propose_next_week, pass their queuePayload as-is; approval happens through resolve_approval, and a guideId is refused up front. It also gives the negative case (payloads that would fail the push tool's own checks are refused and nothing is stored) and the date rule for both kinds, leaving little to inference.

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