Skip to main content
Glama

List the approval queue (pending, expired, done)

list_approvals
Read-only

Lists approval queue items from a local file, lets you filter by pending, expired, or done status, and inspect one approval's payload and push call.

Instructions

Lists the approval queue (filled by queue_adjustment; propose_next_week and adjust_guide hand back a queuePayload for it) from the local file only: never contacts Suunto, needs no credentials, writes nothing. Each item: { id, kind, status ('pending' | 'expired' | 'approved' | 'rejected'), forDate, source, createdAt, expiresAt, reasons, resolution: { decision, at, note, pushed } | null }. pending: waiting for the user; expired: not decided before expiresAt, can no longer be approved (it can still be rejected); approved / rejected: decided. status filters ('pending', 'expired', 'done' = approved or rejected, 'all' default); with id the one item in full: its payload and call (the DRY-RUN form, push_week_plan with dryRun true: never a ready real push) and howToPush. Output: { now, counts: { pending, expired, approved, rejected }, items, notes }. Read-only.

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": "list_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOne approval's id, e.g. 'a3': returns it in full with its payload and the exact call.
statusNoWhich items to list: pending, expired, done (approved or rejected) or all (default).all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint=false, and the description reinforces with concrete guarantees: 'local file only: never contacts Suunto, needs no credentials, writes nothing'. It goes further by explaining that expired items 'can no longer be approved (it can still be rejected)' and that the returned `call` is a DRY-RUN form, 'never a ready real push' — behavior an agent could not infer from the schema.

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?

Dense but front-loaded: purpose first, then data-source guarantees, then item shape, then status semantics, then filters, then output. The inline record-shape and output-shape blocks are justified given there is no output schema, though the trailing 'Read-only.' repeats the annotation and could be dropped.

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?

With no output schema, the description compensates by specifying the item fields, the resolution sub-object, and the top-level output ({ now, counts, items, notes }). Together with status semantics and the dry-run caveat, an agent has everything needed to call and interpret this tool.

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% with enum and default documented, so the schema already carries the basics. The description still adds value by stating what the `id` parameter yields ('the one item in full: its payload and call ... and howToPush') and by clarifying that status 'done' means approved or rejected together.

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?

Opens with a specific verb and resource ('Lists the approval queue') and immediately distinguishes itself from producers like queue_adjustment, propose_next_week and adjust_guide, which 'hand back a queuePayload for it'. An agent knows exactly what this tool is and is not from the first two clauses.

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 operational context: status filter semantics including the 'done' shorthand, and that passing `id` returns one item in full with its payload and call. It does not explicitly name a sibling for deciding items (e.g. resolve_approval), so exclusions are implied rather than spelled out; strong but not a full when/when-not map.

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