Skip to main content
Glama

x402-energy

Energy: Convert an energy value between joules, kilojoules, calories, kilocalories, watt-hours, kWh, BTU, and electronvolts. Provide value and from/to units.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoTo to process
fromNoFrom to process
valueNoValue to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "From to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "To to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing about precision, rounding, case sensitivity of unit strings, or what happens on an unrecognized unit. For a pure conversion tool the safety profile is arguably trivial, but error and output behavior remain undocumented.

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 compact sentences with the action and unit set front-loaded and the invocation requirement second. No filler, though the final sentence is more of an instruction than added information.

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 deterministic converter with no output schema and no annotations, the description covers the operation and valid inputs adequately. It stops short of describing the returned value's format/precision, which is the main remaining ambiguity.

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?

Schema coverage is nominally 100%, but the schema descriptions are placeholders ("To to process", "From to process"), so the description does real work by enumerating the accepted units for from/to. It still doesn't say whether unit strings are case-insensitive or which abbreviations are valid.

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 (Convert) and resource (an energy value) and enumerates the supported units, so the agent knows precisely what operation is performed. It does not, however, distinguish itself from the many dedicated single-pair siblings such as x402-calories-to-joules or x402-joules-to-calories.

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?

The only guidance is "Provide value and from/to units," which describes how to call it rather than when to choose it. No conditions, no exclusions, and no mention of general alternatives like x402-units-convert or the pair-specific converters are given.

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