Skip to main content
Glama

Donewire

Publish a draft task

publish_job

Publish a draft task. Moves draft -> open and reserves budget. 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>"
    },
    "name": "publish_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesTask id

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

A3.8/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, but the description adds two facts not present in them: the draft -> open transition and that budget is reserved as a side effect. It also flags the API key requirement. It stops short of describing failure modes (e.g., insufficient budget) or the non-idempotent behavior declared in annotations.

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?

Three short sentences, no filler, with the core action and state transition front-loaded before the side effect and the auth requirement. Every sentence carries distinct information.

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 not be explained, and the description covers the action, state change, side effect, and auth requirement. The remaining gap is error/precondition behavior when the task is not in draft state or the budget cannot be reserved.

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 a single well-documented job_id (uuid pattern), so the schema carries the parameter burden. The description adds no meaning about the id beyond what the schema states, which matches the baseline for fully covered schemas.

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 states a specific verb and resource ('Publish a draft task') and pins the exact state transition ('Moves draft -> open'), which lets an agent distinguish it from sibling mutations like create_job or cancel_job. It does not explicitly contrast with approve_job, so sibling differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Publish a draft task' implicitly tells the agent the precondition is a task in draft state, which is useful usage context. However, there is no explicit when-not guidance, no mention of what to do if the task is not a draft, and no named alternative tool.

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