Skip to main content
Glama

unlink_resource

Remove resource associations from knowledge graph nodes to adjust relationships, correct errors, or reorganize structures without deleting the underlying resources.

Instructions

Unlink resource associations from nodes. This tool must be used in conjunction with list_graphs and get_node_details tools. Use cases:

  1. Adjust resource associations

  2. Remove incorrect resource associations

  3. Reorganize node resource structure

Usage recommendations:

  1. First call list_graphs to get target graph information

  2. Use get_node_details to view node's resource associations

  3. Confirm unlinking won't affect other functionality

  4. Record changes for potential re-association

Important notes:

  • Only removes association, does not delete resource

  • Resource can still be used by other nodes

  • Association can be re-established at any time

Return data:

  • data: Operation result

    • resourceId: Resource ID

    • nodeId: Node ID

    • unlinkedAt: Time when association was removed

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graphIdYesGraph ID, must be obtained from list_graphs return data
nodeIdYesNode ID, must be obtained from nodes array in list_graphs
resourceIdYesResource ID to unlink, must be obtained from resources array in get_node_details

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aiuluna/knowledge-graph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server