Skip to main content
Glama

task_publish

Publishes the token owner's own task or bug draft without taking it into work (shared team data), like the "Publish" button in the web: the draft goes to approval if an approver is assigned, otherwise to work to the assignee. Items created through this server are published at creation; a draft appears when the approver returns the item for fixes. Returns link, status and available transitions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "task_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
IDNoTask ID; preferred over key.
keyNoTask number without #, if the ID is unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, non-open-world write. The description goes well beyond that by disclosing the actual state transition (approval queue vs. assignee's work queue), the precondition (item must be the caller's own draft), and the response contents (link, status, available transitions). This is exactly the side-effect detail annotations cannot carry.

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-loaded with the verb and resource, and every clause carries information (scope, precondition, branching outcome, return values). The parenthetical "(shared team data)" is the only slightly muddy bit, and the single long sentence is dense but readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by naming the return fields (link, status, available transitions). Combined with the precondition and post-condition, an agent has everything needed to call this correctly and interpret the result.

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% and the schema already documents both fields including the "preferred over key" / "if the ID is unknown" fallback logic. The description adds nothing about parameters, so baseline 3 applies.

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 ("Publishes the token owner's own task or bug draft") plus the key scope qualifier "without taking it into work," which separates it from task_take and from task_create (items created here are already published). An agent can route correctly without opening the 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?

Explains the operating context well: drafts exist only when an approver returned an item for fixes, and the outcome branches on whether an approver is assigned. The "without taking it into work" clause implicitly contrasts with task_take, but no sibling is named explicitly and there is no explicit "do not use this when..." statement.

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