Skip to main content
Glama

save-presentation-file

Saves raw Claude-generated HTML as a presentation file in the plans directory, converting markup strings into actual HTML documents for review or sharing.

Instructions

Save the raw HTML string generated by Claude into an actual HTML file in the plans directory.

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": {
      "filename": "<filename>",
      "htmlContent": "<htmlContent>"
    },
    "name": "save-presentation-file"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesThe name of the file, e.g. 'my-product-presentation.html'
htmlContentYesThe full HTML source code for the presentation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.1

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it only discloses the write target (plans directory). It says nothing about overwriting an existing file with the same name, whether the directory is created if absent, whether the extension must be included in filename, or what is returned to the caller.

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?

A single front-loaded sentence with the action and destination stated first and no filler. The phrase "generated by Claude" is slightly narrow but still informative about the expected input origin.

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 simple two-parameter write tool with full schema coverage, the description covers what is written and where. It remains incomplete on the mutation semantics an agent needs before calling it, namely collision/overwrite behavior and the resulting file path.

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 100%, with both parameters documented, so the baseline is 3. The description adds only mild context by tying htmlContent to "the raw HTML string generated by Claude" and confirming the write target; it adds no format or validation detail beyond the schema.

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?

"Save ... into an actual HTML file in the plans directory" gives a concrete verb, resource, and destination, and clarifies that the input is a raw HTML string rather than a structured object. It is clearly distinct from generation siblings like generate-presentation, though it does not explicitly name them.

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 only implied: the agent must infer that this is the follow-up step after generating HTML and that the destination is fixed. There is no explicit when-to-use versus when-not guidance, and no named alternative such as save-artifact or save-pdd for other content types.

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