Skip to main content
Glama

Put a change live

publish_task

Asks to put a finished task's change live on the project's site, as its Publish button does. The task must be ready to try. Nothing happens until you approve it in CodeGene: the answer gives a link to the request, which waits there for 15 minutes. Send the person that link; you cannot approve it. Then call get_approval with the requestId to learn how it ended. Once approved there is still a 30 second window to undo it on the task's page.

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": {
      "task_id": "<task_id>",
      "reason": "<reason>"
    },
    "name": "publish_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy, in a sentence: kept in the workspace's activity.
task_idYesThe task whose change goes live (list_tasks gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Goes well beyond the annotations by disclosing the human-approval gate, the 15-minute pending window, that the agent lacks approval rights, and the 30-second undo window — none of which is in the structured fields. The annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) only say it is a non-destructive local mutation, so the description is doing real work here. It is slightly short of a 5 because it does not say what happens if the request expires or is rejected beyond routing the agent to get_approval.

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?

Front-loads the effect, then the precondition, the approval mechanic, and the follow-up call in a logical order. It is longer than average but nearly every sentence carries a distinct behavioral fact; the one soft spot is 'as its Publish button does' and 'ready to try', which are slightly informal for an agent-facing contract.

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?

There is no output schema, and the description compensates by stating what the response contains (a link to the approval request) and what to do with it. Combined with the follow-up call to get_approval, an agent has enough to run the whole flow; only the failure outcomes (expiry, rejection) are left to the sibling tool.

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%, so task_id, reason, and workspace_id are already fully documented in the schema; the 3 baseline applies. The description implies the task_id must reference a task that is 'ready to try' and mentions a requestId in the answer, but adds no format, length, or selection guidance beyond what the schema states.

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 verb and resource ('put a finished task's change live on the project's site') and anchors it to a concrete analogue ('as its Publish button does'), which tells an agent exactly what effect to expect. It also names the follow-up tool get_approval, so the agent can distinguish this initiation step from the status-check step.

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

Usage Guidelines5/5

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

Gives an explicit precondition ('The task must be ready to try'), an explicit handoff sequence ('Then call get_approval with the requestId'), and an explicit exclusion ('you cannot approve it'). It also names a hard timing constraint (15 minutes) and a post-approval window (30 seconds to undo), which is exactly the guidance an agent needs to sequence calls.

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