Skip to main content
Glama

get_html_tool_guide

Retrieve the required authoring guide before building or editing an HTML tool, covering design tokens, component recipes, persistence, single-file rules, and token-efficient edits.

Instructions

IMPORTANT: Call this tool FIRST whenever building or substantially editing an HTML tool. Returns the authoring guide: the injected design system (tokens and classes you must use instead of writing base CSS), component recipes, data persistence (Sheets via hillnote.sheet, small state via hillnote.settings), the single-file rule, and the token-efficient edit workflow.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_html_tool_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the disclosure burden, and it does state that the tool only returns reference content rather than mutating anything, plus a notable behavioral constraint ('tokens and classes you must use instead of writing base CSS'). It stops short of explicitly saying the call is side-effect-free or idempotent, which would fully settle the read-only question for a no-annotation tool.

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?

A single front-loaded sentence leads with the imperative 'IMPORTANT: Call this tool FIRST', then lists the guide's contents as compact qualifiers. Despite its length, every clause names a distinct thing the caller will receive, so nothing reads as filler.

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

Completeness5/5

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

With no output schema and no annotations, the description must convey what comes back, and it enumerates the guide's sections (design system, component recipes, persistence via hillnote.sheet/hillnote.settings, single-file rule, edit workflow). That is sufficient for an agent to decide to call it and know what to do with the result.

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?

The tool takes zero parameters and the schema is fully covered, so there is nothing parameter-level to add; the baseline applies. The description correctly avoids inventing parameter detail and instead spends its words on return content.

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 uses a specific verb (Returns) plus a specific resource (the authoring guide for HTML tools) and explicitly enumerates its contents: design tokens/classes, component recipes, persistence patterns, the single-file rule, and the edit workflow. It is clearly distinguishable from siblings like get_html_tool (fetch an existing tool) or get_recipe, since it is the authoring reference rather than a resource fetch.

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

Usage Guidelines5/5

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

It gives an explicit trigger: call this FIRST whenever building or substantially editing an HTML tool. The word 'substantially' also implicitly bounds when it is not required (trivial edits), so the agent gets both a positive and a soft negative condition without needing to compare schemas.

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