Skip to main content
Glama

define_attribute

Defines an attribute on a CAD block definition, specifying tag, prompt, and default value to enable automated data extraction and block customization.

Instructions

Define an attribute on a block definition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagYes
promptYes
block_nameYes
default_valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It implies a write operation on a block definition but says nothing about permissions, reversibility, side effects, or what happens if the block does not exist. This is minimal behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no wasted words, which is structurally clean. However, it is arguably too terse for a tool with four required parameters and no other documentation, so it is merely adequate rather than well-sized.

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

Completeness1/5

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

Given four required parameters with no schema descriptions, no annotations, and no output schema, the description is incomplete. It does not explain parameter meanings, behavioral details, or return information, leaving the agent with insufficient context to invoke the tool correctly.

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

Parameters1/5

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

The schema has 0% parameter description coverage, and the tool description does not mention any of the four required parameters (block_name, tag, prompt, default_value). The description therefore adds no meaning beyond the bare parameter names.

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 ('Define') and resource ('attribute on a block definition'), making the tool's purpose clear. However, it does not distinguish itself from sibling tools like edit_block, create_block, or add_text, which an agent might otherwise consider.

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, no prerequisites, and no context about when it is appropriate. The description only states what it does, leaving usage entirely to inference.

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