Skip to main content
Glama

Calculate expected find

calculate_expected_find
Read-onlyIdempotent

What a hashrate is expected to find on a chain over a duration, with optional power costs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>",
      "hashrate": "<hashrate>"
    },
    "name": "calculate_expected_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesA chain slug, e.g. `btc-sha256`.
unitNo`TH/s`, `GH/s`... Omitted, the algorithm's own unit.
wattsNo
secondsNo
hashrateYes
algorithmNoOmitted, the chain's headline algorithm.
hardwareCostUsdNo
electricityUsdPerKwhNo

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?

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds that power costs are optional inputs, but it does not say whether the result is a count, a probability, a currency amount, or how the estimate is derived; with no output schema, more of that burden should have been carried here.

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?

A single compact sentence with no filler, and the core concept is front-loaded before the optional cost qualifier. The phrasing is slightly noun-heavy but every word contributes; nothing is padded.

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?

With eight parameters, 38% schema coverage, and no output schema, this definition is thin. An agent cannot learn what the response contains, how cost inputs change the answer, or what the default 24-hour window means semantically; a calculator returning an unexplained value needs at least a sentence on its output.

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 only 38%, so the description needs to compensate, and it does partially: it flags that power-cost parameters are optional and frames the result as tied to duration and hashrate. It still leaves the unit, algorithm, and hardware-cost interplay to the schema, so it is not complete, but it adds real meaning beyond the raw fields. Given the low coverage a strong description would explain how electricityUsdPerKwh and hardwareCostUsd combine; this stops short of that.

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 names the resource (a chain), the input (hashrate), the time dimension (duration), and the optional cost angle, which is enough for an agent to recognize this as a mining-yield calculator distinct from the data-fetch siblings. It is phrased as a noun clause rather than a verb+resource statement, so it falls short of the crispest form, but the subject matter is unmistakable.

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 when-to-use guidance, no mention of prerequisites, and no routing to or away from alternatives. An agent must infer from the sibling list that this is the only computational tool rather than one of the many read endpoints, and nothing tells it when a cost-adjusted estimate is or isn't appropriate.

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