Skip to main content
Glama

Save a website into storage

spark_save_site_to_storage
DestructiveIdempotent

Copy the Spark-style site files that are live on a domain (index.html, other pages, styles.css) into an Object Storage bucket folder, as a backup or to keep editing from there. Replaces same-named files in that folder. Needs confirm: true.

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": {
      "storage_service_id": "<storage_service_id>",
      "region": "<region>",
      "bucket": "<bucket>"
    },
    "name": "spark_save_site_to_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
domainNo
prefixNoFolder to save into (default "sites/<domain>/").
regionYes
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
service_idNoHosting service id, as returned by the matching list tool.
storage_service_idYesObject Storage service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
savedNo
bucketNo
prefixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds real value on top by stating that same-named files in the target folder are replaced and that confirm: true is required. That tells the agent exactly what gets overwritten, which the annotations alone do not.

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?

Two compact sentences: the first establishes what is copied and where, the second states the overwrite behavior and the confirm gate. Nothing is redundant and the critical facts come first.

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 7-parameter destructive copy with an output schema, the description covers the source files, the destination, the overwrite semantics, and the confirmation gate. The only real gap is the relationship between domain, service_id, and storage_service_id, which the description leaves entirely to the schema.

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 57%, so roughly half the parameters carry their own descriptions (prefix, confirm, service_id, storage_service_id). The description only restates the confirm requirement and mentions no behavior for domain, bucket, or region, so it adds little meaning beyond the schema; baseline 3 applies.

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?

The description uses a concrete verb and resource ('Copy the Spark-style site files that are live on a domain ... into an Object Storage bucket folder') and enumerates what gets copied (index.html, other pages, styles.css). It is clearly distinct from publish or plain-upload siblings, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

It gives two motivating use cases ('as a backup or to keep editing from there'), which implies when to reach for it. It offers no when-not guidance and no pointer to alternatives such as publishing the site or uploading individual files, so an agent still has to infer routing.

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.