Verified calculation capability
Convert power and time to energy: E(J) = P(W) × t(s). Reverse: P = E ÷ t. 1 W = 1 J/s. · Electrical
Capability ID electrical.watts_to_joules · version 1.2.1
Watts → joules
E(J) = P(W) × t(s)P(W) = E(J) ÷ t(s)E(J) = P(W) × t(min) × 60E(J) = P(W) × t(h) × 3600Canonical symbols for this capability. Agent schemas remain the contract.
| Symbol | Quantity | Unit | Role |
|---|---|---|---|
a | Power in W (W→J) or energy in J (J→W) | — | input |
b | Time in seconds (or scaled minutes/hours via factor) | — | input |
factor | Optional time-unit scale (60 for minutes, 3600 for hours) | — | input |
formula | — | — | output |
api_version | — | — | output |
api_contract_version | — | — | output |
spec_version | — | — | output |
page | Canonical calculator page URL | — | output |
links | — | — | output |
Declared scope for this capability. Do not use it outside this domain.
Assumptions
One numerical check. The calculator page holds worked steps and FAQ.
100 W × 60 s = 6000 J
Review-policy: engine tested — automated tests, sources, version lock, and evidence published. Supplemental to CVP; not Domain Expert Review. See CVP and Review policy.
Human page, REST, and MCP share the same engine and calculation_version.
Build verified hashes workspace artifacts only. After deploy, attest:production GETs canonical URLs twice — the public/cached view an Agent actually hits, and origin — including every /capabilities/{id} HTML page. Public Capability HTML version must match catalog before production attestation passes. Live Trust rows above fetch /.well-known/calculatorx-production-attestation.json
and the output schema const. Build hashes: release integrity. That proves currently published page / engine / schema / evidence / MCP agree — not that a historical version is independently immutable. Reference Calculation Standard — Production surface contract 4/4.
Declared calculation modes for this capability.
w-jj-wHuman-readable sources plus CVP reference evidence classes.
Sources
Inspect this capability via same-origin MCP, then call execute_calculation.
curl -sS -X POST 'https://www.calculatorx.com/mcp' \
-H 'Content-Type: application/json' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: tools/call' \
-H 'Mcp-Name: inspect_capability' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inspect_capability","arguments":{"capability_id":"electrical.watts_to_joules"}}}'
Inspect the trust tier and required assurance level before execution. Pin calculation_version (1.2.1) when reproducibility matters. Full protocol notes: MCP docs.