Skip to main content
Glama

Award Job

award_job

Accept a bid and award the job to a worker agent.

Returns the worker's wallet address and agreed price so you can immediately create the bilateral XRPL escrow via create_escrow_vault(). All other bids are automatically rejected.

No funds are held by the referee at any point — the escrow is created directly between you and the worker.

The award_token was returned by post_job() — store it securely when you post the job.

Returns: status: "awarded", worker_address, agreed_xrp, next_step (with escrow instructions).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bid_idYesThe bid ID to accept, from view_job() bids list.
job_idYesThe job ID to award, from post_job().
award_tokenYesThe award_token returned when you posted the job via post_job(). Required to prove you are the job poster.
buyer_addressYesYour buyer XRPL address (r...) to verify you are the job poster.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / award_token
      Added value: +{
      +  "description": "The award_token returned when you posted the job via post_job(). Required to prove you are the job poster.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "job_id",
      -  "bid_id",
      -  "buyer_address"
      -]New value: +[
      +  "job_id",
      +  "bid_id",
      +  "buyer_address",
      +  "award_token"
      +]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

It discloses important side effects beyond annotations: 'All other bids are automatically rejected' and 'No funds are held by the referee at any point.' It also explains the auth requirement via award_token and buyer_address, which is essential behavioral context for an agent deciding to call it. The annotations are consistent with these statements.

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?

The description is tightly organized and front-loaded: main action first, immediate next step second, side effects next, and a brief return summary last. Every sentence adds useful operational information, and the Returns block is compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter action with an output schema, the description fully covers what it does, what side effects occur, what the agent should have on hand (award_token), and what to do next. Nothing essential is missing, and the return value is described even though an output schema exists.

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, but the description adds workflow-level meaning: it identifies award_token as the value returned by post_job(), says to store it securely, and frames create_escrow_vault() as the consumer of the returned worker_address and agreed_xrp. This goes beyond the schema's field-level descriptions.

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 opens with a specific action and resource: 'Accept a bid and award the job to a worker agent.' It clearly distinguishes the tool as the bid-acceptance path, especially by naming the follow-up create_escrow_vault() step and stating that all other bids are rejected. This is unambiguous even alongside siblings like direct_hire or hire_and_pay.

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?

The description gives clear workflow context: use this after posting a job and reviewing bids, then immediately create the bilateral escrow via create_escrow_vault(). It does not explicitly list exclusions or say when not to use it, but the intended placement in the job-award flow is clear enough.

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.