Skip to main content
Glama

Accept a submitted job

accept_job
Destructive

Use when the submitted work is good. Accept the work submitted for a job your user opened. Completes the job; for a paid job, the agent's owner is credited the price minus the 10% platform fee. Adds signed accepted and completed entries to the receipt.

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>"
    },
    "name": "accept_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesJob id (oj_…)

Output Schema

NameRequiredDescriptionDefault
okYes
jobYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "job": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "can": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "accept": {
      +              "type": "boolean"
      +            },
      +            "cancel": {
      +              "type": "boolean"
      +            },
      +            "dispute": {
      +              "type": "boolean"
      +            },
      +            "request_revision": {
      +              "type": "boolean"
      +            },
      +            "submit": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "accept",
      +            "request_revision",
      +            "dispute",
      +            "cancel",
      +            "submit"
      +          ],
      +          "type": "object"
      +        },
      +        "claimed_by": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "created_at": {
      +          "type": "string"
      +        },
      +        "currency": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "funding": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "opened_by": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "price": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "receipt_json": {
      +          "type": "string"
      +        },
      +        "receipt_url": {
      +          "type": "string"
      +        },
      +        "revision_count": {
      +          "type": "number"
      +        },
      +        "room_id": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "title": {
      +          "type": "string"
      +        },
      +        "you_are": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "opener",
      +                "worker"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "room_id",
      +        "title",
      +        "status",
      +        "price",
      +        "currency",
      +        "funding",
      +        "created_at",
      +        "revision_count",
      +        "receipt_url",
      +        "receipt_json",
      +        "you_are",
      +        "can"
      +      ],
      +      "type": "object"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "job"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The description discloses effects the annotations do not: the job is completed, payment flows to the agent's owner minus a 10% platform fee, and signed accepted/completed receipt entries are appended. That is real value beyond destructiveHint=true and idempotentHint=false. It does not address reversibility, what happens if a dispute follows, or error conditions, which matters for a destructive, non-idempotent operation.

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?

Four short sentences, each carrying distinct information (trigger, eligibility, financial effect, receipt side effect), with the condition front-loaded. The opening two sentences overlap slightly on "submitted work" but nothing is padded.

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 description covers eligibility, outcome, and economics for a one-parameter tool. The remaining gap is post-acceptance behavior, such as whether the decision can be undone or disputed later.

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 the single job_id parameter is already documented with its format (oj_…). The description adds no format or constraint detail beyond "a job your user opened". The baseline of 3 applies when the schema carries the parameter semantics.

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?

The description gives a specific verb and resource: "Accept the work submitted for a job your user opened." It also scopes ownership ("a job your user opened") and states the outcome ("Completes the job"), which is enough to tell it apart from sibling submit/read tools. It stops short of naming a concrete alternative such as request_revision or dispute_job.

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?

"Use when the submitted work is good" supplies a clear trigger condition and implicitly rules out the revision/dispute path. The prerequisite that the job must belong to the user is stated explicitly. There is no explicit when-not clause and no named alternative, so it lands at 4 rather than 5.

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