Skip to main content
Glama

delete_relation

Deletes the relation between two cards in either direction, with an optional relation type when multiple links exist.

Instructions

Delete the relation between two cards, in either direction.

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": {
      "id": "<id>",
      "to": "<to>"
    },
    "name": "delete_relation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
toYes
relationNoRelation type name, when the cards have several

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.2.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / id / type
      Added value: +"number"
    • addedInput schema / properties / relation / description
      Added value: +"Relation type name, when the cards have several"
    • removedInput schema / properties / to / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / to / type
      Added value: +"number"
  2. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'In either direction' is a genuinely useful disclosure that the call is direction-agnostic, but it says nothing about irreversibility, required permissions, failure modes when no relation exists, or whether the optional 'relation' filter is needed for ambiguous cases.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the terseness leaves little room for the behavioral context a destructive operation needs.

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?

Placeholder justification replaced below.

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

Parameters2/5

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

Schema description coverage is only 33%, so 'id' and 'to' are undocumented in both schema and description. The phrase 'between two cards' loosely implies two card identifiers, but the description never says which parameter is which endpoint, nor clarifies the 'relation' type filter beyond the schema's own text.

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?

States a specific verb and resource: 'Delete the relation between two cards', plus a scope qualifier ('in either direction'). An agent can tell this removes a relation rather than a card, but nothing in the sentence distinguishes it from siblings like delete_bulk or read_relations beyond the noun 'relation'.

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?

No guidance on when to use this versus alternatives such as read_relations (to inspect relations first) or delete_bulk (to remove many). No prerequisites, no note about what happens when multiple relation types exist, and no exclusions are stated.

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