Skip to main content
Glama

Publish and share

publish
Destructive

Change which version is online and who can open it. A call changes only the fields it names. With version, puts that version online; without it, changes only access to the live publication and retries failed invitations.

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
accessNoWho can open the project. Without it, access stays as it is.
projectYesThe project key, such as client-report.
versionNoThe version number from upload.
replaceVersionNoNeeded for a rollback: the version that is online now.

Output Schema

NameRequiredDescriptionDefault
accessYes
studioLinkYesOpens the project in Studio.
invitationsYes
publicationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / access / properties / password / description
      Previous value: -"For the password audience: at least 8 letters or digits. Without it, Sharekite generates a password or keeps the existing one. A new password signs out current visitors."New value: +"For the password audience: at least 8 characters. Without it, Sharekite generates a password or keeps the existing one. A new password signs out current visitors."
    • addedInput schema / properties / replaceVersion
      Added value: +{
      +  "description": "Needed for a rollback: the version that is online now.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / access / properties / password / description
      Previous value: -"Present only when this call set or generated the password. Visitors need it to open the page."New value: +"Present only when no password was given and Sharekite generated one."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructive=true and non-idempotent, and the description adds the key partial-update guarantee ('A call changes only the fields it names') plus the invitation-retry side effect, both of which an agent could not infer from annotations alone. It stops short of spelling out what a version replacement does to the currently live publication or what the response contains, but with a rich annotation set carrying the safety profile this is solid added context.

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?

Two sentences, both front-loaded with the operative distinction between publishing a version and changing access. No filler and no repetition of the title.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema, a 100%-documented input schema, and annotations covering the destructive/non-idempotent profile, the description's job is to explain the branching call shapes, which it does completely. An agent knows what to pass and what each shape will do.

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 100%, so the baseline is 3, and the description earns above that by explaining the conditional relationship between `version` and `replaceVersion` (rollback) and between supplying and omitting `version`. It does not restate the access sub-fields, which the schema already documents thoroughly.

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 first sentence gives a concrete verb pair and two resources: which version is online and who can open it. That is enough to separate it from 'upload' (which produces versions) and from the read-only project siblings without inspecting any schema.

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?

It states exactly what each call shape does: with `version` it publishes that version, without it only access changes and failed invitations are retried. The one gap is that it never names an alternative tool or an explicit when-not condition, though the version/access branching supplies clear context for selecting a call shape.

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.