Skip to main content
Glama

engine_static_save

Save an existing static CSS or JS file, either by providing content or a file path. Optionally include it in a bundle and raise the build number to force browsers to load the updated file.

Instructions

Save an existing static file (css/js). The body comes either as content, or as file - a path on this machine, and then it travels byte for byte.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoPath on this machine, absolute or off the store folder; instead of content.
pathYes
buildNoRaise the build number of the store. The page hangs that number on its css and js, so a browser keeps the file it already has until the number grows - which means a saved style reaches nobody without this. Say it when the change is meant for the visitors, and mind that every visitor then fetches the styles anew once.
bundleNoThe builds this file goes into. Given, it is written whole and the builds of the template are reassembled at once; omitted, the file keeps what it had. Both fields empty takes the file out of every build. Load the file first - the answer says what stands there now.
contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.5.1

TDQS

B3.2/5.0
Behavior3/5

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

There are no annotations, so the description carries the burden. It adds useful concrete behavior: the payload may be inline content or a local file path, copied byte-for-byte. However, it does not disclose overwrite semantics, whether the path must already exist, the one-of content/file requirement, or the operation's result.

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 short sentences, front-loaded with the operation and resource before the source options. Every phrase earns its place.

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

Completeness2/5

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

The tool has 5 parameters including a nested bundle object and no output schema; the description omits critical routing cues, a mandatory 'one of content/file' note, and expected behavior after save. The schema fills in some details, but the tool description alone is not enough for confident invocation.

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?

At 60% schema coverage, path and content are undocumented, and the description partially compensates by explaining the content/file alternative. It adds meaning to content and file but leaves path's role and build/bundle effects to the schema; no extra semantics are provided for path.

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?

States a concrete operation ('Save') with a specific resource ('existing static file (css/js)'), and the phrase 'existing' separates it from creation-oriented siblings. It doesn't explicitly name engine_static_add or other alternatives, so the differentiation is implied rather than spelled out.

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

Usage Guidelines2/5

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

The description gives no 'when to use' guidance, no exclusions, and no named alternatives. An agent must infer from sibling names that engine_static_add/rename/remove serve other lifecycle operations.

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