Skip to main content
Glama

xmr.pub MCP — Monero node, fees, mempool & payment verification (read-only)

xmr_mining_profitability

【矿工决策】给定算力(H/s)与功耗/电价,算出日/月毛收益、净收益、盈亏平衡电价与回本天数(数据来自本节点的链上网络口径)。When to use:判断要不要开挖、买什么机器、电价谈到多少才划算。Do not use:查询收益历史(本工具是前瞻测算,不是结算单)。Paid: x402 credit pack or API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashrate_hsNo算力,单位 H/s(例:100000 = 100 kH/s)
power_wattsNo整机功耗(瓦),用于算电费
hashrate_khsNo算力的 kH/s 简写(与 hashrate_hs 二选一)
hashrate_mhsNo算力的 MH/s 简写
xmr_price_usdNoXMR 价格(美元),填了才给美元净收益
power_cost_kwhNo电价(美元/kWh)
hardware_cost_usdNo机器成本(美元),用于算回本天数
service_fee_percentNo你所用挖矿服务的费率(%),默认 0;xmr.pub 不收取任何费率

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden. It discloses that data comes from the node's on-chain network scope and that access is paid via x402 credit pack or API key. It does not state whether estimation is deterministic, latency, or rate limits, leaving a small gap.

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 compact sentences: calculation, when to use, when not to use. Front-loaded with the core operation, though the mixed-language formatting is slightly less scannable than plain English.

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 an estimation tool with no output schema, the description names all return values (daily/monthly gross/net, break-even price, payback days), which is exactly the needed context. It omits precision or currency handling caveats, but is largely complete.

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 coverage is 100%, so parameters are already documented in the schema; the description adds no syntax or format details beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific calculation with named outputs: daily/monthly gross and net earnings, break-even electricity price, and payback days, from given hashrate and power/cost. It is a forward-looking estimator, clearly distinguishable from sibling tools like xmr_fee_oracle or xmr_verify_payment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly gives when to use (deciding whether to mine, which machine to buy, acceptable electricity price) and when not to use (querying historical earnings, since this is an estimate not a settlement). This direct routing is rare and valuable.

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