Skip to main content
Glama

UK Data: Science formulas

potential_energy

Read-onlyIdempotent

Calculates electrostatic potential energy using the formula U = qV, where U is energy, q is charge, and V is voltage. (cost: 1 credit)

Input Schema

NameRequiredDescriptionDefault
chargeNonumber, required, electric charge, coulombs (C), no default
voltageNonumber, required, electric potential difference, volts (V), no default

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.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 the safety profile is covered. The description adds one genuinely new behavioral fact — the 1-credit cost — but says nothing about input validation (string inputs allowed) or output format.

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, front-loaded with the operation and formula, with the cost note trailing. Nothing superfluous, though the parenthetical cost could be more clearly separated.

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 simple two-parameter pure calculation with full schema coverage and clear read-only annotations, the description covers what is needed. Only a brief note on output units or acceptance of string inputs is missing.

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 description coverage is 100% and already documents charge in coulombs and voltage in volts. The description only maps the symbols q and V to the parameters, which adds marginal meaning beyond the schema; 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 and resource ("Calculates electrostatic potential energy") and gives the exact formula U = qV, which distinguishes it from physics siblings like calculate_electric_field or calculate_final_velocity. No explicit sibling routing, so not a 5.

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 guidance on when to prefer this over related tools (e.g., calculate_electric_field) and no prerequisites stated. Usage is only implied by the formula itself.

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