Skip to main content
Glama

Attach Note Relationships

attach-note-to-entities-tool
Idempotent

Attach a note to companies, people, or opportunities. Adds links without removing existing ones.

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": "attach-note-to-entities-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe note ID.
people_idsNoPeople IDs to attach this note to.
company_idsNoCompany IDs to attach this note to.
opportunity_idsNoOpportunity IDs to attach this note to.

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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety and repeat-call profile is supplied structurally. The clause "Adds links without removing existing ones" reinforces the additive, non-destructive semantics but largely restates what destructiveHint=false and idempotentHint=true already convey. It does not disclose what happens on an invalid ID, whether linking is partial, or any auth requirement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the core action front-loaded before the additive-behavior qualifier. Nothing is repeated 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?

Rich structured context exists (full schema coverage, four annotations, and an output schema), so return values need not be explained. Still, the description omits a material behavioral fact: only `id` is required, so the agent is not told that at least one of the target arrays must be supplied for the call to do anything, nor how multiple target types are handled in one call.

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%, so each of the four parameters is already documented in the schema. The description's mention of "companies, people, or opportunities" lightly maps to company_ids/people_ids/opportunity_ids but adds no format, batching, or limit detail beyond the schema. Baseline 3 applies when the schema carries the semantics.

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 gives a specific verb+resource ("Attach a note") and enumerates the three supported target types (companies, people, opportunities), which lets an agent distinguish it from create-note-tool or update-note-tool. It does not name or contrast with the closest siblings (attach-task-to-entities-tool, detach-note-from-entities-tool), so differentiation is inferential rather than explicit.

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 implied: the tool is for linking an already-existing note to records rather than creating one, and "adds links without removing existing ones" implicitly contrasts it with a detach operation. However, there is no explicit statement of when to choose this over detach-note-from-entities-tool, nor any prerequisite (e.g., the note ID must already exist).

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.