Skip to main content
Glama
Axus Revit

Axus Revit

create_detail_line

Creates a view-specific 2D annotation line in a Revit plan, section, or detail view, with optional line style and view name.

Instructions

Create a detail line in a Revit view for annotation purposes.

Detail lines are view-specific 2D annotation elements. They only appear in the view where they are created (unlike model lines). Must be created in a plan, section, or detail view.

Args: start_point: Start point {"x", "y", "z"} in mm end_point: End point {"x", "y", "z"} in mm view_name: Target view name (defaults to active view) line_style: Line style name (e.g., "Medium Lines"). Uses default if omitted ctx: MCP context for logging

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": {
      "start_point": "<start_point>",
      "end_point": "<end_point>"
    },
    "name": "create_detail_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_pointYes
view_nameNo
line_styleNo
start_pointYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a meaningful non-obvious trait: the element is view-specific and appears only in the view where it was created, unlike model lines. It stops short of stating what is returned (element id?), what happens on an invalid or non-plan view, or whether the operation requires an active document/transaction.

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?

The core behavior and the model-line contrast are front-loaded before the argument list, so an agent gets the essentials immediately. The Args block is repetitive of parameter names but earns its place given the 0% schema coverage; only the 'ctx: MCP context for logging' line is filler.

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?

With no annotations, no output schema, and nested untyped objects, the description does most of the work: view-type constraint, defaults for both optional params, coordinate units, and the view-specific semantics. The remaining gaps (return value, failure modes on wrong view type) are minor for a simple creation call, though the missing return value is notable given there is no output schema.

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

Parameters4/5

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

Schema coverage is 0% and the point parameters are untyped objects with additionalProperties true, so the description carries nearly all the meaning. It documents the {'x','y','z'} shape for both points, the mm unit, the default-to-active-view behavior, and a concrete line style example. It does not clarify which keys within the point objects are required or how mm is converted to internal units.

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?

States a specific verb and resource ('Create a detail line in a Revit view') and scopes it to annotation purposes. It also explicitly contrasts detail lines with model lines, which is genuinely useful disambiguation. It does not reference the sibling create_line_based_element, leaving some residual ambiguity for an agent choosing between line-creation tools.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: 'for annotation purposes' plus the constraint that the line must live in a plan, section, or detail view. There is no explicit when-to-use vs. when-not-to-use framing and no named alternative (e.g., model-line creation) for cases where a view-specific element is wrong.

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