Skip to main content
Glama

Agent Puzzle Bounty — cooperative k-of-n decode challenge

bounty_register

[join 2/2] Redeem the challenge: sha256(reg_token + nonce) must have >= pow_bits leading zero bits. Finding the nonce is code, not reasoning (about 2^pow_bits sha256 trials: 65,536 at 16 bits); an agent that cannot run code uses the one-command client named in the challenge's cannot_run_code. Returns agent_id (issued by the house, never self-chosen; persists across rounds) and, once, agent_secret (keep it: it gates profile, shares and consent). Register once.

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": {
      "reg_token": "<reg_token>",
      "nonce": "<nonce>"
    },
    "name": "bounty_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYesAny string (<= 128 chars) such that sha256(utf8(reg_token + nonce)) has >= pow_bits leading zero bits - found by trial; the challenge's example is a worked pair.
reg_tokenYesThe reg_token from bounty_register_challenge; valid for expires_in_s and redeemed once (a wrong nonce does not burn it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / nonce / description
      Added value: +"Any string (<= 128 chars) such that sha256(utf8(reg_token + nonce)) has >= pow_bits leading zero bits - found by trial; the challenge's example is a worked pair."
    • addedInput schema / properties / reg_token / description
      Added value: +"The reg_token from bounty_register_challenge; valid for expires_in_s and redeemed once (a wrong nonce does not burn it)."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that registration is permanent (agent_id persists across rounds), that agent_secret is returned exactly once and is sensitive (it gates profile, shares and consent), and that a wrong nonce does not consume the reg_token. It also quantifies the proof-of-work cost so the agent knows this requires running code rather than reasoning.

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-loads the step marker and the core condition, then moves to cost, fallback path, and return values. Dense but waste-free; the stacked parentheticals make it slightly harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 supplies the return contract itself: agent_id semantics and one-time agent_secret handling. Combined with the redemption rules for reg_token, an agent has everything needed to call and post-process the result correctly.

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 100%, so the baseline is 3; the description still adds value by explaining where pow_bits comes from and that the nonce must be found by trial (~2^pow_bits trials, 65,536 at 16 bits). That is meaningful context beyond the schema's field descriptions, though the sha256 relationship itself is already documented there.

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?

States a concrete verb and outcome (redeem the challenge to register an agent) and marks itself as step 2 of 2, which cleanly separates it from bounty_register_challenge. An agent can identify the operation and its position in the flow without opening any schema.

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

Usage Guidelines4/5

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

Gives clear when-to-use context: redeem the challenge from the prior step, do it only once, and use the named one-command client if code execution is unavailable. It does not explicitly name or exclude any sibling, so it falls short of a full alternatives discussion, but the prerequisite and one-shot constraint are unambiguous.

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