Skip to main content
Glama
CaeliaEve

AutoCAD MCP Ultra

by CaeliaEve

Set Text Background

text_set_background

Set a background mask on MTEXT so text remains readable over hatches or geometry. Choose ACI color and scale factor; disable to remove the box.

Instructions

Mask what is behind an MTEXT so it stays readable over hatch or geometry.

MTEXT only: TEXT has no background-fill attribute, so setting one on it would report success and change nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNoACI background colour (1-255). 0 uses the drawing background.
scaleNoBox size as a multiple of the text box; must be >= 1.
handleYesHandle of an MTEXT entity.
enabledNoFalse removes the background box.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations only carry destructiveHint=false and a title, so the description bears the transparency burden. It discloses a genuinely non-obvious behavior: applying a background to a TEXT entity 'would report success and change nothing' — a silent no-op failure mode. This is exactly the kind of behavioral insight an agent needs and cannot infer from the schema.

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 short sentences with zero filler. The primary purpose is front-loaded, and the critical MTEXT-only constraint follows immediately. Every clause earns its place.

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 4-parameter mutation tool with 100% schema coverage and an output schema, the description carries the essential context: the use case, the limitation, and the failure mode. It does not cover behavior for invalid handles or non-MTEXT/non-TEXT entities, but the 'MTEXT only' framing plus the TEXT warning cover the realistic failure cases sufficiently.

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%, with color, scale, handle, and enabled all documented in the input schema itself. The description adds no parameter-level detail beyond the schema, 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?

The description states a specific verb and resource — 'Mask what is behind an MTEXT' — and explains the purpose (keeping text readable over hatch or geometry). It also distinguishes this tool from anything targeting TEXT entities, which uniquely identifies its scope among siblings like entity_create_mtext and entity_create_wipeout.

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?

The description gives clear context for when to use the tool (when MTEXT needs readability over hatch/geometry) and an explicit exclusion: TEXT has no background-fill attribute, so using it on TEXT would silently do nothing. It does not name an alternative tool (e.g., entity_create_wipeout) for masking behind generic geometry, so it stops short of a full 5.

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

Install Server

Other Tools

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/CaeliaEve/autocad-mcp-ultra'

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