Skip to main content
Glama

Detach Note Relationships

detach-note-from-entities-tool
DestructiveIdempotent

Detach a note from companies, people, or opportunities. 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-note-from-entities-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe note ID.
people_idsNoPeople IDs to detach from this note.
company_idsNoCompany IDs to detach from this note.
opportunity_idsNoOpportunity IDs to detach from this note.

Output Schema

NameRequiredDescriptionDefault
dataYes
relationship_countsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • 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

C2.9/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 contributes only 'Removes specified links,' which mostly restates the name and adds nothing about behavior when a list is omitted, how invalid IDs are handled, or why the operation is idempotent but destructive.

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 resource, with no filler. The second sentence ('Removes specified links') is largely redundant with 'Detach' and could be replaced by more informative content.

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 and full parameter descriptions exist, and the annotations cover the safety profile, so the essentials are present. However, the description leaves a real ambiguity: only id is required, so an agent cannot tell from the text whether omitting the entity arrays detaches nothing or everything — a gap that matters for a destructive operation.

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 coverage is 100%, so all four parameters — including the meaning of each ID array — are already documented in the schema. The description merely echoes the three entity categories and gives no additional detail on batching, array limits, or what an empty array means, so the baseline 3 applies.

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?

The description names a specific verb ('Detach') and resource ('note') plus the three link types (companies, people, opportunities), so an agent can distinguish it from delete-note-tool or detach-task-from-entities-tool. It never explicitly names the inverse sibling attach-note-to-entities-tool, so differentiation is implied by the name rather than stated in the text.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no alternative tool is mentioned. An agent must infer from the name alone that this is the inverse of attaching and that it should not be used to delete a note outright.

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.