Skip to main content
Glama
mo-debugs

Samsung Health Analytics MCP

by mo-debugs

render_dashboard

Render a single-file Samsung Health dashboard that turns analyzed aggregates into a headline, key actions, clock callouts, and trip labels, returning a file path or HTML.

Instructions

Render the single-file dashboard with the story you wrote from the payload. actions: 3 items of {title, detail, metric, target}, each grounded in a payload number. headline: one sentence, the most important finding. subtitle: one line of context. callouts: labels on the 24h clock, e.g. [{"hour": 6, "text": "Morning run"}], only for causes the user confirmed. travel_note: one or two sentences about the user's travel, from trips. trip_labels: [{"start": "2025-08-02", "label": "Lisbon"}] keyed by trip start date; only labels the user confirmed or that the timezone makes unambiguous. Returns the file path; set return_html=True when the client cannot read local files (e.g. Claude Desktop).

Input Schema

NameRequiredDescriptionDefault
actionsYes
calloutsNo
headlineNo
subtitleNo
return_htmlNo
travel_noteNo
trip_labelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it states that the tool returns a file path and when to use return_html for clients that cannot read local files. It adds guardrails such as grounding actions in payload numbers and only using confirmed callouts/trip labels, though it omits file overwrite behavior or file location details.

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?

The purpose is front-loaded in the first sentence, followed by compact parameter-specific guidance and return behavior. Every sentence adds useful constraints or examples, and there is no redundant filler.

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?

For a seven-parameter render tool with no output schema and no annotations, the description is fairly complete: it explains parameter formats, data grounding rules, and return behavior. It could be richer about where the file is written and whether existing files are overwritten, but the core call contract is clear.

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

Parameters5/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 compensate. It documents all seven parameters, including exact action count and fields, example shapes for callouts and trip_labels, and the purpose of return_html, adding substantial meaning beyond the bare schema titles.

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 first sentence states a specific verb and resource: render the single-file dashboard with the story from the payload. It is clearly distinct from data-query siblings such as dashboard_payload, though it does not explicitly name the alternative tool.

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 description implies this is used after composing a story from the payload, and it gives a conditional for return_html when the client cannot read local files. It does not explicitly state when to use this versus dashboard_payload or other output tools.

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