Skip to main content
Glama

resolve_visual_hit

Resolve a six-digit RGB hit-map value to its originating CAD entity node, enabling you to trace a colored hit back to its source object in DWG/DXF data.

Instructions

Resolve one six-digit RGB hit-map value to its source entity node.

Input Schema

NameRequiredDescriptionDefault
rgb_hexYes
hit_index_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state whether the operation is read-only, what happens if the RGB value is not in the hit map, or whether the hit index must come from a prior visual conversion step.

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?

One sentence, front-loaded with the core operation, and no wasted words. It is appropriately sized for a narrow resolution tool.

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?

An output schema exists, so return values need not be explained. However, with no annotations and no parameter descriptions in the schema, the definition is missing key invocation context: hit_index_path origin/format, error behavior, and any preconditions.

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%, so the description should compensate for the two required parameters. It partially explains rgb_hex as a six-digit RGB hit-map value, but says nothing about hit_index_path, leaving half the parameters undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: resolving a six-digit RGB hit-map value to its source entity node. This is clearer than a generic name restatement, though it does not explicitly distinguish itself from visual-region or scene-node siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, nor any prerequisites such as where the hit_index_path comes from. The agent must infer that this is a follow-up to visual hit-map generation.

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