Skip to main content
Glama

energy_save_energy_prefs

Save Energy Dashboard preferences by sending only the fields you want to update, such as energy sources, device consumption, currency, or cost per unit.

Instructions

Save Energy Dashboard preferences (WS energy/save_prefs); only the fields you pass are sent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
energy_sourcesNo
device_consumptionNo
currencyNo
energy_per_unitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full burden. It discloses partial update behavior but omits critical details such as destructive potential, auth requirements, response format, or side effects. The description is too sparse to ensure safe use.

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?

The description is very concise (two sentences) and front-loaded with the core purpose. However, it may be too brief given the lack of annotations and schema descriptions.

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

Completeness2/5

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

Given the tool has 4 parameters, no annotations, and no output schema described, the description is incomplete. It does not cover validation, response behavior, or any constraints, making it inadequate for safe invocation.

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

Parameters2/5

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

Schema description coverage is 0%, but the description does not explain any parameter's meaning or format. The single note about sending only passed fields adds minimal value over the raw schema.

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 clearly states it saves Energy Dashboard preferences and mentions the WebSocket command, making the purpose unambiguous. However, it does not explicitly differentiate from sibling tools like energy_get_energy_prefs or energy_validate_energy_prefs.

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 usage for saving preferences with partial updates ('only the fields you pass are sent'), but lacks guidance on when to use this tool versus alternatives or any prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fistacho/ha-nexus-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server