Skip to main content
Glama
smart-gym-mcp
by sla1k

smartgym_health

Read-only

Check SmartGym credentials, server connectivity, and installed app version to diagnose setup or sync problems before reviewing workouts.

Instructions

Check the credentials file, the SmartGym server, and the installed app version.

ok=true means the server answered with your account data. `problem` explains
what to fix otherwise (e.g. create the credentials file). `data_as_of` is the server's
last-modified time of the account data, in local time with its UTC offset — older than
the last workout on the iPhone means the app hasn't synced yet. `warning` appears when the installed SmartGym version
differs from the one the MCP was verified against.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
problemYes
versionYes
warningYes
routinesYes
data_as_ofYes
app_versionYes
verified_app_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.0
    • addedOutput schema / properties / data_as_of
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Data As Of"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "routines",
      -  "app_version",
      -  "verified_app_version",
      -  "warning",
      -  "problem",
      -  "version"
      -]New value: +[
      +  "ok",
      +  "routines",
      +  "data_as_of",
      +  "app_version",
      +  "verified_app_version",
      +  "warning",
      +  "problem",
      +  "version"
      +]
  2. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, it discloses the return contract: 'ok' means the server answered with account data, 'problem' carries remediation, 'data_as_of' is server-side last-modified time in local time with UTC offset, and 'warning' flags a version mismatch. The staleness heuristic (older than the last workout on the iPhone means no sync yet) is exactly the kind of interpretation an agent cannot get from structured fields alone.

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?

Front-loaded with the three things checked, then the result fields in priority order. The 'data_as_of' sentence is dense and packs the format, the offset, and the staleness comparison into one run, but nothing is redundant.

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?

Even though an output schema exists, the description supplies the semantics an agent needs to act on each field: what 'ok' asserts, what 'problem' is for, how to read 'data_as_of' as a sync signal, and what triggers 'warning'. For a zero-parameter read-only probe, nothing further is required.

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 meaning to add and the baseline applies. The description correctly spends its words on interpreting results instead of restating an empty 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 three concrete resources it inspects ('credentials file, the SmartGym server, and the installed app version'). That combination makes it unmistakably the diagnostic tool among siblings that all act on routines, workouts, or programs.

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?

Implies the troubleshooting context by explaining 'problem' tells you what to fix (e.g. create the credentials file) and that a stale 'data_as_of' means the app has not synced. It never states explicitly when to call it versus simply retrying a failing sibling, so the guidance is strong but not a full when/when-not statement.

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