Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_device_solar_gain

Read-only

Query daily solar gain for a Garmin device over a start and end date to track charging performance and compare energy input across days.

Instructions

[read-only] Return daily solar gain for a device over a date range. Signature: get_device_solar_gain(device_id: int | str, start: str, end: str) -> dict[str, Any] Dates are YYYY-MM-DD.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device_id": "<device_id>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_device_solar_gain"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesDate as YYYY-MM-DD.
startYesDate as YYYY-MM-DD.
device_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the '[read-only]' tag adds nothing. The description does add the daily granularity of the result, but it never says what a day's value looks like (units, timezone, whether missing days are omitted or zero-filled) or what happens with an invalid range.

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?

Three short sentences, front-loaded with the purpose and signature, with no filler. The trailing 'Dates are YYYY-MM-DD' sentence repeats what the schema already documents for both date parameters, which is the only wasted line.

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 simple read-only tool with annotations covering its safety profile, the definition is adequate. However, with no output schema, the description should say more about the returned daily values (units, timezone, handling of empty days) to let an agent interpret results 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?

Schema coverage is 67% and the only undocumented parameter is device_id. The inline signature compensates by revealing that device_id accepts int or str, which the schema does not say. The date format hint is redundant with the schema's own descriptions of start and end.

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 ('Return daily solar gain for a device') plus a scope ('over a date range'), so an agent knows exactly what it fetches. It does not differentiate against the many sibling device getters, 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative, even though the sibling list contains many overlapping device-data tools. Usage is only inferable from the stated purpose, and no prerequisites (auth, device ownership, timezone) are given.

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

Deploy Server

Other Tools