Skip to main content
Glama

List fonts

list_fonts
Read-only

List available font families across every source the editor knows about (Google + Bunny + Fontshare + Fontsource + Velvetyne) PLUS the project's user-uploaded custom_fonts (surfaced as source: "custom"). Use this to discover families before set_layer_text / add_text_layer when you don't know what to pick. Returns { fonts: [{family, source, weights, italics}], total, returned, sources }. Filter via q (case-insensitive substring on family), source, and/or script (only families that draw that writing system, e.g. "cyrillic", "arabic", "japanese": use it when the text is not in Latin letters); cap with limit (default 50, max 1000). Picking any returned family in font_family Just Works — the editor's loader dispatches to the right CSS/FontFace endpoint by source.

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive substring filter on family name. Omit to list everything.
limitNoMax entries to return (default 50, max 1000).
scriptNoOnly families whose catalogue lists this writing system. A text layer in a font without it still renders: those letters paint in a Noto fallback (fallback_fonts in the text report). Custom, Fontshare and Velvetyne faces publish no coverage and are left out.
sourceNoRestrict to one source. Omit to span every source. "custom" returns only the project's uploaded faces.
projectIdYesOpaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates.

Output Schema

NameRequiredDescriptionDefault
okYesWhether the call succeeded.
dataNoThe payload, shaped by the tool.
noteNoWhat to do next when not ready.
errorNoWhy it failed.
statusNoFor cache-backed readers: whether the answer was ready.
editorUrlNoOpens this project in the editor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / script
      Added value: +{
      +  "description": "Only families whose catalogue lists this writing system. A text layer in a font without it still renders: those letters paint in a Noto fallback (fallback_fonts in the text report). Custom, Fontshare and Velvetyne faces publish no coverage and are left out.",
      +  "enum": [
      +    "cyrillic",
      +    "greek",
      +    "arabic",
      +    "hebrew",
      +    "devanagari",
      +    "bengali",
      +    "gurmukhi",
      +    "gujarati",
      +    "oriya",
      +    "tamil",
      +    "telugu",
      +    "kannada",
      +    "malayalam",
      +    "sinhala",
      +    "thai",
      +    "lao",
      +    "khmer",
      +    "myanmar",
      +    "georgian",
      +    "armenian",
      +    "ethiopic",
      +    "japanese",
      +    "korean",
      +    "chinese"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / properties / anonymousToken
      Removed value: -{
      -  "description": "The token create_anonymous_account returned. This connection has no Morpha key, so every call carries it.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "anonymousToken"
      -]New value: +[
      +  "projectId"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "The result envelope every Morpha tool returns.",
      +  "properties": {
      +    "data": {
      +      "description": "The payload, shaped by the tool.",
      +      "type": [
      +        "object",
      +        "array",
      +        "string",
      +        "number",
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "editorUrl": {
      +      "description": "Opens this project in the editor.",
      +      "type": "string"
      +    },
      +    "error": {
      +      "description": "Why it failed.",
      +      "type": "string"
      +    },
      +    "note": {
      +      "description": "What to do next when not ready.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "Whether the call succeeded.",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "description": "For cache-backed readers: whether the answer was ready.",
      +      "enum": [
      +        "ready",
      +        "not-ready"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / anonymousToken
      Added value: +{
      +  "description": "The token create_anonymous_account returned. This connection has no Morpha key, so every call carries it.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "projectId"
      -]New value: +[
      +  "projectId",
      +  "anonymousToken"
      +]
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description adds genuinely non-obvious behaviour: the response envelope shape, that any returned family in font_family "Just Works" because the loader dispatches to the right CSS/FontFace endpoint by source, and that sources are merged into one flat list. That cross-source loading guarantee is exactly the kind of context annotations cannot carry.

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?

Front-loaded with the source scope, then usage, then return shape, then filters — a sensible order with no filler sentences. Minor waste comes from restating the `limit` default and max that the schema already documents.

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?

Given an output schema exists, the description need not explain return values but does anyway, and it covers source enumeration, filter semantics, and the downstream font-loading contract. Nothing an agent needs to call this correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description modestly exceeds it by explaining the intent behind `script` ("only families that draw that writing system") and the substring nature of `q`. It does repeat the limit default/max verbatim from the schema, which caps it below a 5.

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 specific verb and resource ("List available font families") and immediately scopes it across five named catalogue sources plus the project's user-uploaded custom_fonts exposed as source: "custom". An agent can tell this apart from list_projects or inspect_layers without opening 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 Guidelines5/5

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

Explicitly says to use it "to discover families before set_layer_text / add_text_layer when you don't know what to pick," naming the sibling tools it feeds. It also gives a conditional rule for the `script` filter ("use it when the text is not in Latin letters"), leaving little 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.

Resources