Skip to main content
Glama

Get HTML

get_html
Read-only

HTML + Tailwind of a frame or element, with data-id attributes identifying each element. The rows of are summarized (count and first item) unless items is "full"; writing the template back without data-items keeps its rows.

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": {
      "fileId": "<fileId>",
      "nodeId": "<nodeId>"
    },
    "name": "get_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoTemplate rows: "full" to read them all (e.g. to edit some rows).summary
fileIdYes
nodeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is a safe read (readOnlyHint=true, destructiveHint=false), but the description adds genuinely novel behavior: template rows are collapsed to a count and first item unless items="full", and omitting data-items on write-back preserves rows. That is non-obvious lossy/reformatting behavior an agent needs before relying on the payload.

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?

Two sentences, both front-loaded with the highest-value information (what is returned, then the template-row caveat). No filler; every clause constrains agent behavior.

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?

For a read-only tool with annotations covering its safety profile and no output schema, the description explains the return shape (HTML + Tailwind with data-id) and the one surprising summarization quirk. The remaining gap is the unlabeled fileId/nodeId pairing, which matters for correct invocation.

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 only 33%: fileId and nodeId carry no descriptions anywhere. The description partially compensates for 'items' by tying it to template row expansion and the write-back rule, but offers nothing on the two required identifiers, so the low coverage is only half addressed.

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?

The description names a specific verb+resource: it returns 'HTML + Tailwind of a frame or element', and adds a distinguishing detail (data-id attributes per element). It implicitly separates itself from edit_html via the write-back note, but never names the sibling, so an agent must infer the read/edit boundary.

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?

There is implied usage around the 'items' parameter ('full' to edit some rows) and a caution about writing back without data-items, which is contextual guidance. However, there is no explicit when-to-use/when-not-to-use statement or named alternative (e.g. edit_html for modification), leaving the sibling selection to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.