Skip to main content
Glama

Outil.io

Publish site project

publish_site_project
Destructive

Publier les pages du site lorsque l’utilisateur le demande. Fournir les versions actuelles du projet, du site et de TOUTES les pages retournées par get_site_project. Aucun Git ou déploiement. Vérifier get_publication_status et l’URL retournée ; en 503 la base peut être enregistrée et la génération statique en attente. Toujours donner ensuite à l’utilisateur publicUrl (site en ligne) et editorUrl (édition de l’accueil) en liens cliquables, puis show_preview sur la page d’accueil.

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": {
      "projectId": "<projectId>",
      "requestId": "<requestId>",
      "expectedProjectVersion": "<expectedProjectVersion>",
      "expectedSiteVersion": "<expectedSiteVersion>",
      "pages": "<pages>"
    },
    "name": "publish_site_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYes
projectIdYes
requestIdYes
expectedSiteVersionYes
expectedProjectVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations by disclosing optimistic-concurrency requirements (current project, site, and per-page versions), the 503 partial-failure semantics where the database may be committed while static generation is still pending, and the required post-publish verification via get_publication_status. It also prescribes the mandatory follow-up: present publicUrl and editorUrl as clickable links, then call show_preview on the homepage.

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?

Four sentences, front-loaded with the action and followed by prerequisites, failure behavior, and required follow-up in a logical order. Dense but each sentence carries operational information; a short clause on requestId would have cost nothing.

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 destructive, open-world mutation with no output schema and five required undocumented parameters, the description still supplies what an agent needs to call it correctly and to report results, including the return-value semantics (publicUrl, editorUrl) and the degraded 503 outcome. Nothing essential for correct invocation appears to be missing.

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?

With 0% schema description coverage, the description carries the burden and does explain the provenance and meaning of the three version-bearing inputs (project, site, and every page from get_site_project), including the requirement that they be current. The gaps are that requestId is never explained (its idempotency/retry role) and no parameter is referred to by name, leaving the mapping to inference.

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?

Opens with a concrete verb and resource ('Publier les pages du site') and narrows the scope to ALL pages of the site, which distinguishes it from the single-page publish_page sibling. It does not name that sibling explicitly, so an agent must infer the contrast between site-wide publishing and page-level publishing.

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?

Gives an explicit trigger ('lorsque l'utilisateur le demande') and a mandatory prerequisite (supply current versions obtained from get_site_project), plus a boundary statement that this is not Git or a deployment. It stops short of stating when not to use it or how it relates to rebuild_static_publication/publish_page.

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.