Skip to main content
Glama

BatterySnap

Find devices by model

devices
Read-onlyIdempotent

Return the list of individual physical devices matching one or more (brand, model) pairs for which we have battery statistics. Each entry in the returned list describes ONE specific device (identified by its own device_uid) and the metrics on that entry are aggregates computed only from THAT device's own snapshot history — they are not aggregated across devices. Two devices of the same brand and model will appear as two separate entries with their own independent metrics.

Per-device fields include: brand, resolved model (street name), raw Android model, snapshot count, activity window (first / last seen), average battery level, average / min / max battery temperature in Celsius, awake-ratio, discharge speed and AC / USB / wireless charge speed (hours per full 100% swing), Android SDK level, IANA time zone, and a url pointing at the public BatterySnap web page for the device's interactive battery history (https://www.battery-snap.com/device_history?device=).

Each pair's model is matched case-insensitively against either the resolved street name (e.g. 'Galaxy S23') or the raw Android model identifier (e.g. 'SM-S911B'). Pass fields to keep only specific attributes per device and avoid bloated responses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairsYesOne or more {brand, model} pairs to look up. Each pair fetches devices matching that brand and model.
fieldsNoOptional whitelist of attribute names to keep in each returned entry, used to shrink the response. When omitted or empty, all attributes documented in the output schema are returned. Unknown names are silently ignored.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld=false, so the safety profile is covered. The description adds genuinely useful non-annotation behavior: entries are one physical device each, metrics are aggregated only from that device's own snapshot history, and same-brand/model devices appear separately. It stops short of 5 by not noting result ordering, pagination, or behavior on unmatched pairs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The core purpose is correctly front-loaded, but the description then enumerates per-device fields at length even though an output schema exists, duplicating structured data. That enumeration is the least economical part and could be dropped without loss.

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?

With an output schema covering return fields and annotations covering safety, the description fills the remaining gaps an agent needs: matching rules, per-device (non-cross-device) aggregation semantics, and the response-size control via `fields`. Nothing required to call it correctly is missing.

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 100%, so both parameters are fully documented in the schema, including the case-insensitive dual matching rule and the `fields` whitelist behavior. The description's matching and `fields` notes largely restate schema content, so the baseline 3 is appropriate.

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 ('Return the list of individual physical devices matching one or more (brand, model) pairs') with a clear per-device scope. It implicitly distinguishes itself from fleet-level siblings by stressing metrics are 'not aggregated across devices', but it never names an alternative (e.g. device_summary, models) the way a 5 would.

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?

Usage is implied through the (brand, model) matching semantics rather than stated. There is no explicit when-to-use / when-not-to-use guidance, and no alternatives are named despite many closely related siblings (device_summary, models, top_devices).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources