Skip to main content
Glama
martinbechard

MCP Agent Operations

render_hierarchy_html

Render hierarchy data from JSON, YAML, or inline mappings as a self-contained HTML page with optional numbering, checkboxes, and custom themes. Save the output to a workspace file for later use.

Instructions

Render safe self-contained hierarchy HTML and optionally save it.

Inline mappings, sequences, JSON, and YAML require no filesystem access. An explicit source path, custom theme folder, or output folder must be absolute and resolve beneath MCP_AGENT_OPS_WORKSPACE_ROOTS. When a filename is supplied without an output folder, the authorized server project directory is used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeNoPackaged or custom theme base name without `.css`.default
titleNoBrowser and page title.Hierarchy
sourceYesInline mapping, sequence, JSON, YAML, or an absolute JSON/YAML path.
numberingNoAdd one-based dotted hierarchy numbers.
checkboxesNoAdd read-only completion markers.
output_folderNoOptional absolute destination beneath a configured workspace.
themes_folderNoAbsolute folder for a custom theme, or null for packaged themes.
completed_itemsNoExact dotted paths rendered as complete; requires checkboxes.
output_filenameNoOptional base HTML filename without a directory.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses safety constraints (path resolution, workspace authorization), default output behavior, and that inline sources avoid filesystem access. It does not detail error behavior or output formatting, but the existence of an output schema shifts some burden.

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?

Three sentences, front-loaded with the main purpose, then precise constraints. No redundant words or filler. Each sentence adds necessary context.

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?

The description covers core purpose, input flexibility, path constraints, and default output location. With an output schema present and detailed parameter schemas, this is sufficient for an agent to select and invoke the tool correctly. Minor gaps like exact error handling are not critical here.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds meaning beyond schema by explaining source accepts inline mappings/sequences/JSON/YAML or an absolute path, and clarifies path requirements for output_folder, themes_folder, and the default output directory when only a filename is given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with 'Render safe self-contained hierarchy HTML and optionally save it' — a specific verb + resource + outcome. It clearly distinguishes this tool from siblings like create_hierarchy_plan or verify_yaml by focusing on rendering HTML.

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

Usage Guidelines4/5

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

Provides clear context about when to use: to render hierarchy HTML. It adds meaningful usage conditions (inline data require no filesystem access, paths must be absolute under workspace roots, default output location). However, it does not explicitly name alternatives or exclusions relative to siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/martinbechard/mcp-agent-ops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server