Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as fynk MCP. If you published it, claim ownership there.

Get template HTML

get-template-html
Read-onlyIdempotent

Returns the content of a template serialised as HTML.

Use this tool when:

  • You want to read or navigate the content of a template

  • You want to understand the structure of a template before editing it

The HTML uses semantic data-* attributes for fynk-specific nodes. Addressable nodes (paragraphs, headings, etc.) carry a data-uuid attribute that can be used to target them in subsequent operations.

  • Numbered clauses are ordered list nodes, <div data-list data-kind="ordered">, holding the clause text and any nested sub-clauses. Their computed number is shown read-only in data-number (e.g. "1.1."); numbers are never part of the text.

  • <span data-section-ref data-uuid="..."> is a cross-reference to the list node with that data-uuid, rendering its computed number.

  • <span data-dynamic-field data-ref-uuid="..."> is a dynamic field (fill-in placeholder).

  • <span data-party data-ref-uuid="..." data-format="..."> renders a party's name, reference name or address, as data-format says.

  • <div data-signatures> is a signature container, holding one <span data-signature-block data-ref-uuid="..."> per signature block.

  • Images, dynamic tables and signing vote blocks appear as empty reference tags; their contents are held outside the HTML.

  • Text formatting is stated inline as style. Block alignment is stated as data-text-align; a block's margins, indent and line height are not in the HTML.

get-template-info resolves the ref_uuids of dynamic fields, parties and signature blocks.

Only available for templates with a prosemirror_data content type. Returns an error for PDF templates.

For the full format, e.g. when interpreting clause numbering or preparing a rewrite, read the fynk://articles/working-with-template-content resource.

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": {
      "template_uuid": "<template_uuid>"
    },
    "name": "get-template-html"
  }
}

Input Schema

NameRequiredDescriptionDefault
template_uuidYesUUID of the template to render as HTML

Output Schema

NameRequiredDescriptionDefault
htmlNoThe template content serialised as HTML. Fynk-specific nodes use data-* attributes (e.g. data-dynamic-field, data-party, data-signatures). Addressable nodes carry a data-uuid attribute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent safety profile, and the description goes well beyond them by disclosing the encoding scheme (data-uuid, data-list, data-section-ref, data-dynamic-field, data-party, data-signatures) and, crucially, what is deliberately absent — image, dynamic table and vote block contents live outside the HTML, and margins/indent/line-height are not present. No statement contradicts the readOnlyHint. The only gap is that pagination/size limits for large templates are not addressed.

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?

Well front-loaded: purpose first, then when-to-use, then the format contract, then caveats. The bulleted data-* inventory is long but each item maps to a construct an agent must parse when rewriting content, so it largely earns its space; the intro sentence plus nine bullets is at the upper bound of acceptable length.

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?

For a tool returning a complex nested HTML document, the description supplies exactly the interpretive context an agent needs — node semantics, what is referenced versus embedded, and where to look up the rest — while the output schema handles the response envelope. Nothing essential for correct interpretation or invocation is missing.

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?

With a single parameter at 100% schema description coverage, the schema already defines template_uuid. The description adds indirect meaning by restricting valid inputs to prosemirror_data templates, but it never explains what the UUID maps to or how to obtain it, so it does not exceed the baseline.

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?

States a precise verb, resource and serialization format ("Returns the content of a template serialised as HTML"), which immediately separates it from info/metadata tools in the sibling list. It also explicitly assigns the ref_uuid resolution job to get-template-info, making the boundary between the two reads unambiguous.

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?

Provides an explicit "Use this tool when" block with two concrete intents (read/navigate content, understand structure before editing). It also states a hard precondition — only templates with prosemirror_data content type, error for PDF templates — and redirects to the fynk://articles/working-with-template-content resource for full format detail.

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.

Resources