Skip to main content
Glama

Get one round with its proof

get_round
Read-only

One round in full: { round } with its mode, target and pot, its state in words (stateText), and its proof: the holder snapshot's slot, the ticket total, the Merkle root, the drand round and randomness, and the winning ticket (SHA-256 of the randomness, as a number, modulo the total). A prize the creator awarded has proof { awardedBy: "creator" }; a round a holder redeemed by burning coins has proof { redeemedBy, burn }; a round not drawn yet has none.

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": {
      "mint": "<mint>",
      "number": "<number>"
    },
    "name": "get_round"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYesThe coin's mint address (base58).
numberYesThe round's number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine value by spelling out how the winning ticket is derived (SHA-256 of randomness mod total) and that undrawn rounds return no proof, though it says nothing about failure modes when a round number doesn't exist.

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?

Front-loaded with 'One round in full' followed by a dense inventory of the returned fields, with no filler sentences. The literal '{ round }' placeholder reads like template residue and slightly interrupts the sentence flow.

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?

No output schema exists, so the description must describe the return value, and it does so in useful detail including the three proof variants. It stops short of enumerating the possible stateText or mode values, which leaves some ambiguity an agent might resolve by just calling the tool.

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%, so both parameters are documented in the schema and the baseline of 3 applies. The description reinforces the pairing – a round identity needs both the coin's mint and the round number – and the '{ round }' framing ties the number to the returned object, adding a little meaning beyond the schema.

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 resource and scope: a single round, plus exactly what comes back (mode, target, pot, stateText, proof). An agent can distinguish it from the plural get_rounds without opening a schema, though the description leads with return fields rather than a verb.

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?

No when-to-use or when-not-to-use guidance and no alternative named; the sibling get_rounds for listing rounds is never referenced. The closing sentences do branch on outcome (awarded / redeemed / not-drawn), but they explain return shape, not tool selection.

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