Skip to main content
Glama
Lumerin-protocol

@hashpower/mcp

Official

Get hashprice

get_hashprice

Retrieve the current hashprice in USD or BTC from the on-chain oracle. Get live data for market analysis or order simulation.

Instructions

Read the on-chain hashprice oracle via AggregatorV3 latestRoundData().

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairNoHashpriceUSD (trading) or HashpriceBTCusd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It explicitly says 'Read' and names the exact on-chain function, which makes it clear this is a non-mutating oracle read. It does not describe error handling or output format, but for a simple read the safety profile is well conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that directly names the action, resource, and method. There is no filler or redundant restatement of the tool name, and the key information is immediately accessible.

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 one-parameter, read-only oracle tool, the description plus the rich schema is nearly complete. The only notable gap is the lack of an explicit description of the return value, but the named Chainlink-style method strongly implies the returned round data.

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?

The schema already fully documents the single `pair` parameter with an enum and a description, so the description adds no extra parameter-level meaning. The baseline of 3 is appropriate since schema coverage is 100%.

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 verb ('Read'), a concrete resource ('on-chain hashprice oracle'), and the exact oracle method used. This clearly distinguishes it from the sibling tools, none of which read the hashprice oracle.

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?

The description communicates that this tool is for reading the current hashprice, which implies its usage context. However, it does not explicitly state when to use it over alternatives or mention any exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.