Skip to main content
Glama

Add Comment

add_comment

Add a note to a CLIENT's history (shows on the client page) or to a booking — e.g. log a call, an inquiry reply, or what was agreed. Pass client_id (and/or booking_id) and comment. contact_id (optional) ties the note to the person at the client it is about; it must be one of that client's contacts. Use this (or add_client_note) to put a note on a client — add_project_note is a shared notepad not tied to any client.

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": {
      "comment": "<comment>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
stickyNo
commentYes
client_idNoA client's id (from search or list_clients).
booking_idNoA booking's id (from list_bookings or search).
contact_idNoA client contact's id (from get_client).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / booking_id / description
      Added value: +"A booking's id (from list_bookings or search)."
    • addedInput schema / properties / client_id / description
      Added value: +"A client's id (from search or list_clients)."
    • addedInput schema / properties / contact_id / description
      Added value: +"A client contact's id (from get_client)."
  2. Changed1 schema field changed
    • addedInput schema / properties / contact_id
      Added value: +{
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-destructive, non-idempotent write, so the bar is lower. The description goes beyond them by disclosing where the note surfaces (client page) and a validation constraint (contact must belong to that client). It does not cover behavior implied by idempotentHint=false, i.e. that repeated calls create duplicate notes, and the sticky flag's effect is never disclosed.

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 core action and target scope, then usage examples, then alternative-tool routing. Three sentences carry dense, non-redundant information, though the emphasized "CLIENT's" casing and the trailing sibling comparison make it slightly less scannable than it could be.

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

Completeness4/5

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

No output schema exists and the description does not say what is returned (e.g. a comment id), which is a minor gap. For a 5-parameter mutation with partial schema coverage, it covers targeting, validation, and side effects well, with sticky the only unaddressed input.

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?

Adds real meaning beyond the schema's 60% coverage: contact_id is explained as tying the note to the person it concerns and constrained to that client's contacts, and client_id/booking_id are described as combinable ("and/or"). Only sticky remains undefined in both schema and description.

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?

States a specific verb and resource ("Add a note to a CLIENT's history ... or to a booking") plus concrete examples of note types (call log, inquiry reply, agreement). It also names the exact sibling it resembles and the one it doesn't (add_project_note), so an agent can distinguish it without opening the schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent: use this or add_client_note for client notes, while add_project_note is a shared notepad not tied to any client. It also gives the client_id and/or booking_id targeting rule. It doesn't explicitly say when to prefer this over add_client_note, leaving that pair slightly ambiguous.

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