Skip to main content
Glama

Get a font

get_font
Read-onlyIdempotent

Use this when the person asks about one font: its weights and styles, its license, the languages it covers, or what to pair it with. Its measures help pair it: match x-heights for faces that meet on a line, and pick a partner that differs clearly in contrast or classification. id is a family's id, its name in lowercase with hyphens ("lora", "space-mono"). Not for the CSS that loads a font on a page. Answers one family: its name, page link, category, designer, license, every style it has, the languages it fully covers, its measured x-height, width and stroke contrast with its classification, the families that pair with it and the ones that look like it.

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": {
      "id": "<id>"
    },
    "name": "get_font"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesa family id from search_fonts ("lora"), or its name

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYes
titleYes
stylesYes
licenseNo
similarYes
categoryNo
designerNo
measuresYes
pairingsYes
languagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / measures
      Added value: +{
      +  "properties": {
      +    "cap_height": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "classification": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "contrast": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "form_model": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "stroke_ratio": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "width": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "width_class": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "x_height": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "url",
      -  "text",
      -  "styles",
      -  "languages",
      -  "pairings",
      -  "similar"
      -]New value: +[
      +  "id",
      +  "title",
      +  "url",
      +  "text",
      +  "styles",
      +  "languages",
      +  "measures",
      +  "pairings",
      +  "similar"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value by scoping the answer to a single family and describing the shape of the response (name, page link, category, designer, license, styles, language coverage, measurements, pairings). It does not mention behavior on a missing/unknown id, which is the remaining useful gap.

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 when-to-use condition and exclusion, then id format, then payload. It is dense but mostly earns its space; the final clause re-enumerates the return fields already covered by the output schema, which is mild redundancy that could be trimmed.

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?

Covers trigger, exclusion, id format, and payload scope for a single-parameter read tool, and an output schema exists so return values need no further explanation. Nothing an agent needs in order 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 baseline is 3, but the description adds the id derivation rule not in the schema: a family's name lowercased and hyphenated, with worked examples ("lora", "space-mono"). That meaningfully reduces malformed-id calls beyond what maxLength/minLength convey.

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 (retrieve one font family) and enumerates the exact facets returned: weights/styles, license, language coverage, pairing. It explicitly separates itself from get_font_css ("Not for the CSS that loads a font on a page") and from search_fonts ("a family id from search_fonts"), so an agent can route without opening schemas.

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?

Gives a concrete trigger ("when the person asks about one font") plus three specific sub-cases, and names an explicit non-use case, the CSS loader tool. The note that its measures help pairing tells the agent what the data is for, not just what it returns.

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