Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-potential-energy

Potential Energy: Gravitational potential energy. Takes mass, height and gravity (default 9.81). Returns the energy as result. 🆓 5 free trial calls per signed wallet

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": "x402-potential-energy"
  }
}

Input Schema

NameRequiredDescriptionDefault
massNo
heightNo
gravityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / gravity / description
      Removed value: -"Gravity to process"
    • removedInput schema / properties / height / description
      Removed value: -"Height to process"
    • removedInput schema / properties / mass / description
      Removed value: -"Mass to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It discloses the default gravity value and that a result is returned, but omits critical behavior such as expected units for inputs and output, precision, and error handling. The free-trial note is useful but does not cover the calculation semantics.

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 short and front-loaded with the core operation. The sentence 'Returns the energy as result' is slightly redundant but not wasteful enough to undermine clarity.

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?

For a three-parameter calculator with no annotations, no output schema, and zero schema description coverage, the definition is under-specified. It should at minimum state units and expected numeric string formats to let an agent invoke it correctly.

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%, so the description needs to compensate. It names mass, height and gravity and gives gravity's default, but provides no units or expected formats for any parameter, leaving ambiguity in a numeric calculation tool.

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 states a specific calculation: gravitational potential energy from mass, height and gravity. It distinguishes the resource from other energy calculators by naming the physics quantity, though it never explicitly contrasts itself with siblings like x402-kinetic-energy.

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?

Usage is only implied by the formula description. There is no explicit guidance on when to use this versus other energy tools, no conditions, and no alternatives named.

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.