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.

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. First observed

TDQS

A3.5/5.0
Behavior3/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 reinforces removal ("Removes specified links") but does not clarify the key behavioral question for a destructive tool: that only the association is severed while the task and the linked records survive, nor what happens if some IDs are invalid.

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 with the destructive action front-loaded. "Removes specified links" partially restates "Detach", so it is not perfectly economical, but nothing is buried or padded.

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?

An output schema exists and annotations are rich, so return values and safety need no explanation here. What is missing is the scope boundary: whether this tool also deletes the task or the detached records, which is the main ambiguity an agent faces on a destructive detach operation.

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 slightly exceeds that by restating the entity-type mapping at the top level (companies, people, opportunities, users-to-unassign), which helps an agent match intent like "unassign a user" to the assignee_ids parameter during selection.

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) plus the four relationship types affected, which is enough to place it against attach-task-to-entities-tool and detach-note-from-entities-tool. It stops short of naming those siblings explicitly, so it is clear but not fully differentiated.

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: an agent can infer this is the tool for removing links rather than deleting the task. There is no statement of prerequisites, no guidance on when to prefer delete-task-tool or update-task-tool instead, and no note on needing at least one of the optional ID arrays.

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.