Skip to main content
Glama

Approve or reject a queued change (push: true with approve is the only way it reaches the watch)

resolve_approval
Destructive

Record an approve or reject decision for a queued Suunto item, then optionally push the approved plan or guide to the watch; rejects and expired items are not pushed.

Instructions

The user's decision on one queued approval, and THE ONE PLACE where an explicit yes becomes a push to the watch. decision 'reject': recorded (with an optional note), nothing is pushed. decision 'approve': recorded, and the result carries the payload, a call in the DRY-RUN form (push_week_plan with dryRun true; an adjusted guide is shown as a one-guide week) and howToPush; no ready real-push call is ever handed out; nothing is pushed unless push: true is passed in the SAME call, which then pushes through the existing push path: one new strength guide for adjusted_guide; for week_plan a DRY RUN (validate only, nothing sent) unless dryRun: false is also passed (a real push stops at the first failure, and is never retried automatically: the days already pushed would be duplicated). push: true with decision reject is refused. An EXPIRED item cannot be approved or pushed (it can be rejected). Resolving an item that was resolved before returns the first result (alreadyResolved: true) and never pushes twice; the only thing still open on an item that was approved without push is the push itself, once, with push: true. Because that push can still happen on a later call, it is NOT annotated idempotent. A guide dated before today cannot be approved or pushed (stale); an item cannot be approved after its expiry, which is at most the end of the day it is for. A failed push is an error and records nothing, so it can be tried again. Real pushes need SUUNTO_APP_NAME and credentials (a reject or an approve without push does not); same delivery caveat as push_strength_guide: it appears after the phone's next normal Suunto app sync. In demo mode the queue is in memory and push: true NEVER calls the push path (it returns a demo note). Output: { alreadyResolved, id, kind, decision, resolvedAt, note, pushed (a real push was made), payload, call and howToPush (when approved), pushResult (the push's own result), notes }. Not read-only (it writes the decision to the local file, and may push), not destructive: a push only ever creates new guides.

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": {
      "id": "<id>",
      "decision": "<decision>"
    },
    "name": "resolve_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe approval's id from list_approvals, e.g. 'a3'.
noteNoOptional: the user's remark, stored with the decision.
pushNotrue (with decision approve only): also push now through the existing push path. Default false: only record the decision and return the call to make. Pass it only when the user has said to push.
dryRunNoweek_plan with push: true only: true (the default there) validates and sends nothing; false pushes the guides for real.
decisionYesapprove: the user said yes. reject: the user said no (nothing is pushed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4/5.0
Behavior2/5

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

The description is unusually rich about behavior beyond the annotations (credentials required only for real pushes, demo-mode no-op, delivery caveat, failed push records nothing and can be retried, alreadyResolved short-circuit, why it is not idempotent). However it directly contradicts an annotation: it states "not destructive: a push only ever creates new guides" while destructiveHint is true, so an agent must guess which source to trust. Other hints (readOnlyHint=false, idempotentHint=false) are consistent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key point is front-loaded and almost every clause carries information, but it is a dense wall of nested parentheticals and semicolons that is hard to scan for the decision-relevant rules. Breaking the push preconditions into distinct sentences or a short list would improve retrieval without losing content.

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?

For a stateful mutation tool with no output schema, the description is close to complete: it enumerates the output fields, explains error/retry semantics, expiry and staleness constraints, and demo-mode behavior. The one gap is the unresolved destructive/non-destructive inconsistency that an agent must interpret.

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 coverage is 100%, so all five parameters are already documented. The description still adds decision-level meaning the schema does not carry: push is only valid in the same call as an approve, push:true with a reject is refused, and dryRun's default differs specifically for week_plan pushes.

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 concrete verb and resource (record the user's approve/reject decision on one queued approval) and immediately differentiates it from the push_* siblings by calling itself "THE ONE PLACE where an explicit yes becomes a push to the watch." An agent can tell this apart from push_strength_guide or push_week_plan 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?

Gives explicit when/when-not rules and alternatives: reject records only; approve records and returns a dry-run call plus howToPush; nothing is pushed unless push:true is in the same call; push:true with reject is refused; expired items can be rejected but not approved; stale-dated guides cannot be approved. It also routes the agent toward the returned call/push path rather than inventing a push.

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