Skip to main content
Glama

Remove Hyperlink

remove_hyperlink
Destructive

Remove hyperlinks from shapes or text ranges in PowerPoint, cleaning up orphaned link relations while preserving media playback. Saves atomically with optional backup.

Instructions

Remove hyperlinks from a shape or text range. target: a shape id (removes the shape-level link AND every run-level link inside the shape) or {"shape_id": N, "paragraph": P, "start"?: S, "end"?: E} for the covered runs only. Orphaned link rels are dropped; media playback affordances (graphics pack av inserts) are left alone. Saves atomically with two-slot backup; backup=False skips rotation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slideYes
backupNo
targetYes
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.1
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / slide / title
      Removed value: -"Slide"
    • removedInput schema / properties / target / title
      Removed value: -"Target"
  2. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

The description discloses several non-obvious behaviors beyond the destructiveHint annotation: it removes both shape-level and run-level links, drops orphaned link rels, preserves media playback affordances, and saves atomically with a two-slot backup. This gives the agent a strong model of side effects.

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?

The description is dense but every sentence contributes critical information: target syntax, scope of removal, side effects, and save behavior. It is front-loaded with the core action and uses compact, precise phrasing without redundancy.

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?

Given the tool's complexity and the existence of an output schema, the description is largely complete: target semantics, side effects, and backup behavior are all specified. The only notable gap is the lack of any explanation for file_path and slide, which are required parameters.

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?

With 0% schema coverage, the description carries the burden for parameters. It thoroughly explains the target parameter and the backup parameter, but file_path and slide are left implicit and are not described anywhere. Overall it adds substantial meaning beyond the schema.

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 action ('Remove hyperlinks from a shape or text range') with a clear resource and granular scope. It distinguishes itself from related siblings like set_hyperlink and list_hyperlinks by the verb and by detailing two target modes.

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 provides clear context for when to use each target form: shape id for the whole shape including runs, and a paragraph/range object for only covered runs. It does not explicitly name alternatives or exclusions, but the usage conditions are effectively embedded in the target semantics.

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