Skip to main content
Glama

set_hyperlink

Add or remove a hyperlink on an XMind node: provide a URL and optional title to link it, or pass an empty URL to clear the existing link.

Instructions

给节点设置超链接。url 为空则移除超链接。

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": {
      "file_path": "<file_path>",
      "node_id": "<node_id>",
      "url": "<url>"
    },
    "name": "set_hyperlink"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes链接地址,如 https://example.com,为空则移除
titleNo链接显示标题(可选,默认用 url)
node_idYes要设置超链接的节点 ID
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds the key behavioral fact that an empty url clears an existing hyperlink rather than erroring, which the agent would otherwise have to infer. It is silent on persistence (auto_save defaults to false, so the change is not written to disk) and on behavior for an invalid node_id.

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?

Two short sentences with zero filler, and the primary action is stated before the removal edge case. Every clause earns its place.

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?

For a 5-parameter mutation tool with full schema coverage and annotations, the description covers the main action and the important empty-url edge case. The only real gap is that nothing explains the auto_save=false default's consequence, which matters for whether the hyperlink actually persists.

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

Parameters3/5

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

Schema description coverage is 100%, including the url 'empty removes' semantics, so the schema already carries parameter meaning. The description restates the url behavior but adds nothing new about title, auto_save, or node_id; baseline 3 applies.

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?

Names a specific verb+resource pair (set hyperlink on a node) and adds the inverse case (empty url removes it). No sibling in the catalog touches hyperlinks, so there is nothing to disambiguate against, but the description never explicitly frames that scope.

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?

The 'url empty removes' clause effectively tells the agent this one tool covers both set and unset, which is useful routing information. There is no explicit when-to-use/when-not guidance, but no alternative tool exists for this operation, so the implied usage is adequate.

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