Skip to main content
Glama

delete_link

Destructive

Remove ONE declared link, named by its column pairs as create_link takes them (any order; a subset or a crossed pairing is a different link). You may delete only links agents made for the same person (describe_table.links[]: made_by: agent, deletable_by_you: true); surface others to the user, who can remove them in the app. No undo, but create_link declares it again.

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": {
      "table_id": "<table_id>",
      "to_table_id": "<to_table_id>",
      "from_columns": "<from_columns>",
      "to_columns": "<to_columns>"
    },
    "name": "delete_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_idYesOne side of the link.
to_columnsYesColumn ids on `to_table_id`, paired by position with `from_columns`. The order of the pairs does not matter.
to_table_idYesThe other side, or the same id again for a self-link on other columns.
from_columnsYesColumn ids on `table_id`. Several make one composite key, joined on all of them at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructive=true and non-idempotent, and the description adds real value on top: no undo, authorization gating by link provenance, and the fact that pair ordering does not change which link is targeted. What is missing is failure behavior (e.g., what happens if no matching link exists), which is why it stops short of 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight clauses, each doing distinct work: what is removed, how it is identified, who may remove it. The scope constraint ('ONE') and the identity rule are front-loaded with no filler.

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 destructive, four-required-parameter mutation with no output schema, the description covers identity, authorization, and irreversibility. Only the error/no-match path and any return value are unaddressed, which is a minor gap rather than a blocking one.

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?

Schema coverage is 100%, so the baseline is 3; the description earns more by explaining that the column-pair set is the link's identity, that order is irrelevant, and that partial or crossed pairings address a different link. That is meaning the schema does not convey.

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?

States a specific verb and resource ('Remove ONE declared link') and immediately pins down identity semantics: 'named by its column pairs as `create_link` takes them.' The explicit contrast that a subset or crossed pairing is a different link separates it from `create_link` and from any guess an agent might make about link identity.

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?

Gives an explicit permission condition (only links where `made_by: agent` and `deletable_by_you: true`) and a fallback instruction for everything else ('surface others to the user, who can remove them in the app'). It also names the recovery path via `create_link`, so an agent knows both when to use this and what to do instead.

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