Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Mining Profitability

calculate_mining_profitability
Read-onlyIdempotent

Compute crypto mining profitability after electricity costs. Use for miners evaluating ROI. Inputs: hashrate, power W, kWh price, network difficulty, coin price. Returns daily/monthly net profit. See list_bundles for related 'crypto' calculators.

Input Schema

NameRequiredDescriptionDefault
power_wattsYesMining hardware power consumption in watts
block_rewardNoBlock reward in coins (default 3.125 BTC post-halving)
hashrate_mhsYesMining hashrate in MH/s
coin_price_usdYesCurrent coin price in USD
network_difficultyYesCurrent network difficulty
electricity_cost_kwhYesElectricity cost per kWh in fiat currency

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so safety is covered and the bar is lower. The description adds that electricity costs are deducted and that daily/monthly net profit is the output, which is useful context, but it omits caveats like difficulty volatility or input assumptions.

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?

Three short sentences with purpose front-loaded, use case second, output and pointer last. It is tight and well ordered, though the input enumeration partially duplicates the fully documented schema.

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?

With annotations covering the safety profile and an output schema handling return values, the description is adequately complete: it conveys purpose, audience, key inputs and the output granularity (daily/monthly net profit). Only edge-case assumptions remain unstated.

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 an output schema exists, so the schema carries parameter meaning and the baseline is 3. The description's input list (hashrate, power W, kWh price, difficulty, coin price) merely restates schema fields without adding format, units or default semantics (e.g., the block_reward default).

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 (Compute) and resource (crypto mining profitability after electricity costs), and names the distinguishing feature (net of electricity costs). It does not explicitly differentiate from close siblings like calculate_crypto_profit_loss or calculate_staking_rewards, so it stops short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use for miners evaluating ROI' gives an implied audience/context but no when-not guidance or named alternative. The pointer to list_bundles is a discovery hint rather than routing between comparable calculators, so usage is only lightly implied.

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.