Skip to main content
Glama

unlink_items

DestructiveIdempotent

Remove one relation between two items. Example: from_id, to_id, relation="duplicate".

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": {
      "from_id": "<from_id>",
      "to_id": "<to_id>",
      "relation": "<relation>"
    },
    "name": "unlink_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_idYesSecond item ID
reasonNoWhy, for the change history
from_idYesFirst item ID
relationYesRelation to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / reason / description
      Previous value: -"Why this change was made (shown to user in change history)"New value: +"Why, for the change history"
    • changedInput schema / properties / relation / description
      Previous value: -"The relation type to remove"New value: +"Relation to remove"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds that only a single relation is removed rather than the items themselves, which is useful scoping context, but it says nothing about what happens when the relation does not exist or how the reason field feeds history.

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, front-loaded with the action and followed by a compact example. The example is partially redundant with a fully documented schema, but costs little and clarifies the required triple.

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?

For a simple, fully documented four-parameter tool with annotations covering safety and idempotency and no output schema, the description is adequate. It leaves gaps on the relationship to link_items and on the effect of the optional reason field, which a stronger definition would close.

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%, so every parameter is already documented and the relation enum is explicit. The example merely restates the parameter names with a sample enum value, adding no semantics beyond the schema; 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?

"Remove one relation between two items" states a specific verb and resource, and the word "remove" implicitly points at the counterpart of the sibling link_items. The description never names link_items explicitly, so the inverse relationship is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of when not to call it, and no reference to the obvious alternative link_items for creating the same relation. An agent must deduce that this is the undo path for a prior link.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources