Skip to main content
Glama

Publish app

publish_project
Destructive

Publish a validated app to a public URL or queue publication of a specified build. Pending publications have no URL yet.

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

Input Schema

NameRequiredDescriptionDefault
turn_idNo
project_idYes
when_readyNoQueue publication of the exact turn after it completes, even after the chat reply ends.
wait_secondsNoWith turn_id, wait briefly for that build before attempting publication.

Output Schema

NameRequiredDescriptionDefault
urlNo
costNo
nameNo
stateNo
summaryNo
turn_idNo
project_idYes
preview_urlNo
publicationIdNo
input_requestsNo
publication_urlNo
current_questionNo
preview_matches_turnNo
publish_intent_stateNo
publication_requestedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false. The description adds real value beyond that by making the public-exposure consequence concrete ('to a public URL') and by disclosing a pending-state nuance ('Pending publications have no URL yet'). However, for a destructive, non-idempotent mutation it says nothing about whether republishing overwrites a live deployment, what permissions are needed, or whether publication can be undone.

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?

Two short sentences with no filler; the primary action is front-loaded and the caveat about pending publications follows it. Slightly dense phrasing ('queue publication of a specified build') costs a little clarity but nothing is wasted.

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

Completeness3/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 annotations carry the safety profile. Still, for a destructive, open-world, non-idempotent mutation with four parameters and only half the schema documented, the description leaves important gaps around overwrite semantics and the turn_id/when_ready/wait_seconds relationship.

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 50%: when_ready and wait_seconds are documented in the schema, while project_id and turn_id are bare UUIDs. The description partially compensates by gesturing at 'a specified build' (turn_id) and 'queue publication' (when_ready), but it never explains the role of project_id or clarifies the interaction between turn_id and wait_seconds.

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?

States a specific verb and resource ('Publish a validated app') plus two modes of operation: immediate publish to a public URL, or queuing a specified build for publication. This is clearly distinguishable from the CRUD-oriented siblings (create_project, get_project, list_projects, send_message), though no sibling performs a similar action so no differentiation is explicitly needed.

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 'validated app' implies a prerequisite that the app must already be validated, and the two modes (publish now vs. queue) are hinted at, but the description never says which parameters or conditions select each mode, nor does it state any when-not-to-use condition. Usage is implied rather than explicit.

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