Skip to main content
Glama

Unlink contact from account

remove_account_contact
Destructive

Unlink a contact from an account (the contact and the account themselves are kept). Hard-deletes the M2M row — there's no historical value to preserving an ended role. DESTRUCTIVE: confirm with the user first, then call again with confirm: true.

When to use: When someone leaves the company or their role ends.

Example: Remove Mark from the Acme contact list — he's left the company.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoBoolean (true/false).
account_idYesA uuid.
contact_idYesA uuid.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
removedNo
account_idNo
contact_idNo
requires_confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/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, but the description adds materially: it is a hard delete with no undo/history, the linked entities survive, and critically it documents the two-step confirmation flow ('call again with confirm: true'). That confirmation protocol is not derivable from the annotations or schema and prevents an agent from firing a destructive call without user sign-off.

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?

Front-loaded with the destructive warning and the confirm protocol, then when-to-use, then an example. Every element is useful, though the example sentence partially restates the 'when to use' rationale rather than adding new information.

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?

An output schema exists so return values need not be explained; the description covers purpose, destructive semantics, the confirmation handshake, and usage timing. Nothing an agent needs to invoke this safely is missing.

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% and account_id/contact_id are self-evident uuids, so baseline is 3. The description adds real meaning on the confirm parameter, explaining it is a two-phase safety gate rather than a plain boolean, which the schema's 'Boolean (true/false)' line 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 ('Unlink a contact from an account') and immediately disambiguates scope: the contact and account records themselves are kept, only the M2M row goes. An agent can distinguish it from add_account_contact and from delete_record without opening any schema.

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?

Explicit 'When to use' line gives the triggering condition (someone leaves the company or their role ends) plus a concrete example. It does not explicitly name the alternative tool for the inverse/replacement case, so it falls just short of a 5.

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