Skip to main content
Glama

audit_fonts

Audit fonts across a project or comp to map which text layers use each font and flag missing or substituted fonts before rendering or handoff.

Instructions

Audit fonts across the project (or one comp): which fonts are used, by which text layers, and which appear SUBSTITUTED/missing (requested PostScript name ≠ resolved font). A pre-render and handoff safety check. Returns missingFonts[] + a per-font usage map.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit_fonts"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoomit to audit the whole project; accepts name, id, or { id: N }
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. "Audit" implies a read-only inspection and the description discloses the return shape (missingFonts[] plus a per-font usage map), which is useful. However, it does not state whether the call mutates the project, whether a project must be open, or any cost/latency characteristics for a whole-project scan.

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, front-loaded with the action and scope, then the use case, then the return contract. No filler, and the substitution definition is packed into a parenthetical rather than a separate sentence.

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?

For a two-parameter, optional-parameter tool with no output schema, the description covers purpose, scope, use case, and the shape of the result, which is what an agent needs to call it correctly. Minor gaps remain around preconditions (project open, instance availability) that the instance parameter hints at but the description does not confirm.

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 both parameters are already documented in the schema, including the comp's accepted forms and the instance targeting rules. The description only adds the "(or one comp)" scoping hint, which is consistent with but not richer than the schema — baseline 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 ("Audit fonts") plus scope ("across the project (or one comp)") and enumerates exactly what the audit reports: which fonts are used, by which text layers, and which are SUBSTITUTED/missing. The parenthetical definition of substitution (requested PostScript name ≠ resolved font) makes the tool's core concept unambiguous.

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?

Gives a clear use context — "A pre-render and handoff safety check" — which tells the agent when this tool is worth calling. It stops short of naming alternatives or exclusions (e.g., when to prefer a general unused-asset analysis or file collection), so the routing guidance is contextual rather than explicit.

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

Deploy Server

Other Tools