Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_pending_actions

Retrieve pending workout edits and deletes waiting to sync to Apple Watch so you can review unsynced changes before they apply.

Instructions

Get all pending workout actions (edits and deletes) waiting to be synced to Apple Watch.

Returns: List of pending actions, each with: id, workoutId, action ("edit" or "delete"), composition (full workout composition for edits, null for deletes), created_at.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full behavioral burden. It does disclose meaningful behavior beyond the name: the queue semantics ('waiting to be synced to Apple Watch'), the two possible action values, and that composition is null for deletes; however, it does not state that the call is side-effect free, whether results are ordered, or what an empty queue looks like.

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?

One front-loaded purpose sentence followed by a compact field list; every line carries information an agent needs. The 'Returns:' block is slightly list-like but is justified because no output schema exists.

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?

With zero parameters and no output schema, the description must carry the return-value contract, and it does so by enumerating id, workoutId, action, composition, and created_at along with the null-composition rule for deletes. Only minor gaps remain, such as ordering and emptiness semantics, which are low-risk for a read-only queue inspection 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?

The tool takes zero parameters, so there is no parameter semantics to convey and the baseline of 4 applies. The description correctly spends no space on inputs and instead documents outputs.

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?

The description states a specific verb and resource ('Get all pending workout actions (edits and deletes)') and adds the scoping condition 'waiting to be synced to Apple Watch', which separates it from the sibling get_pending_workouts by naming the object as actions rather than workouts. It stops short of explicitly naming the sibling alternative, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

The phrase 'waiting to be synced' implies the usage context (inspecting the outbound sync queue), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative such as get_pending_workouts or batch_actions. An agent can infer the purpose but must guess at routing decisions.

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