Skip to main content
Glama

Delete a relationship

delete_relationship
Destructive

Soft-delete a relationship so it remains suppressed across ordinary re-extraction. Approved relationships must be explicitly un-approved before deletion. A full ontology reset clears inferred/review tombstones so they can be rediscovered.

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": {
      "relationship_id": "<relationship_id>"
    },
    "name": "delete_relationship"
  }
}

Input Schema

NameRequiredDescriptionDefault
relationship_idYesRelationship UUID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, yet the description adds material context they do not carry: the delete is soft and suppresses re-extraction, approved relationships are blocked until un-approved, and an ontology reset can revive tombstoned relationships. That covers persistence, preconditions, and reversibility beyond structured fields.

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?

Three sentences, each doing distinct work (behavior, precondition, reversibility), with the core soft-delete semantics front-loaded. Minor deduction for domain jargon ('inferred/review tombstones') used without a gloss.

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 one-parameter destructive tool with full schema coverage and safety annotations, the description supplies the missing operational context: precondition, persistence, and reset behavior. It is silent on what a successful call returns or what error an approved relationship triggers, a small gap given there is no output schema.

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 coverage is 100% with a single required 'relationship_id' UUID parameter already documented in the schema. The description adds no format, sourcing, or resolution guidance for the identifier, so 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?

The description uses a specific verb phrase ('Soft-delete a relationship') plus a stated effect ('remains suppressed across ordinary re-extraction'), which clearly separates it from a hard delete or an update. It does not name a sibling such as update_relationship to route between them, so it stops short of full differentiation.

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

Usage Guidelines4/5

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

It gives a concrete precondition ('Approved relationships must be explicitly un-approved before deletion') and a caveat about when the deletion can be undone ('A full ontology reset clears inferred/review tombstones'). It does not explicitly contrast with update_relationship or a hard-delete alternative, but the when/when-not context is clear.

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