Skip to main content
Glama

publish_site

Idempotent

Put an EXISTING website online at its public address. This makes pages the owner may have kept private visible to anyone, so ask before calling it unless they just asked for it. A site you are creating yourself does not need this: create_site can publish it.

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": {
      "site_id": "<site_id>"
    },
    "name": "publish_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesFrom list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds real context beyond the annotations: the consequence that previously private pages become publicly visible, plus the consent requirement. Annotations already declare non-read-only, non-destructive, idempotent, so the description correctly focuses on exposure rather than repeating those flags. It does not address whether re-publishing updates an already-live site, though idempotentHint covers that.

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?

Three short sentences, ordered purpose → risk/consent → alternative, with the exposure warning placed before the alternative. Nothing is redundant and no sentence could be dropped without losing guidance.

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?

For a one-parameter, non-destructive, idempotent action with no output schema, the definition covers purpose, consent, visibility side effect, and the sibling route. There is no meaningful gap an agent would need filled before calling it.

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% and the single site_id already carries 'From list_sites.' The description reinforces that the site must already exist, but adds no syntax, format, or sourcing detail beyond the schema. Baseline 3 is appropriate.

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?

Names a specific verb and object ('Put an EXISTING website online at its public address') and immediately scopes it to existing sites, which separates it from create_site. The agent can identify the operation without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite ('ask before calling it unless they just asked for it') and an explicit when-not with the alternative named ('A site you are creating yourself does not need this: create_site can publish it'). Both the eligible case and the excluded case are stated.

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.