Skip to main content
Glama

cad_configure_text_style

Set an existing CAD text style's font file and GetFont fields with explicit live writes, then read back the actual declaration to verify the applied font configuration.

Instructions

Explicitly set one existing native style's font file and five GetFont fields.

Requires live writes, bound token, operation ID and explicit request. Reads back the actual declaration. No new style, save, regeneration or view change. This is never invoked automatically by delivery review or missing-font checks.

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": {
      "operation_id": "<operation_id>",
      "document_token": "<document_token>",
      "style_name": "<style_name>",
      "font_file": "<font_file>",
      "typeface": "<typeface>",
      "expected_packed_font_flags": "<expected_packed_font_flags>"
    },
    "name": "cad_configure_text_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
boldNo
italicNo
charsetNo
typefaceYes
font_fileYes
style_nameYes
operation_idYes
document_tokenYes
explicit_requestNo
pitch_and_familyNo
expected_packed_font_flagsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does a substantial job: it discloses the write requirement, auth/token binding, the operation-ID gating, the explicit-request flag, that the actual declaration is read back, and four things the call will not do. Remaining gaps are failure/reversibility semantics — what happens if the style is absent, whether the write is atomic, and whether expected_packed_font_flags acts as a concurrency guard.

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 action and scope, then prerequisites, then exclusions — a sensible ordering with no filler sentences. The telegraphic sentence fragments are dense but occasionally underspecified rather than merely brief (the "five GetFont fields" reference requires the reader to count schema properties).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter mutation tool with no annotations, no output schema and zero schema descriptions, the definition covers preconditions and boundaries but leaves the majority of the contract undocumented — notably a required guard parameter (expected_packed_font_flags) and all token/operation plumbing. It says the declaration is read back but not what the response contains or how a mismatch would surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 11 parameters, so the description must compensate and largely does not. It vaguely gestures at "font file and five GetFont fields" without enumerating which fields (bold, italic, charset, pitch_and_family, typeface), and never mentions the required expected_packed_font_flags, operation_id, document_token, style_name, or explicit_request semantics.

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?

"Explicitly set one existing native style's font file and five GetFont fields" names a specific verb, a bounded resource (one existing native style) and the exact scope of the change. The negative clauses ("No new style, save, regeneration or view change") draw a hard boundary that separates it from mutation/creation siblings such as cad_mutate or cad_save_as.

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 states concrete preconditions for invocation — live writes, bound token, operation ID, explicit request — and explicitly rules out automatic invocation by delivery review or missing-font checks, which is a real usage exclusion. What is missing is any named alternative for the cases it declines (e.g., which tool to call when the style does not exist or fonts are missing).

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