Skip to main content
Glama

Wisp

Publish

publish

Make the current draft (version null) or an earlier version (rollback) live at the project URL.

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": "<project>"
    },
    "name": "publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject id (p…) or address (slug)
versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the core effect (something becomes live at the project URL) and that an integer version triggers a rollback, which is the most important behavioral fact. It omits permission requirements, whether the previously live version is retained, propagation delay, and what a failed publish does.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence, front-loaded with the action and the target, with the two parameter modes packed into parentheticals. No sentence is redundant and nothing could be cut without losing meaning.

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?

For a two-parameter mutation tool with no annotations and no output schema, the description covers the effect and both parameter meanings. It leaves open what is returned (URL, version id, or nothing), how failures like 'no draft exists' are surfaced, and whether publish is idempotent, which matters given there is no output schema to fall back on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: 'project' is documented in the schema while 'version' is typed but semantically undescribed. The description fills that exact gap by defining null as the current draft and an integer as an earlier version for rollback, and it ties the meaning of 'project' to the publish URL. This is meaningful compensation beyond the schema.

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?

The description uses a concrete verb ('make ... live') and a concrete target ('the project URL'), and it distinguishes the two modes of the operation: the current draft versus an earlier version. An agent can tell this is a deploy/promote action rather than a create or update action, though it never names a sibling tool it contrasts with.

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?

Usage is only implied: the parenthetical '(version null)' and '(rollback)' signal that passing an integer means reverting to an earlier version. There is no explicit statement of when to prefer this tool over update_function or create_project, and no exclusions or preconditions such as 'a draft must exist first.'

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