Skip to main content
Glama

Publish an app

publish_app
Destructive

Make the draft live if every check passes, the tests too, which can take minutes. It runs migrate.py on the live data, ends the preview, and starts the draft again from the new version. It only changes the app on this Cliquet server.

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": {
      "app": "<app>",
      "remark": "<remark>"
    },
    "name": "publish_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app, as list_apps names it, such as sam/budget.
remarkYesOne line for the app's history.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior5/5

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

The description adds substantial context beyond the annotations: publishing can take minutes, it runs migrate.py against live data, ends the preview, and restarts the draft from the new version. These are important side effects for a destructive, non-idempotent operation.

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?

The description is front-loaded and informative in three sentences, with little wasted wording. The phrase 'the tests too, which can take minutes' is slightly awkward but still clear.

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 publish operation with no output schema, the description covers duration, migration side effects, preview shutdown, and draft restart. It could be slightly more complete about failure behavior if checks do not pass, but it is sufficient for correct invocation.

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%, so the app and remark parameters are already documented in the schema. The description reinforces that the app is the one on this Cliquet server but adds no additional parameter syntax or constraints.

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?

The description gives a specific action and resource: making the draft live, with the precondition that checks and tests pass. It is clearly distinct from siblings such as create_app, check_app, discard_draft, and restore_version.

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?

It implies use after checks and tests pass, but does not explicitly explain when to choose this over alternatives or what to do when checks fail. The guidance is inferable 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