Skip to main content
Glama

Outil.io

Apply site changes

apply_site_changes
Destructive

MODIFIER TOUT LE SITE EN UN APPEL. items : une entrée par page {pageId,snapshot,set,unset,add,remove,move} (mêmes chemins et ajouts que apply_page_changes, images externes importées dans la galerie ; atomique par page) ; pages traitées EN PARALLÈLE côté serveur. replaceText [{find,replace}] remplace un texte littéral sur TOUTES les pages (contenus, menus, formulaires, pieds de page, liens mailto:/tel:) sans snapshot : coordonnées, nom de marque, traductions répétées. finish:{animations:true,hover:true} pose la finition standard sur tout le site dans le même appel. Une valeur explicite de set l’emporte sur replaceText et finish. Résultat par page avec nouveau snapshot ; les échecs (snapshot périmé) n’annulent pas les autres pages. Toujours préférer cet outil à plusieurs apply_page_changes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apply_site_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNo
finishNoFinition standard sur TOUTES les pages, décidée par le serveur : animations d’entrée (titres glisse-haut, textes et images fondu, décalage progressif) et survol (boutons lift, images de cartes zoom). Les blocs déjà animés, les menus et les valeurs explicites de set sont conservés. Inutile de lire describe_editor_capabilities pour cela.
sourceNodraft
replaceTextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / items / items / properties / add / items / properties / block / properties / type / description
      Added value: +"form = raccourci : cadre + champs (fields) + bouton (button), voir FORMULAIRES"
    • changedInput schema / properties / items / items / properties / add / items / properties / block / properties / type / enum
      Previous value: -[
      -  "text",
      -  "button",
      -  "image",
      -  "shape",
      -  "icon",
      -  "video",
      -  "composant"
      -]New value: +[
      +  "text",
      +  "button",
      +  "image",
      +  "shape",
      +  "icon",
      +  "video",
      +  "composant",
      +  "field",
      +  "form"
      +]
    • addedInput schema / properties / items / items / properties / add / items / properties / section / properties / children / items / properties / type / description
      Added value: +"form = raccourci : cadre + champs (fields) + bouton (button), voir FORMULAIRES"
    • changedInput schema / properties / items / items / properties / add / items / properties / section / properties / children / items / properties / type / enum
      Previous value: -[
      -  "text",
      -  "button",
      -  "image",
      -  "shape",
      -  "icon",
      -  "video",
      -  "composant"
      -]New value: +[
      +  "text",
      +  "button",
      +  "image",
      +  "shape",
      +  "icon",
      +  "video",
      +  "composant",
      +  "field",
      +  "form"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / items / items / properties / add / items / properties / block / properties / groupParents
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 2,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / add / items / properties / section / properties / children / items / properties / groupParents
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 2,
      +  "type": "array"
      +}
  3. Changed2 schema fields changed
    • removedInput schema / properties / items / items / properties / add / items / properties / block / properties / md
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "tablette 820 px ; absente = calculée",
      -  "properties": {
      -    "style": {
      -      "additionalProperties": {
      -        "type": [
      -          "number",
      -          "string"
      -        ]
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "style"
      -  ],
      -  "type": "object"
      -}
    • removedInput schema / properties / items / items / properties / add / items / properties / section / properties / children / items / properties / md
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "tablette 820 px ; absente = calculée",
      -  "properties": {
      -    "style": {
      -      "additionalProperties": {
      -        "type": [
      -          "number",
      -          "string"
      -        ]
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "style"
      -  ],
      -  "type": "object"
      -}
  4. Changed4 schema fields changed
    • addedInput schema / properties / items / items / properties / add
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "after": {
      +        "description": "section (ou canevas) qui reçoit le bloc",
      +        "pattern": "^@[0-9a-z]+$",
      +        "type": "string"
      +      },
      +      "before": {
      +        "description": "section (ou canevas) qui reçoit le bloc",
      +        "pattern": "^@[0-9a-z]+$",
      +        "type": "string"
      +      },
      +      "block": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "content": {
      +            "description": "text/button : HTML inline échappé ; image : URL (externe = importée dans la galerie) ; video : URL",
      +            "type": "string"
      +          },
      +          "custom": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "alt": {
      +                "type": "string"
      +              },
      +              "animation": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "delay": {
      +                    "description": "secondes",
      +                    "maximum": 30,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "duration": {
      +                    "description": "secondes",
      +                    "maximum": 60,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "repeat": {
      +                    "description": "rejouer à chaque retour dans la fenêtre",
      +                    "type": "boolean"
      +                  },
      +                  "type": {
      +                    "enum": [
      +                      "fondu",
      +                      "glisse-haut",
      +                      "glisse-bas",
      +                      "glisse-gauche",
      +                      "glisse-droite",
      +                      "zoom",
      +                      "rebond",
      +                      "rotation",
      +                      "flou",
      +                      "machine",
      +                      "balayage",
      +                      "basculer",
      +                      "entree",
      +                      "apparait",
      +                      "pop",
      +                      "devoile-gauche",
      +                      "devoile-droite",
      +                      "barre",
      +                      "deplie",
      +                      "trace",
      +                      "kenburns",
      +                      "flottement",
      +                      "pulsation",
      +                      "orbite",
      +                      "tourne"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type"
      +                ],
      +                "type": "object"
      +              },
      +              "composant": {
      +                "type": "string"
      +              },
      +              "donnees": {
      +                "additionalProperties": {},
      +                "type": "object"
      +              },
      +              "hover": {
      +                "enum": [
      +                  "lift",
      +                  "zoom",
      +                  "glow",
      +                  "underline",
      +                  "fade"
      +                ],
      +                "type": "string"
      +              },
      +              "href": {
      +                "type": "string"
      +              },
      +              "target": {
      +                "enum": [
      +                  "_blank",
      +                  "_self"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "groupId": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "pattern": "^[A-Za-z][\\w-]{0,63}$",
      +            "type": "string"
      +          },
      +          "md": {
      +            "additionalProperties": false,
      +            "description": "tablette 820 px ; absente = calculée",
      +            "properties": {
      +              "style": {
      +                "additionalProperties": {
      +                  "type": [
      +                    "number",
      +                    "string"
      +                  ]
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "style"
      +            ],
      +            "type": "object"
      +          },
      +          "sm": {
      +            "additionalProperties": false,
      +            "description": "téléphone 390 px ; absente = calculée",
      +            "properties": {
      +              "style": {
      +                "additionalProperties": {
      +                  "type": [
      +                    "number",
      +                    "string"
      +                  ]
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "style"
      +            ],
      +            "type": "object"
      +          },
      +          "style": {
      +            "additionalProperties": {
      +              "type": [
      +                "number",
      +                "string"
      +              ]
      +            },
      +            "description": "CSS camelCase, nombres en px, bureau 1600 de large : width et height requis, left, top (absent = sous le contenu), fontSize, color, backgroundColor…",
      +            "type": "object"
      +          },
      +          "type": {
      +            "enum": [
      +              "text",
      +              "button",
      +              "image",
      +              "shape",
      +              "icon",
      +              "video",
      +              "composant"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "style"
      +        ],
      +        "type": "object"
      +      },
      +      "in": {
      +        "description": "section (ou canevas) qui reçoit le bloc",
      +        "pattern": "^@[0-9a-z]+$",
      +        "type": "string"
      +      },
      +      "section": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "children": {
      +            "default": [],
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "content": {
      +                  "description": "text/button : HTML inline échappé ; image : URL (externe = importée dans la galerie) ; video : URL",
      +                  "type": "string"
      +                },
      +                "custom": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "alt": {
      +                      "type": "string"
      +                    },
      +                    "animation": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "delay": {
      +                          "description": "secondes",
      +                          "maximum": 30,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "duration": {
      +                          "description": "secondes",
      +                          "maximum": 60,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "repeat": {
      +                          "description": "rejouer à chaque retour dans la fenêtre",
      +                          "type": "boolean"
      +                        },
      +                        "type": {
      +                          "enum": [
      +                            "fondu",
      +                            "glisse-haut",
      +                            "glisse-bas",
      +                            "glisse-gauche",
      +                            "glisse-droite",
      +                            "zoom",
      +                            "rebond",
      +                            "rotation",
      +                            "flou",
      +                            "machine",
      +                            "balayage",
      +                            "basculer",
      +                            "entree",
      +                            "apparait",
      +                            "pop",
      +                            "devoile-gauche",
      +                            "devoile-droite",
      +                            "barre",
      +                            "deplie",
      +                            "trace",
      +                            "kenburns",
      +                            "flottement",
      +                            "pulsation",
      +                            "orbite",
      +                            "tourne"
      +                          ],
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "type"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "composant": {
      +                      "type": "string"
      +                    },
      +                    "donnees": {
      +                      "additionalProperties": {},
      +                      "type": "object"
      +                    },
      +                    "hover": {
      +                      "enum": [
      +                        "lift",
      +                        "zoom",
      +                        "glow",
      +                        "underline",
      +                        "fade"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "href": {
      +                      "type": "string"
      +                    },
      +                    "target": {
      +                      "enum": [
      +                        "_blank",
      +                        "_self"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "groupId": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "pattern": "^[A-Za-z][\\w-]{0,63}$",
      +                  "type": "string"
      +                },
      +                "md": {
      +                  "additionalProperties": false,
      +                  "description": "tablette 820 px ; absente = calculée",
      +                  "properties": {
      +                    "style": {
      +                      "additionalProperties": {
      +                        "type": [
      +                          "number",
      +                          "string"
      +                        ]
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "style"
      +                  ],
      +                  "type": "object"
      +                },
      +                "sm": {
      +                  "additionalProperties": false,
      +                  "description": "téléphone 390 px ; absente = calculée",
      +                  "properties": {
      +                    "style": {
      +                      "additionalProperties": {
      +                        "type": [
      +                          "number",
      +                          "string"
      +                        ]
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "style"
      +                  ],
      +                  "type": "object"
      +                },
      +                "style": {
      +                  "additionalProperties": {
      +                    "type": [
      +                      "number",
      +                      "string"
      +                    ]
      +                  },
      +                  "description": "CSS camelCase, nombres en px, bureau 1600 de large : width et height requis, left, top (absent = sous le contenu), fontSize, color, backgroundColor…",
      +                  "type": "object"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "text",
      +                    "button",
      +                    "image",
      +                    "shape",
      +                    "icon",
      +                    "video",
      +                    "composant"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "style"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 300,
      +            "type": "array"
      +          },
      +          "custom": {
      +            "additionalProperties": {},
      +            "type": "object"
      +          },
      +          "height": {
      +            "description": "hauteur bureau ; défaut : sous le dernier bloc + 64",
      +            "maximum": 20000,
      +            "minimum": 1,
      +            "type": "number"
      +          },
      +          "id": {
      +            "pattern": "^[A-Za-z][\\w-]{0,63}$",
      +            "type": "string"
      +          },
      +          "name": {
      +            "maxLength": 120,
      +            "type": "string"
      +          },
      +          "style": {
      +            "additionalProperties": {
      +              "type": [
      +                "number",
      +                "string"
      +              ]
      +            },
      +            "description": "backgroundColor, backgroundImage, backgroundSize, backgroundPosition",
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / images
      Added value: +{
      +  "default": "import",
      +  "description": "import (défaut) : les URL d’images externes écrites vont dans la galerie du projet",
      +  "enum": [
      +    "import",
      +    "keep"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / move
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "after": {
      +        "description": "section (ou canevas) qui reçoit le bloc",
      +        "pattern": "^@[0-9a-z]+$",
      +        "type": "string"
      +      },
      +      "before": {
      +        "description": "section (ou canevas) qui reçoit le bloc",
      +        "pattern": "^@[0-9a-z]+$",
      +        "type": "string"
      +      },
      +      "ref": {
      +        "description": "section (ou canevas) qui reçoit le bloc",
      +        "pattern": "^@[0-9a-z]+$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ref"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / remove
      Added value: +{
      +  "items": {
      +    "description": "section (ou canevas) qui reçoit le bloc",
      +    "pattern": "^@[0-9a-z]+$",
      +    "type": "string"
      +  },
      +  "maxItems": 300,
      +  "type": "array"
      +}
  5. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare mutation and destructiveness, and the description adds real behavior beyond that: atomicity per page, server-side parallelism, partial failure semantics (a stale snapshot does not roll back other pages), and precedence (explicit set beats replaceText and finish). It does not say whether the operation is reversible or how to recover from a failed page, which keeps it off a 5.

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 headline constraint is front-loaded and every clause carries information, with no filler. The single dense paragraph packed with semicolon-separated parentheticals is harder to scan than a short bulleted breakdown of items / replaceText / finish would be.

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 high-complexity tool with no output schema, the description still covers the return shape ("Résultat par page avec nouveau snapshot") and failure behavior. What remains uncovered is the `source` targeting parameter and the top-level `images` policy, both of which an agent would have to discover from the schema.

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 25%, so the description has to compensate, and it largely does: it explains the items entry shape {pageId,snapshot,set,unset,add,remove,move}, says paths/additions match apply_page_changes, and describes replaceText's {find,replace} and finish's {animations,hover} with the set-overrides rule. The `source` (draft/published) and `images` (import/keep) parameters are never mentioned, leaving a gap.

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?

"MODIFIER TOUT LE SITE EN UN APPEL" states a specific verb (modify) and resource (the whole site) plus the batching scope, and the closing line explicitly positions it against apply_page_changes. An agent can tell this apart from its sibling 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?

It names the alternative explicitly ("Toujours préférer cet outil à plusieurs apply_page_changes") and gives the selecting conditions for each mode: replaceText for repeated literals across all pages without a snapshot, finish for site-wide polish, items for per-page structural edits. Nothing is left to inference.

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.