Skip to main content
Glama

Get font

get_font
Read-onlyIdempotent

Resolve one font by family name or origin URL from get_fonts. Returns family plus origin download URLs. Original bytes are stored in the capture; read resources[].path with get_capture_asset.

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": {
      "product": "<product>",
      "platform": "<platform>",
      "version": "<version>",
      "path": "<path>"
    },
    "name": "get_font"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFont family, original HTTP(S) URL, or font archive path from get_fonts. The value must identify a captured font.
productYesProduct key, for example finance-ozon-ru
versionYesExact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias.
platformYesPlatform type ID from list_platforms.options.platforms[].id (backend CatalogPlatform.view). Use backend IDs verbatim; desktop/mobile are current examples. Environment is selected separately.
environmentNoEnvironment ID from the selected backend platform type in list_platforms.options.platforms[].environments[].id (backend implementation). Omit only when the version has one captured environment. Use captured pairs from list_platforms/list_versions for actual availability.

Output Schema

NameRequiredDescriptionDefault
familyYesText value
originsYesResult entries
productYesproduct
versionYesversion
platformYesplatform
resourcesYesResult entries
sourceHintYesText value
environmentYesenvironment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / description
      Previous value: -"Structured result. Existing text or image content remains available in content."New value: +"Original URLs and archive references for a captured font"
    • addedOutput schema / properties / environment
      Added value: +{
      +  "description": "environment",
      +  "type": "string"
      +}
    • addedOutput schema / properties / family
      Added value: +{
      +  "description": "Text value",
      +  "type": "string"
      +}
    • addedOutput schema / properties / origins
      Added value: +{
      +  "description": "Result entries",
      +  "items": {
      +    "description": "Text value",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / platform
      Added value: +{
      +  "description": "platform",
      +  "type": "string"
      +}
    • addedOutput schema / properties / product
      Added value: +{
      +  "description": "product",
      +  "type": "string"
      +}
    • addedOutput schema / properties / resources
      Added value: +{
      +  "description": "Result entries",
      +  "items": {
      +    "$ref": "#/$defs/storedResource"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / result
      Removed value: -{
      -  "additionalProperties": true,
      -  "description": "Original URLs and archive references for a captured font",
      -  "properties": {
      -    "environment": {
      -      "description": "environment",
      -      "type": "string"
      -    },
      -    "family": {
      -      "description": "Text value",
      -      "type": "string"
      -    },
      -    "origins": {
      -      "description": "Result entries",
      -      "items": {
      -        "description": "Text value",
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "platform": {
      -      "description": "platform",
      -      "type": "string"
      -    },
      -    "product": {
      -      "description": "product",
      -      "type": "string"
      -    },
      -    "resources": {
      -      "description": "Result entries",
      -      "items": {
      -        "$ref": "#/$defs/storedResource"
      -      },
      -      "type": "array"
      -    },
      -    "sourceHint": {
      -      "description": "Text value",
      -      "type": "string"
      -    },
      -    "version": {
      -      "description": "version",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "product",
      -    "platform",
      -    "environment",
      -    "version",
      -    "family",
      -    "origins",
      -    "resources",
      -    "sourceHint"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / sourceHint
      Added value: +{
      +  "description": "Text value",
      +  "type": "string"
      +}
    • addedOutput schema / properties / version
      Added value: +{
      +  "description": "version",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "product",
      +  "platform",
      +  "environment",
      +  "version",
      +  "family",
      +  "origins",
      +  "resources",
      +  "sourceHint"
      +]
  2. Changed8 schema fields changed
    • changedOutput schema / $defs / storedResource / description
      Previous value: -"Stored resource serialized from the archive model"New value: +"Archived resource with canonical camelCase fields and legacy archive-model aliases"
    • addedOutput schema / $defs / storedResource / properties / contentType
      Added value: +{
      +  "description": "ContentType",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / storedResource / properties / hash
      Added value: +{
      +  "description": "Hash",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / storedResource / properties / path
      Added value: +{
      +  "description": "Path",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / storedResource / properties / sha256
      Added value: +{
      +  "description": "Sha256",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / storedResource / properties / sizeBytes
      Added value: +{
      +  "description": "Count or zero-based index",
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / storedResource / properties / source
      Added value: +{
      +  "description": "Source",
      +  "type": "string"
      +}
    • changedOutput schema / $defs / storedResource / required
      Previous value: -[
      -  "Hash",
      -  "Source",
      -  "Path",
      -  "ContentType",
      -  "Sha256",
      -  "SizeBytes"
      -]New value: +[
      +  "hash",
      +  "source",
      +  "path",
      +  "contentType",
      +  "sha256",
      +  "sizeBytes"
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / path / description
      Added value: +"Font family, original HTTP(S) URL, or font archive path from get_fonts. The value must identify a captured font."
    • addedInput schema / properties / version / description
      Added value: +"Exact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "storedResource": {
      +      "additionalProperties": true,
      +      "description": "Stored resource serialized from the archive model",
      +      "properties": {
      +        "ContentType": {
      +          "description": "ContentType",
      +          "type": "string"
      +        },
      +        "Hash": {
      +          "description": "Hash",
      +          "type": "string"
      +        },
      +        "Path": {
      +          "description": "Path",
      +          "type": "string"
      +        },
      +        "Sha256": {
      +          "description": "Sha256",
      +          "type": "string"
      +        },
      +        "SizeBytes": {
      +          "description": "Count or zero-based index",
      +          "type": "integer"
      +        },
      +        "Source": {
      +          "description": "Source",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "Hash",
      +        "Source",
      +        "Path",
      +        "ContentType",
      +        "Sha256",
      +        "SizeBytes"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "description": "Structured result. Existing text or image content remains available in content.",
      +  "properties": {
      +    "result": {
      +      "additionalProperties": true,
      +      "description": "Original URLs and archive references for a captured font",
      +      "properties": {
      +        "environment": {
      +          "description": "environment",
      +          "type": "string"
      +        },
      +        "family": {
      +          "description": "Text value",
      +          "type": "string"
      +        },
      +        "origins": {
      +          "description": "Result entries",
      +          "items": {
      +            "description": "Text value",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "platform": {
      +          "description": "platform",
      +          "type": "string"
      +        },
      +        "product": {
      +          "description": "product",
      +          "type": "string"
      +        },
      +        "resources": {
      +          "description": "Result entries",
      +          "items": {
      +            "$ref": "#/$defs/storedResource"
      +          },
      +          "type": "array"
      +        },
      +        "sourceHint": {
      +          "description": "Text value",
      +          "type": "string"
      +        },
      +        "version": {
      +          "description": "version",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "product",
      +        "platform",
      +        "environment",
      +        "version",
      +        "family",
      +        "origins",
      +        "resources",
      +        "sourceHint"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that: it discloses that only metadata and origin download URLs are returned, that original bytes live in the capture, and that resources[].path must be fed to get_capture_asset. It does not cover failure behavior for an unresolvable path, which keeps it short of a 5.

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?

Three short sentences, front-loaded with the core action, followed by return content and the pointer to get_capture_asset. No filler, no repetition of schema content, and each sentence carries a distinct fact.

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 an output schema present, the description need not enumerate return fields, yet it still clarifies the important distinction between font metadata and original bytes. Combined with 100% schema coverage for the version/platform/environment inputs, this is nearly complete; only the failure mode for a non-captured font is left unaddressed.

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 description coverage is 100%, so all five parameters (including the path formats and version/environment pinning rules) are already fully documented in the schema. The description restates the accepted path forms (family name, origin URL) without adding syntax, format, or edge-case detail beyond it. Baseline 3 applies when the schema does the heavy lifting.

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?

"Resolve one font by family name or origin URL from get_fonts" gives a specific verb (resolve), a singular resource (one font), and implicitly contrasts with the plural sibling get_fonts. It also states what comes back (family plus origin download URLs), so an agent can distinguish it from get_fonts without opening either 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 makes clear this is the follow-up to get_fonts (you need a family name or origin URL that came from that list) and routes the agent onward to get_capture_asset when bytes are needed. There is no explicit "do not use when" clause, but the sequencing guidance is concrete enough to select correctly among siblings.

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