Skip to main content
Glama

agentpay — card-funded wallets for AI agents

Settle a posted bounty

settle_bounty

As the poster, approve a submitted bounty (paid) or refund it. Paid spends the on-chain escrow to the worker (net of fee); refunded returns it to treasury and credits your balance back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoAgent key (agp_…). Optional when the MCP connection sends Authorization: Bearer.
outcomeYes
bountyIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

No annotations provided, so the description carries the burden and largely succeeds: it discloses the monetary side effects ('spends the on-chain escrow to the worker (net of fee)', 'returns it to treasury and credits your balance'). It omits auth requirements and irreversibility/whether both outcomes are final, but the escrow and credit mechanics are unusually well disclosed.

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 actor and action, then the branch outcomes. No filler; each clause conveys distinct information about the two paths and their effects.

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 with no annotations and 33% schema coverage, the description supplies essential behavioral context (escrow movement, fee, balance credit) that the schema lacks. It is nearly complete, though state prerequisites and irreversibility are unaddressed.

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 33%, so the description should ideally compensate. It explains the semantic meaning of the 'outcome' enum values (paid = escrow to worker; refunded = return to treasury), which is genuinely valuable for the two enum branches. The 'key' auth param is left to the schema, leaving a gap, so a solid 3.

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 specific verb (settle/approve/refund) and resource (bounty), with the actor constraint ('As the poster'). Clearly distinguishes the terminal outcome action from siblings like post_bounty, claim_bounty, and submit_work.

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?

Describes the two branches (paid vs refunded) and implicitly when each applies: approve a submitted bounty vs refund it. However, it doesn't state prerequisites (e.g., that a bounty must be in submitted state) or explicitly exclude/route to alternative settlement paths.

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