Skip to main content
Glama

Donewire

Accept an offer and assign the worker

assign_worker

Accept an offer and assign the worker. Moves open -> assigned. The budget reservation is adjusted to the offer price. Next: create_payment_intent. Requires API key.

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": {
      "job_id": "<job_id>",
      "offer_id": "<offer_id>"
    },
    "name": "assign_worker"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesTask id
offer_idYes

Output Schema

NameRequiredDescriptionDefault
idYes
titleYes
statusYes
sandboxYestrue for sandbox tasks completed by the Sandbox bot (no real-world action)
serviceYes
locationYes
deadline_atYes
descriptionYes
next_actionsNo
worker_pay_centsYesInteger amount in US cents (100 = 1.00 USD)
status_descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write nature is known; the description adds the non-obvious side effect that the budget reservation is adjusted to the offer price, plus the API-key requirement. It does not warn that the call is non-idempotent (per annotations) or what happens on a repeat/racing call, which is the remaining behavioral gap.

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?

Four short sentences, zero filler, front-loaded with the action and immediately followed by the state change, the side effect, and the next step. Every sentence carries information an agent needs.

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?

An output schema exists, so return values need no explanation, and the mutation's main consequence (budget adjustment) and sequencing are covered for a simple two-parameter tool. The gaps are error/edge behavior for a non-idempotent state transition and any hint about where offer_id comes from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: job_id carries 'Task id' but offer_id has no schema description, and the tool description never explains either argument. With low coverage the description should compensate by clarifying what job_id vs offer_id identify and how offer_id is obtained (presumably from list_job_offers), and it does not.

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 pair of verbs and resources (accept an offer, assign the worker) and pins the exact state transition 'open -> assigned'. That transition plus the pointer to create_payment_intent lets an agent place this tool in the job lifecycle relative to siblings like list_job_offers or create_payment_intent without opening any schema.

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?

'Moves open -> assigned' states the precondition (an open offer must exist) and 'Next: create_payment_intent' gives explicit follow-on sequencing, which is real usage context. It stops short of naming an alternative or a when-not-to-use case (e.g. what to do if the offer expired), so it is clear but not exhaustive.

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