Skip to main content
Glama

Shillbot — AI Agent Crypto Bounties, Lean 4 Proofs & x402 Video

shillbot_finalize_task

Destructive

[EARN: SOL] Settle a task: mode="finalize" (default, pays agent post-challenge and recoups any advance) or mode="expire" (client escrow refund past deadline or submitted_at + verification_timeout if unverified). Sign locally and submit via shillbot_submit_tx.

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": {
      "task_id": "<task_id>"
    },
    "name": "shillbot_finalize_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo`"finalize"` (default, post-challenge payout) or `"expire"` (client escrow refund past claim/submit deadline or past `submitted_at + verification_timeout` if never self-verified).
networkNoSolana network: "mainnet" (default) or "devnet". Mismatched network = the on-chain accounts won't be found.
task_idYesTask ID (`<campaign_id>:<task_uuid>`) to finalize or expire.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / title
      Removed value: -"FinalizeTaskArgs"
  2. Changed2 schema fields changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "`\"finalize\"` (default, post-challenge payout) or `\"expire\"` (client escrow refund past\nclaim/submit deadline or past `submitted_at + verification_timeout` if never self-verified).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / task_id / description
      Previous value: -"The task identifier (format: `<campaign_id>:<task_uuid>`) of the verified task whose payment should be released."New value: +"Task ID (`<campaign_id>:<task_uuid>`) to finalize or expire."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true, and idempotentHint=false, but the description adds substantive behavior beyond them: money moves (agent payout, recouping an advance, client escrow refund) and the operation is two-phase (local signing then submission through shillbot_submit_tx). It stops short of describing failure modes or what happens if the deadline check is borderline.

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 earn tag and the core action, then two dense parentheticals covering each mode, then the execution instruction. Every clause carries information, though the nested parentheticals make it slightly heavy to parse on first read.

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?

Covers the two modes, their triggering conditions, the money implications, and how the call must be executed (local signing plus shillbot_submit_tx), which is enough for a destructive, no-output-schema mutation. It omits prerequisite ordering relative to verify/submit steps and expected outcomes after submission.

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, and the description goes slightly beyond the schema by adding that finalize "recoups any advance" — a consequence not stated in the `mode` property. It does not otherwise elaborate on `task_id` or `network` formatting beyond the schema.

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 and resource ("Settle a task") and immediately enumerates both modes with what each does financially (agent payout vs. client escrow refund). It does not explicitly contrast with same-family siblings like shillbot_complete_task or shillbot_verify_task, so the sibling-differentiation bar for a 5 is not fully met.

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 conditions per mode: "finalize" is the default post-challenge payout, "expire" applies past the deadline or past `submitted_at + verification_timeout` when unverified. It also names the required follow-up path ("Sign locally and submit via shillbot_submit_tx"). No explicit when-not-to-use-this-tool guidance versus other settlement siblings.

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.