Skip to main content
Glama

read_html_file

Read the content of an HTML file stored inside a tool folder within a Hillnote workspace. Use it to inspect or retrieve HTML source by workspace path and relative file path.

Instructions

Read the content of a file inside an HTML tool folder in a workspace.

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": {
      "workspacePath": "<workspacePath>",
      "filePath": "<filePath>"
    },
    "name": "read_html_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesFile path relative to the workspace root (e.g. "resources/html/my-tool/index.html")
workspacePathYesAbsolute path to the workspace directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, yet it only implies read-only by using 'read'. It says nothing about what happens if the file is missing, whether large files are truncated, whether content is returned as raw text or binary, or whether path traversal outside the HTML tool folder is permitted.

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 short sentence with the scope constraint front-loaded and no redundant wording. Its brevity is close to under-specification rather than verbosity, but structurally it is clean.

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?

With only two fully documented parameters and no output schema, the core contract is covered by the schema. The description still leaves gaps around return format, error behavior, and the boundary of the permitted folder, which matter for a file-reading tool.

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 description coverage is 100%, with both workspacePath and filePath documented including an example relative path, so the schema does the heavy lifting. The description adds no additional meaning such as whether filePath must point at an HTML tool folder or how relative paths resolve.

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 (read) and resource (a file's content) and scopes the resource to files inside an HTML tool folder within a workspace, which distinguishes it from generic siblings like read_document or read_canvas. It does not, however, explicitly name a sibling it is not, leaving some differentiation to inference.

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?

The phrase 'inside an HTML tool folder' implicitly constrains when this tool applies, which is more than nothing. But there is no explicit when-to-use or when-not-to-use guidance, and no alternative is named (e.g. read_document for non-HTML files), so an agent must infer the routing rules.

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