Skip to main content
Glama
asadman1523

健康同步 MCP

by asadman1523

health_log_workout

Idempotent

Record a workout session with exercise type, start and end times, and optional notes for sets, reps, and weight. Preview before writing to your Fitbit/Google Health account using idempotent sync.

Instructions

寫入運動或重訓場次。逐組重量、次數和動作可保存在 notes;需要實際開始與結束時間。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
dry_runNo預設只預覽。使用者要求實際寫入後設 false。
end_timeYes附時區的 RFC3339 時間,例如 2026-10-04T18:00:00+08:00;不可猜測缺少的時間。
start_timeYes附時區的 RFC3339 時間,例如 2026-10-04T18:00:00+08:00;不可猜測缺少的時間。
distance_kmNo
display_nameNo
calories_kcalNo
exercise_typeYes
active_minutesNo
idempotency_keyYes每筆來源紀錄的穩定唯一鍵;同一鍵不同資料會拒絕。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description reinforces that actual start/end times are mandatory, but omits the most consequential behavior — that dry_run defaults to true so nothing is written until explicitly set false — leaving that to 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.

Conciseness5/5

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

Two tight sentences with no filler, front-loading the core action before the detail-handling and time-requirement notes. Every clause carries information.

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

Completeness3/5

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

For a 10-parameter write tool with 40% schema coverage and no output schema, the description covers the essentials but leaves gaps: the preview-by-default behavior, the idempotency-conflict rejection, and the large exercise_type enum go unmentioned. Adequate, but an agent must read the full schema to invoke it correctly.

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

Parameters3/5

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

With schema description coverage at only 40%, the description compensates partially: it explains that notes carries per-set weight/reps/exercise and that start_time/end_time must be genuine. It says nothing about exercise_type, idempotency_key semantics, dry_run, distance, calories, active_minutes, or display_name, so most parameters remain unexplained by the description.

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 (寫入運動或重訓場次 — write an exercise or weight-training session), which is clearly distinct from the sibling health_log_meal. It does not name or contrast any sibling explicitly, so it stops short of a 5.

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?

It gives partial usage guidance by saying where per-set detail belongs (notes) and that real start/end times are required, which implies 'do not fabricate times'. There is no statement of when to use this versus health_update/health_log_meal, or of any prerequisite such as the preview-first workflow.

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