Skip to main content
Glama
Model MCP

Model MCP

Remove Links

revit_remove_links
Destructive

Delete selected Revit link types and their instances; preview with dry_run first, since removal is irreversible and requires a confirm_token.

Instructions

Delete selected link types and their instances; dry_run previews. Cannot be undone in Revit. Needs confirm_token from a first call, which changes nothing.

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": {
      "links": "<links>"
    },
    "name": "revit_remove_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNo
linksYes
dry_runNo
documentNoOpen document title/file substring; required when ambiguous.
confirm_tokenNo
include_imported_cadNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / document / description
      Previous value: -"Title or file name substring of the target open document; needed when several are open."New value: +"Open document title/file substring; required when ambiguous."
  2. Changed9 schema fields changedv0.10.0
    • removedInput schema / properties / confirm_token / title
      Removed value: -"Confirm Token"
    • changedInput schema / properties / document / description
      Previous value: -"Case-insensitive substring of the target open document's title or file name. Required to disambiguate when the Revit process has more than one document open; omit only when a single document is open (the active document is used). An unknown or ambiguous reference is rejected before any change."New value: +"Title or file name substring of the target open document; needed when several are open."
    • removedInput schema / properties / document / title
      Removed value: -"Document"
    • removedInput schema / properties / dry_run / title
      Removed value: -"Dry Run"
    • removedInput schema / properties / include_imported_cad / title
      Removed value: -"Include Imported Cad"
    • removedInput schema / properties / kinds / title
      Removed value: -"Kinds"
    • removedInput schema / properties / links / title
      Removed value: -"Links"
    • removedInput schema / title
      Removed value: -"revit_remove_linksArguments"
    • removedOutput schema / title
      Removed value: -"revit_remove_linksDictOutput"
  3. Changed1 schema field changedv0.9.1
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Confirm Token"
      +}
  4. Addedv0.7.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, and the description adds real value on top: the operation 'Cannot be undone in Revit' and the two-call confirm_token handshake where the first call 'changes nothing'. It stops short of describing side effects on dependent elements or what happens with imported CAD content.

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?

Two short sentences with the destructive action front-loaded and the safety workflow immediately after — no filler. The trailing clause 'which changes nothing' is slightly clipped and could be phrased more cleanly, but nothing is wasted.

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

Completeness3/5

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

With destructive annotations and an output schema already present, the definition covers the essentials of safety and reversibility. However, for a permanently destructive tool with a low-coverage schema, leaving document scoping and include_imported_cad unexplained is a meaningful gap that could lead to deleting the wrong links.

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 only 17%, so the description must carry the load, but it only explains three of six parameters (links, dry_run, confirm_token). The document scoping parameter, include_imported_cad, and the kinds filter receive no explanation, and 'link types' only loosely maps to kinds.

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 names a specific verb and resource ('Delete selected link types and their instances'), which is unambiguous and distinct from a status/inspection tool. It does not, however, explicitly differentiate itself from siblings such as revit_links_status or revit_remove_pack, so the agent must infer the boundary from the verb alone.

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?

It supplies a concrete invocation workflow: call once to obtain a confirm_token, use dry_run for a preview, then commit. What is missing is when to prefer this over the alternatives (e.g. unload/deactivate vs. delete, or links_status for inspection), so the agent gets procedural guidance but no selection guidance.

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