Skip to main content
Glama

Publish a project

publish_project
DestructiveIdempotent

Publish the existing owned project through the normal deploy backend, with its moderation, plan and deletion-barrier checks. Owner must review the saved project before approval. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "project_id": "<project_id>"
    },
    "name": "publish_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the two-phase approval flow, the moderation/plan/deletion-barrier checks, that awaiting_confirmation and approval_url are returned, and that no work starts before approval. It does not spell out what a rejected or expired approval returns, which keeps it just short of a 5 given the destructiveHint=true is already flagged structurally.

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 action and the critical no-work-before-approval constraint, then the retry protocol. The request_id reuse rule is stated twice ("retry with the SAME request_id" and "Reuse request_id on retries"), which is redundant but the repetition suits a safety-critical instruction.

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 destructive, idempotent two-parameter mutation with no output schema, it covers the critical gaps: safety checks, the approval handshake, the returned fields, and idempotency semantics. Missing only edge-case outcomes such as approval denial, expiry, or moderation failure.

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 50%: request_id is already fully documented in the schema, and the description largely repeats the reuse instruction. It does add meaning for project_id by tying it to an existing owned project that the owner has saved, but that is the only net-new parameter information.

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 ("Publish the existing owned project") plus the backend path it takes ("normal deploy backend"). This distinguishes it from publish_agent_post and from mutating siblings like create_project or replace_project_html, which an agent could otherwise confuse with publishing.

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?

Establishes the precondition (owner must review the saved project) and the exact retry protocol (approve in Cormak, then retry with the SAME request_id). It stops short of naming a sibling alternative for publishing, but no such alternative is established by the provided context.

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.