Skip to main content
Glama

preview_page_fonts

Read-only

Render saved custom or imported font files from this page as a PNG specimen sheet. Save user uploads with store_page_file first, then supply their fileId, family, weight and style. Imported font metadata supplies defaults. Returns a visual preview without sending raw font files to the model. Does not edit or publish the page.

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": {
      "target": "<target>",
      "fonts": "<fonts>"
    },
    "name": "preview_page_fonts"
  }
}

Input Schema

NameRequiredDescriptionDefault
fontsYesOne to six saved font files to compare.
targetYesTarget page resource; kind must be page.
sampleTextNoOptional actual page copy to render at heading and body sizes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the readOnly/destructive annotations, it discloses that the output is a rendered visual preview and that raw font files are not sent to the model — a meaningful data-handling fact. The prerequisite and no-edit/no-publish statements add further context the annotations do not cover.

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?

The output format is front-loaded, followed by the prerequisite and then the scope limitation, so an agent can stop reading early. Four sentences, all functional, with no filler.

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?

With no output schema, the description correctly explains what is returned (a PNG specimen sheet, not font bytes) and how to prepare inputs. Given the nested target object and array parameter, coverage is nearly complete; only sampleText's purpose is left to the schema.

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 100%, so fileId, family, weight, style and target are already documented in the schema, and the description largely restates them. It adds no meaning for sampleText and no new constraints beyond the metadata-default behavior already implied by the schema descriptions.

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 opens with a specific verb and resource — 'Render saved custom or imported font files from this page as a PNG specimen sheet' — which tells the agent exactly what comes back. The qualifier 'custom or imported' implicitly separates it from the Google-font preview sibling, so the tool is distinguishable without inspecting the schema.

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?

It gives an explicit prerequisite chain: store uploads with store_page_file first, then pass the returned fileId, with imported metadata supplying defaults. It also sets a boundary ('Does not edit or publish the page'), though it never names preview_google_fonts as the alternative for non-custom fonts.

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.