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. Only at the user's request: the draft is their review of the spec. Returns link, status and available transitions.

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.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds real behavioral context: the draft routes to approval when an approver is assigned and to the assignee otherwise, and it is restricted to the caller's own data. It does not describe failure modes (e.g., no approver and no assignee) or any state side effects on related records.

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 core action and the key behavioral distinction (not taking the draft into work) in the first clause. Three dense sentences, all carrying information, though the mid-sentence analogy and nested routing clause make it slightly run-on.

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 mutation tool with no output schema, the description compensates by naming the return payload (link, status, available transitions) and the routing outcome of publishing. Prerequisites (own draft, user-initiated) are covered; only edge-case behavior when no approver/assignee exists is left unspecified.

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% and both parameters (ID, key) are documented in-schema, including the ID-preferred-over-key preference. The description adds nothing about parameter selection, so the 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 (Publishes) and resource (own task or bug draft) with a clear scope constraint: it only touches the token owner's shared-team draft and explicitly does NOT take it into work. The web-button analogy plus the approval/assignee routing makes it instantly distinguishable from siblings like task_take and task_update.

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?

Gives an explicit when-to-use gate: "Only at the user's request: the draft is their review of the spec." It also implicitly contrasts with task_take by stating the tool does not pull the draft into work. It never names a sibling alternative by name, so it stops short of the top score.

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