Skip to main content
Glama

convert_html

Compile restricted HTML into a native, editable PowerPoint (.pptx) file and save it to the specified output path.

Instructions

把受限 HTML 编译为原生可编辑 .pptx 并写入 output_path。

Input Schema

NameRequiredDescriptionDefault
htmlYes
base_dirNo
embed_fontsNo
lossy_fixesNoapply
output_pathYes
font_strategyNoauto

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden yet discloses very little. It doesn't say whether the conversion is lossy (the lossy_fixes param suggests it is), how font embedding behaves, what happens if the HTML violates the contract, or whether output_path is overwritten.

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 tight sentence with the action and the output destination front-loaded. Nothing is wasted, though there is also very little substance.

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?

An output schema covers return values, but for an unannotated file-writing tool with 6 undocumented parameters, the description is far too thin. Critical context about the HTML contract, lossy conversion, and font handling is missing.

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

Parameters1/5

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

Schema description coverage is 0% across 6 parameters, and the description only names output_path. The non-obvious parameters — lossy_fixes ('apply'), font_strategy ('auto'), embed_fonts, base_dir — receive no explanation anywhere, leaving the agent unable to choose values correctly.

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 specific verb and resource pair: compile restricted HTML into a native editable .pptx and write it to output_path. The word 'restricted' hints at a contract, but the description never distinguishes this from validate_html or get_contract, which are the obvious siblings in the pipeline.

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?

There is no explicit when-to-use guidance and no mention of the validate_html / get_contract siblings that clearly gate this conversion. An agent must infer that HTML should be validated first and that 'restricted' refers to a contract.

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