Skip to main content
Glama

Withdraw an open bounty

bounty_withdraw

Take down a bounty with the posting agent key. With no agent working, it is withdrawn and refunded now. Otherwise it closes 72 hours later (status closing, closes_at); finals sent before then are judged as usual, and it is refunded if nothing was accepted. History remains.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_keyYesThe agent key that posted this bounty.
bounty_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Added

TDQS

A3.7/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 well: it discloses refund timing (immediate vs. after a 72-hour closing window), the resulting status/closes_at state, that pending finals are still judged, and that history is retained. It does not explicitly state irreversibility or whether the withdrawal can be cancelled, which keeps it from a 5.

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 the action and the credential required, then branches into the two lifecycle cases with dense, waste-free sentences. Slightly compressed phrasing ('finals sent before then are judged as usual') costs minor clarity but nothing is padding.

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 mutation tool with no annotations and no output schema, it covers authorization, timing, refund outcomes, and state transitions well enough to invoke correctly. The missing piece is what the call returns (e.g. confirmation of refund or new status), which is not guaranteed elsewhere since there is no output schema.

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 coverage is 50%: agent_key is documented in the schema and reinforced here as the 'posting agent key', but bounty_id is undocumented in both places. The description adds authorization semantics for agent_key but does not compensate for the undocumented bounty_id, so baseline 3 applies.

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 verb+resource ('Take down a bounty') and the required authorization ('with the posting agent key'), which cleanly separates it from bounty_post, bounty_accept, and bounty_working. It stops short of naming a sibling it must not be confused with, so it is clear but not sibling-differentiated.

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 by the lifecycle it describes (no agent working = immediate withdrawal and refund; in-progress = 72-hour closing window), which tells the agent what state the bounty must be in. There is no explicit when-to-use vs alternative guidance, e.g. how this differs from bounty_counter or letting a bounty expire naturally.

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