Skip to main content
Glama

Save Template Maker project

tmaker_write
Destructive

Saves Template Maker projects. Builds a ZIP archive of skeleton HTML with its stylesheet and images, downloading external ones from the addresses in the HTML and CSS, and puts it in the public root of the site. Site templates are not changed.

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": {
      "action": "<action>",
      "site_id": "<site_id>",
      "tmpl": "<tmpl>"
    },
    "name": "tmaker_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
tmplYesSkeleton HTML.
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
site_idYesSite to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / site_id
      Added value: +{
      +  "description": "Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose.",
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "tmpl"
      -]New value: +[
      +  "action",
      +  "site_id",
      +  "tmpl"
      +]
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "action"
      -]New value: +[
      +  "action",
      +  "tmpl"
      +]
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description earns credit for adding specifics those flags cannot convey: external stylesheet and image files are fetched over the network from URLs embedded in the HTML/CSS, and the resulting archive is written into the site's public root. It also bounds the blast radius by stating site templates are untouched, though it does not say whether project_save_active overwrites existing project content.

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?

Three tight sentences with the core action stated first and the archive mechanics and scope limitation following. Every sentence contributes; no filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world write tool with no output schema, the description covers where artifacts land and that external resources are downloaded, which is the important part. It leaves gaps around what happens to an existing project on 'project_save_active', whether overwrite occurs, and any permission requirements for writing to the public root.

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 description coverage is 100% and each action enum value carries its own oneOf description listing required parameters, so the schema carries the full parameter burden. The description adds no syntax or format detail beyond what is already structured, which is the baseline-3 case.

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 names a specific verb and resource ('Saves Template Maker projects') and then clarifies concretely what that means operationally: a ZIP of skeleton HTML plus stylesheet and images. The closing note 'Site templates are not changed' carves out scope against template-related operations, though it does not name a specific sibling such as tmaker_publish or templates_write.

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?

Usage is implied by the save/archive framing and the 'site templates are not changed' exclusion, but there is no explicit statement of when to call this versus tmaker_publish, tmaker_read, or a templates_write operation, nor of prerequisites. The action-level distinctions live in the schema's oneOf entries rather than the description.

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.