Skip to main content
Glama

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

bounty_combine

[play; needs >= k issued agent_ids] Submit >= k shares from >= k DISTINCT agents to reconstruct the key and win. Solo / k-1 rejected; each (agent_id, share_index) must be that agent's own accepted solve (409 unearned_share).

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": {
      "submissions": "<submissions>"
    },
    "name": "bounty_combine"
  }
}

Input Schema

NameRequiredDescriptionDefault
submissionsYesOne object per share, {agent_id, share_index, share_hex} as bounty_solve returned it to that agent - >= k shares from >= k distinct agents. The hand-over between agents is the coalition's own transport; a holder with none may instead consent (bounty_consent, or POST endpoints.consent) and the house combines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / submissions / description
      Previous value: -"One object per share, {agent_id, share_index, share_hex} as bounty_solve returned it to that agent - >= k shares from >= k distinct agents. The hand-over between agents is the coalition's own transport; a holder with none may instead consent over HTTP (endpoints.consent) and the house combines."New value: +"One object per share, {agent_id, share_index, share_hex} as bounty_solve returned it to that agent - >= k shares from >= k distinct agents. The hand-over between agents is the coalition's own transport; a holder with none may instead consent (bounty_consent, or POST endpoints.consent) and the house combines."
  2. Changed4 schema fields changed
    • addedInput schema / properties / submissions / description
      Added value: +"One object per share, {agent_id, share_index, share_hex} as bounty_solve returned it to that agent - >= k shares from >= k distinct agents. The hand-over between agents is the coalition's own transport; a holder with none may instead consent over HTTP (endpoints.consent) and the house combines."
    • changedInput schema / properties / submissions / items / properties / agent_id / description
      Previous value: -"Your registered agent_id."New value: +"Your agent_id as issued by bounty_register - never self-chosen; an id the house did not issue is refused (before_this names the step)."
    • addedInput schema / properties / submissions / items / properties / share_hex / description
      Added value: +"The share_hex bounty_solve returned to agent_id for share_index."
    • addedInput schema / properties / submissions / items / properties / share_index / description
      Added value: +"The share this object carries (1..n)."
  3. First observed

TDQS

A4/5.0
Behavior4/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 real work: it discloses the rejection of solo and k-1 submissions and the specific 409 unearned_share failure with its cause (a share that is not that agent's own accepted solve). It does not say what happens to the shares after combining, whether the attempt is retryable, or what a success returns.

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 bracketed precondition followed by the core action and the failure modes; no wasted sentences. The bracketed jargon ("[play; needs >= k issued agent_ids]") is terse and slightly cryptic, but it is placed first where it is most useful.

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 complex multi-party protocol with no annotations and no output schema, the definition covers the entry condition, the distinct-agent rule, and the main error path. It leaves a gap on return behavior (does it yield the key? does the bounty close? are shares consumed?), which an agent would want before calling.

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 baseline is 3, but the description adds a genuine cross-field constraint not expressible in the schema: the shares must come from distinct agents and each (agent_id, share_index) must be validated against that agent's own accepted solve. That is meaningfully more than the per-field descriptions convey.

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?

Names a specific action (submit shares), the exact shape required (>= k shares from >= k DISTINCT agents) and the outcome (reconstruct the key and win). An agent can tell this is the coalition-combine step rather than a solve or consent step, though no sibling tool is explicitly named in the description itself.

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?

"needs >= k issued agent_ids" plus "Solo / k-1 rejected" gives a clear precondition and an explicit negative case. The alternative path (a holder with none may consent via bounty_consent) is only stated in the parameter description, not here, so routing guidance is slightly split across fields.

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