Skip to main content
Glama
aiuluna
by aiuluna

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
Behavior5/5

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

With no annotations provided, the description carries the full burden and excels. It discloses critical behavioral traits: the tool only removes associations without deleting resources, resources remain usable by other nodes, associations can be re-established, and it includes important safety recommendations about confirming impacts and recording changes.

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 description is well-structured with clear sections (Use cases, Usage recommendations, Important notes, Return data) and every sentence adds value. It could be slightly more front-loaded by moving the core purpose statement earlier, but overall it's efficient and organized.

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

Completeness5/5

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

For a mutation tool with no annotations and no output schema, the description provides excellent completeness. It covers purpose, workflow integration, behavioral implications, parameter context, and even documents the return data structure, compensating fully for the lack of structured metadata.

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?

The schema description coverage is 100%, so the baseline is 3. The description adds value by explaining the parameter sources (e.g., 'must be obtained from list_graphs return data' is implied in the usage recommendations), but doesn't provide additional syntax or format details beyond what the schema already documents. It earns a 4 for contextual integration.

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 clearly states the specific action ('unlink resource associations from nodes') and distinguishes it from sibling tools like 'delete_resource' by emphasizing it only removes associations, not the resource itself. The verb+resource combination is precise and unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool, including a prerequisite workflow (use with 'list_graphs' and 'get_node_details'), specific use cases (adjust, remove incorrect, reorganize), and recommendations for confirmation and recording changes. It clearly distinguishes from deletion operations.

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

Install Server

Other Tools

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