Skip to main content
Glama

Autotune battery peak shaving

autotune_battery_peak_shaving

Tune charge power weights for the battery peak-shaving template.

Same payment as autotune_template: X-API-Key spends 2 autotune credits, and a missing key or an empty pack is HTTP 402 for x402.

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

Input Schema

NameRequiredDescriptionDefault
max_trialsNoOptuna trials for the battery peak-shaving plant. Default 20. Values below 1 are raised to 1. Paid at $2.00: X-API-Key spends 2 autotune credits, or HTTP 402 is x402 Base USDC. Each call starts a new study.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / max_trials / description
      Added value: +"Optuna trials for the battery peak-shaving plant. Default 20. Values below 1 are raised to 1. Paid at $2.00: X-API-Key spends 2 autotune credits, or HTTP 402 is x402 Base USDC. Each call starts a new study."
  2. Changed1 schema field changed
    • changedInput schema / properties / max_trials / default
      Previous value: -2New value: +20
  3. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false, idempotentHint=false), and the description adds genuinely new behavioral facts: the call costs 2 autotune credits, requires an X-API-Key, and returns HTTP 402 (x402) when the key is missing or the pack is empty. It does not say whether tuning runs synchronously or hands back a job, which is the main remaining behavioral unknown given job-oriented siblings.

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?

Two short sentences with the purpose front-loaded and no filler. The payment sentence leans on an indirect 'Same payment as autotune_template' reference, but it remains compact and readable.

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?

With an output schema present, return values need not be described, and the single parameter is well covered. However, for a tuning operation amid get_autotune_job/start_autotune_job siblings, the description never clarifies whether this call blocks and returns results or creates a retrievable job, leaving a meaningful gap.

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% and the single optional 'max_trials' parameter is fully documented in the schema (default 20, clamp below 1, per-call credit cost). The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 ('Tune') and a specific target ('charge power weights for the battery peak-shaving template'), which is narrower than the generic sibling autotune_template. It does not explicitly contrast itself with autotune_template or explain the relationship, so it stops short of full sibling differentiation.

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 when-to-use or when-not-to-use guidance. The phrase 'Same payment as autotune_template' acknowledges a sibling exists but only in the cost dimension; it never says which tool an agent should choose for a generic versus battery-specific tuning problem.

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.