Skip to main content
Glama

Get a party's rewards

get_rewards

Retrieve mining and validator rewards for a Canton party. Choose summary, daily totals, or individual transfers, with optional reward type filtering.

Instructions

Get a Canton party's mining/validator rewards. Three granularities: "summary" (default) — current earnings metrics (latest round, 1h avg, 24h avg, incl. post-traffic-cost CC/USD); "daily" — per-day totals over a date range (max 90 days per call); "transfers" — individual reward transfers. Optionally filter by rewardType.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain to query. Defaults to "canton" (currently the only supported chain).canton
limitNoMax transfer rows when granularity is transfers (default 25, max 100).
partyYesThe party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash).
endDateNoRange end (inclusive): ISO date, ISO datetime, or unix timestamp.
startDateNoRange start: ISO date, ISO datetime, or unix timestamp.
rewardTypeNoFilter to one reward type (transfers granularity only).
granularityNosummary = current earnings metrics; daily = per-day totals; transfers = individual reward payouts.summary
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behaviors: three granularities, default summary, date range limit of 90 days for daily, optional rewardType filter, and default limit for transfers. It does not mention error conditions, permissions, or rate limits, but the provided detail is substantial.

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 brief yet comprehensive, using a single well-structured sentence with semicolons to separate granularities. It front-loads the main purpose and immediately provides key details without redundancy.

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?

Given no output schema, the description covers the return structure for each granularity in reasonable detail. It explains summary returns, daily totals (with range limit), and transfers (with limit). Missing aspects like error handling or required permissions, but overall sufficient for an agent to understand what to expect.

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 description coverage is 100%, giving a baseline of 3. The description adds extra semantics: it clarifies what each granularity returns (e.g., 'current earnings metrics (latest round, 1h avg, 24h avg, incl. post-traffic-cost CC/USD)') and mentions the 90-day limit for daily, which is absent from the schema.

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 clearly states the tool retrieves a Canton party's mining/validator rewards and then breaks down three granularities (summary, daily, transfers) with specific details, making it distinct from sibling tools like get_balance or get_transactions.

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?

While the description explains the three granularities and their use cases, it does not provide guidance on when to choose this tool over siblings (e.g., get_transactions for transaction history) nor specify when not to use it. The context is clear but lacks exclusionary or comparative advice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Noves-Inc/canton-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server