Skip to main content
Glama

Check laptop battery

exza_battery_status
Read-onlyIdempotent

Read battery charging state/capacity if exposed by macOS, Windows or Linux. Returns available:false for desktop computers without supported battery telemetry; never changes power settings.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; 'never changes power settings' largely restates that. What the description genuinely adds is the cross-platform scope and the failure shape (available:false on desktops), but it says nothing about the fields returned when a battery is present, which matters since there is no output 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: the capability and platform scope come first, the desktop edge case second. Every clause carries information an agent would otherwise have to guess.

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 zero-param, read-only telemetry tool this is nearly complete: it explains platforms, the desktop fallback, and the no-side-effects guarantee. The one shortfall is that with no output schema, the description could have sketched the available payload (charge percentage, charging flag, time remaining) instead of only naming the 'available' key.

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 the baseline is 4 and there is nothing for the description to disambiguate. It correctly implies no input is needed, consistent with the 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?

The description opens with a specific verb ('Read') and resource ('battery charging state/capacity') and scopes the platforms it covers (macOS, Windows, Linux). That is enough to separate it from the similarly named siblings such as exza_git_status or exza_job_status, which concern entirely different status domains.

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?

It makes the use case clear (reading current charge/charging state) and gives an important precondition/edge case: desktop machines without supported telemetry return available:false rather than erroring. There is no sibling that competes for this job, so the absence of an explicit 'use X instead' pointer is not a real gap.

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