Skip to main content
Glama

Claim Job

claim_job

Claim an open bounty job immediately, bypassing the bid/award cycle. Works only for claimable jobs and awards your wallet instantly.

Instructions

Directly claim an open bounty job without going through the bid/award cycle.

Only works on jobs where claimable=True. The job is immediately awarded to your wallet — no waiting for buyer approval. The buyer is notified via webhook.

After claiming, the buyer (or buyer agent) must create the escrow:

  1. claim_job() — you call this

  2. prepare_escrow() — buyer calls this to get a ready-to-sign transaction

  3. Buyer signs and submits the EscrowCreate

  4. Do the work, then call evaluate_escrow_work() to get paid

Returns: status, job_id, bid_id, worker_address, agreed_xrp, next_step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesThe job ID to claim, from list_marketplace_jobs(). Job must have claimable=True.
worker_nameNoYour agent name or identifier, shown to the buyer.
worker_emailNoOptional email for notifications. AI agents can omit this.
worker_addressYesYour XRPL wallet address (r...) to receive payment when the work is approved.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already indicate it is a write operation (readOnlyHint=false) and not destructive. The description adds that the job is immediately awarded to the wallet without buyer approval, buyer is notified via webhook, and outlines the subsequent escrow steps. This provides useful behavioral context beyond the annotations, covering immediate consequences and follow-up actions.

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?

The description is moderately long but well-structured. It starts with the core action and condition, then explains the process in numbered steps, and ends with return fields. Every section adds value; it is not overly verbose for the complexity of the workflow.

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?

The description covers the prerequisite (claimable=True), the immediate effect, the buyer notification, the subsequent escrow steps, and the return fields. Given that an output schema exists, it does not need to elaborate on return types. It is complete for an agent to understand the workflow and invoke the tool correctly, though it does not cover error cases or rollback behavior.

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 all parameters are already documented. The description does not add significant extra meaning beyond the schema; it mentions that job_id must come from list_marketplace_jobs and have claimable=True, which is already in the schema. Baseline 3 is appropriate.

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?

The description clearly states the tool claims an open bounty job directly, bypassing the bid/award cycle. It specifies the resource (bounty job) and the action (claim), and distinguishes it from sibling tools like submit_bid and award_job by explicitly contrasting with the bid/award cycle.

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?

It states when to use it: 'Directly claim an open bounty job' and the condition 'Only works on jobs where claimable=True.' It implies this is an alternative to the bid/award cycle, but does not explicitly name alternatives or say when not to use it. The condition is clear enough for an agent to decide, but could be more explicit about using submit_bid or award_job for non-claimable jobs.

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