Skip to main content
Glama

UiChemy AI Website Creator

uichemy_restore_site_version

Destructive

Put an earlier version of a project's static site on the user's own Cloudflare back ONLINE (PUBLIC): Cloudflare serves that version again within a minute, with no rebuild, and it is recorded as a new version ("restored version N"). Only the person who published the site can. The project's design in UiChemy is NOT changed, so the next publish (uichemy_deploy_to_cloudflare) puts the current design back online. Get the number from uichemy_site_versions, and confirm with the user first, naming the version and the address. Not for EmDash (CMS) sites.

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>",
      "version": "<version>"
    },
    "name": "uichemy_restore_site_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYesThe version number from uichemy_site_versions (v3 -> 3).
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag destructive/openWorld/not-readOnly; the description adds timing (live within a minute), no rebuild, that it is recorded as a new 'restored version N', the permission requirement (only the publisher), and that the UiChemy design is unchanged so the next publish reverts it. That is substantial context beyond structured fields.

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?

Front-loads the action and outcome, then conditions and caveats. Dense but every clause carries information; minor cost from parenthetical emphasis (ONLINE (PUBLIC)) that slightly clutters the opening.

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, no-output mutation tool with only two params, the description covers effect, latency, versioning side effect, auth, exclusions, and confirmation protocol. An agent has everything needed to call it responsibly.

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 50% — version is documented while projectId is not. The description compensates for the key parameter by explaining the version number comes from uichemy_site_versions, matching the schema's v3->3 note. projectId remains self-evident but undocumented in prose.

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?

States a precise verb+resource: putting an earlier version of a project's static site back online on the user's own Cloudflare. It explicitly separates itself from uichemy_deploy_to_cloudflare (which re-publishes current design) and from uichemy_site_versions (source of the number).

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 the precondition (get the number from uichemy_site_versions), an explicit 'not for' target (EmDash/CMS sites), a required confirmation step naming version and address, and the follow-up relationship to deploy_to_cloudflare. Little 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.

Resources