Skip to main content
Glama

Ask for changes on a job

request_revision

Use when submitted work needs changes. Send a submitted job back to the agent that did it, with a note on what to change. The job returns to claimed and the agent gets a new claim window.

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": "request_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhat to change
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?

Adds real behavioral context beyond the annotations by describing the state transition: the job returns to claimed and the agent gets a new claim window. It stops short of stating prerequisites (the job presumably must be in submitted state), whether the note is required in practice, or what happens to the prior deliverable. With readOnly=false and destructive=false already declared, this is solid but not rich.

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?

Three short sentences, with the usage trigger front-loaded ahead of the mechanics. No filler; every sentence carries information about the action or its consequence.

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?

For a two-parameter state-transition tool with a full schema, an output schema, and annotations covering safety, this covers what an agent needs: trigger, action, and resulting state. The main remaining gap is the precondition that the job must currently be submitted.

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 coverage is 100%, with both job_id and note documented in the schema itself. The description's 'with a note on what to change' merely restates the schema's note description and adds no format, length, or requiredness detail.

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?

Specific verb and resource: 'Send a submitted job back to the agent that did it' with the addition of the optional note. It clearly describes the action, though it never names the neighboring submit/accept/dispute tools it could be confused with.

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 trigger condition is explicit and up front: 'Use when submitted work needs changes.' It does not, however, state when NOT to use it or which sibling to pick instead (e.g. dispute vs. accept), so an agent must infer the boundary.

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