Skip to main content
Glama

Remove alignment

remove_alignment
DestructiveIdempotent

Delete the alignment edge between two entities, the reverse of align_entities. Source, target and relationType must match the existing edge exactly; relationType defaults to CONTRIBUTES_TO. Only the edge is deleted, both entities stay. Returns { status: "REMOVED" } even when no matching edge existed, so read the current edges first with get_task, get_goal, get_kpi or get_project (alignments field). Triggers a Work Graph recompute.

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": {
      "sourceType": "<sourceType>",
      "sourceId": "<sourceId>",
      "targetType": "<targetType>",
      "targetId": "<targetId>"
    },
    "name": "remove_alignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceIdYesSource entity ID
targetIdYesTarget entity ID
sourceTypeYesSource entity type: TASK, GOAL, KPI, or PROJECT
targetTypeYesTarget entity type: STRATEGY, GOAL, KPI, or PROJECT
relationTypeNoRelationship type: CONTRIBUTES_TO (default) or ALIGNED_TO

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations (destructiveHint=true, idempotentHint=true) by scoping the destruction ('Only the edge is deleted, both entities stay'), disclosing a side effect not in any structured field ('Triggers a Work Graph recompute'), and warning about a misleading success signal — it returns REMOVED even when nothing matched. That last point is exactly the kind of counterintuitive behavior an agent cannot infer from hints.

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-loads the verb and keeps everything in one tight paragraph; each sentence carries distinct information (inverse relation, matching rule, default, deletion scope, return semantics, recompute). The return-value sentence is packed but does double duty as the read-first warning, so nothing is wasted.

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?

Despite no output schema, the description states the return value shape, and it covers the mutation's scope, its side effect, and its failure-mode behavior. For a 5-parameter destructive edge operation that is everything an agent needs to call it safely.

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 baseline is 3; the description still adds meaning by stating relationType defaults to CONTRIBUTES_TO and that the source/target/relationType triple must match exactly, which is a matching constraint no parameter description conveys. It stops short of clarifying how type mismatches (e.g. STRATEGY only valid as a target) are handled at invocation time.

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?

Opens with a specific verb+resource ('Delete the alignment edge between two entities') and immediately distinguishes itself from the sibling align_entities by naming it as the inverse operation. An agent can tell exactly what this does versus the create-side sibling without opening either schema.

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 precondition (source, target and relationType must match the existing edge exactly), names the read tools to use beforehand (get_task, get_goal, get_kpi, get_project via the alignments field), and frames the tool as the reverse of align_entities. That is when-to-use, prerequisite, and alternative routing all in one paragraph.

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