Skip to main content
Glama

Detach Task Relationships

detach-task-from-entities-tool
DestructiveIdempotent

Detach a task from companies, people, opportunities, or unassign users. Removes specified links.

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>"
    },
    "name": "detach-task-from-entities-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe task ID.
people_idsNoPeople IDs to detach from this task.
company_idsNoCompany IDs to detach from this task.
assignee_idsNoUser IDs to unassign from this task.
opportunity_idsNoOpportunity IDs to detach from this task.

Output Schema

NameRequiredDescriptionDefault
dataYes
relationship_countsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / assignee_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / company_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / opportunity_ids / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / people_ids / items
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds only 'Removes specified links', which restates the destructive hint without saying whether detached links can be restored, whether unspecified links are untouched, or what happens when no ID arrays are supplied.

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?

Two short sentences, front-loaded with the action and targets. The second sentence ('Removes specified links') is largely redundant with 'Detach', costing a little efficiency but nothing significant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists and all five parameters are documented, so the basics are covered. For a destructive mutation, though, the description omits whether at least one entity array must be provided and what a no-op call does, leaving a meaningful gap relative to the tool's risk profile.

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 description coverage is 100% and each of the four ID arrays is already documented as 'X IDs to detach from this task'. The description's enumeration of entity types merely mirrors those parameters and adds no format, cardinality, or interaction semantics beyond the schema.

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 (detach) and resource (task relationships) and enumerates the entity types affected: companies, people, opportunities, users. An agent can distinguish it from attach-task-to-entities-tool from the description alone, though the description never names that sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'detach' – the description never says when to choose this over attach-task-to-entities-tool or update-task-tool, nor does it state prerequisites such as needing at least one of the ID arrays. Adequate but with clear gaps.

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.