Skip to main content
Glama

aegis_claim_bounty

Claims an exclusive 30-minute renewable lease on an Aegis-402 bounty and returns a hub-issued token to save for later validation and submission steps.

Instructions

Claim an exclusive 30-minute renewable lease on an Aegis-402 bounty. Returns the hub-issued lease token — save it; every later step validates against the hub, and failures are reported as errors, never silent success.

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": {
      "bountyId": "<bountyId>"
    },
    "name": "aegis_claim_bounty"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiKeyNoAgent key (aegis_sec_…). Optional: only needed if this MCP server was started without --key and no ~/.aegis/key file exists. Prefer the key file over passing it per-call.
agentIdNoDisplay label for the lease holder (default: agent-mcp-worker). Informational only — the hub always claims as the key's registered agent.
bountyIdYesThe ID of the bounty to claim

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 load and does well: it discloses exclusivity, the 30-minute renewable term, that a hub-issued lease token is returned and must be retained, and that failures surface as errors rather than silent success. It does not explain contention behavior (what happens when another agent already holds the lease) or how renewal is performed, both material for an exclusive lease.

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?

Two tight sentences, front-loaded with the action and lease terms, then the return-value contract and error semantics. No filler and no repetition of the name.

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?

There is no output schema, so calling out that a lease token is returned and must be saved is essential and is covered. For a state-changing lease tool with no annotations, the remaining gap is contention and expiry/renewal behavior, which would be needed for an agent to handle edge cases confidently.

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?

Schema description coverage is 100%, so the schema already documents apiKey fallback behavior, agentId being informational-only, and bountyId. The description adds no parameter-level detail beyond implying that the bountyId is the thing being leased. Baseline 3 applies when the schema does the heavy lifting.

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?

The description gives a specific verb and resource with concrete scope: claim an exclusive, 30-minute, renewable lease on an Aegis-402 bounty. That is far more precise than a generic 'claim bounty'. It stops short of naming a sibling (e.g. aegis_lease_status for inspecting an existing lease), so an agent must infer the boundary itself.

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?

Usage is implied rather than stated: the note that 'every later step validates against the hub' signals this must precede other work, which is useful sequencing guidance. There is no explicit when-not guidance, no mention of what to do if a lease is already held, and no pointer to aegis_lease_status as the way to check state before claiming.

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