Skip to main content
Glama
nightious

fontsource-mcp

by nightious

get_font

Read-only

Fetch a font's metadata including subsets, weights, styles, variable axes, and unicode ranges. Check availability before generating CSS or downloading font files.

Instructions

Metadata for one font: subsets, weights, styles, variable axes, unicode ranges, license, npm package names, CSS font-family names, fontsource.org page, zip URL, and CDN URL templates for every file. Call it before get_font_css or download_font to learn which subsets and weights exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesFontsource id slug such as "inter", "open-sans", or "noto-sans-jp". Get it from search_fonts. It is not the display name.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

The description goes beyond the readOnlyHint annotation by disclosing the full scope of returned metadata, including variable axes, unicode ranges, license, package names, and CDN URL templates. It is clearly a read operation and no contradictory behavior is stated.

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 with no filler: the first lists the return contents, the second gives essential usage sequencing. The most actionable guidance is front-loaded and every clause earns its place.

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 single-parameter read-only tool, the description fully covers what the agent needs: how to get the id, what metadata will be returned, and when to call this tool relative to siblings. No output schema is needed since the return contents are enumerated directly.

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% and the id parameter description is already rich, with examples, a source instruction, and a warning that it is not the display name. The tool description itself adds no parameter-specific meaning, so the baseline of 3 applies.

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: retrieving metadata for one font, and enumerates the exact fields returned. It clearly distinguishes itself from sibling tools by positioning get_font as the metadata lookup before get_font_css or download_font.

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 tells the agent when to call it: before get_font_css or download_font, to learn which subsets and weights exist. This provides concrete sequencing guidance and names the downstream tools it supports.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nightious/fontsource-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server