Skip to main content
Glama
openGym MCP Bridge

openGym MCP Bridge

by Nirvana-Z777

preview_body_sync

Read-onlyIdempotent

Preview native body data writes before syncing, explicitly select private weight IDs, and surface conflicts that block the batch.

Instructions

Preview native body data writes. Select private weight IDs explicitly. Conflicts are shown and block the batch.

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

Input Schema

NameRequiredDescriptionDefault
itemsNo
private_weight_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior beyond that: conflicts are surfaced in the preview and block the batch, which tells the agent the outcome is not merely informational and that a failed preview must be resolved. It does not describe what a conflict report looks like or what a successful preview returns.

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?

Three short sentences, zero filler, with the action front-loaded and the two operational constraints (explicit IDs, blocking conflicts) following. Nothing can be cut without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool takes a nested, constrained 30-item payload of body-metric writes and returns no output schema, yet the description never explains what an item represents or how conflicts are reported back. For a preview tool whose entire value is the returned conflict information, this leaves the agent guessing about both input meaning and output shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it only addresses one of two parameters: 'private weight IDs' hints at why private_weight_ids must be supplied explicitly. The 'items' array — the core payload with kind/date/value/unit/field semantics — is entirely unexplained in both description and schema.

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?

States a specific verb and resource: 'Preview native body data writes', which separates it from the read-oriented sibling get_native_body_data and from the other preview_* tools aimed at plans, workouts, and catalogue. It stops short of naming which sibling to use for the actual commit, but the purpose itself is unambiguous.

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?

'Preview ... writes' plus 'Select private weight IDs explicitly' implies this is a dry-run step before committing body data, and the explicit-ID note is a real usage instruction. There is no when-not guidance, no statement of whether a preview is mandatory before writing, and no pointer to the committing counterpart.

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