Skip to main content
Glama
zyfasos

cloudbase-html-mcp

by zyfasos

online_html

DestructiveIdempotent

Republish an offline HTML page to its original siteId path, reading the specified local file without snapshot. Use when cloud page doesn't exist or a previous publish timed out, content verified.

Instructions

将已登记的离线页面重新公开上线,读取本次用户指定的 HTML 并恢复原 siteId 路径,不写快照。云端须不存在;已在线时使用 publish_html。此前上线超时但已写入相同内容可验证完成。要求启用本地目录。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteIdNo页面 ID;与其他目标选择器只能提供一个。
siteUrlNo当前环境静态托管页面 HTTPS URL;与其他目标选择器只能提供一个,允许片段,不允许查询参数。
localPathYes本次用户明确指定的 .html/.htm 绝对路径,UTF-8、非空、最多 5 MiB;不静默选用旧文件。siteId、siteUrl 二选一另行提供。

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4.8/5.0
Behavior4/5

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

The description discloses important side effects (no snapshot, no silent old file usage, restores original siteId path) and prerequisite (local directory enabled). However, despite the destructiveHint annotation, it does not explicitly describe the destructive nature of the operation beyond saying it makes the page public again.

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?

The description is dense but every sentence carries useful information: the action, the no-snapshot behavior, the online/offline condition, the timeout verification scenario, and the local directory prerequisite. There is no redundant or filler content.

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?

The description includes the main outcome, prerequisites, a specific failure-recovery scenario, and the alternative tool to use. It is sufficiently complete for an agent to decide when and how to call it, especially given the schema and annotations already cover parameter details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters are described with constraints, including mutual exclusivity between siteId and siteUrl, allowed URL fragments and no query parameters, and localPath size/encoding requirements. The description also reinforces that localPath must be user-specified and not silently chosen from old files.

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 description clearly states the tool re-publishes a registered offline page, reads the user-specified HTML, and restores the original siteId path, with a note not to write snapshots. It also distinguishes itself from publish_html by specifying the condition when publish_html should be used instead.

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 provides explicit conditions: cloud must not exist; if already online, use publish_html; and it mentions the prerequisite of local directory being enabled. This gives clear when-to-use and when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zyfasos/cloudbase-html-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server