Skip to main content
Glama

Create Deal Comment

create_deal_comment

Add a comment (activity-log entry) to a deal. A deal is either a "prospect" (a deal under a property — landlord rep) or a "location" (a deal under a client — tenant rep); set deal_type accordingly. For an email or call, pass your SUMMARY as the body. An optional date (YYYY-MM-DD) dates the activity (defaults to today — set it when logging something after the fact). An optional review_date (YYYY-MM-DD) flags it for follow-up, and assign_to (broker ids from list_deal_participants, where can_be_assigned is true) names who should do it — leave assign_to out and the follow-up belongs to everyone on the deal, which is the normal case. The result echoes assigned_to, and any id it could not use in assign_to_ignored. Enforces deal participation. Edit it later with update_deal_comment; comments cannot be deleted through this integration. Documented at https://www.propensa.com/connect#comments-and-notes.

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": {
      "deal_type": "<deal_type>",
      "deal_id": "<deal_id>",
      "body": "<body>"
    },
    "name": "create_deal_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe comment text. For an email, pass your summary — do not paste the raw thread.
dateNoThe date the activity happened (YYYY-MM-DD). Defaults to today. Pass this when logging something after the fact (e.g. Monday-logging a Thursday call) so the activity log dates it correctly.
deal_idYesThe propertytoprospectid or prospectlocationid
assign_toNoOptional. Broker ids of the people who should DO this follow-up — omit it and the follow-up belongs to everyone on the deal, which is the normal case. To resolve a name to an id, call list_deal_participants for the RECORD this deal sits under (get_prospect returns its propertyid, get_location its prospectid) and use the rows where can_be_assigned is true; guests and pure administrators are participants but cannot be assigned work. Any id that is not an assignable participant is ignored and reported back in assign_to_ignored — check that field and tell the user rather than reporting a name as assigned. Assigning does not hide the comment: every participant still sees it and the follow-up, marked with who has it. Only meaningful alongside a review_date — assignees are dropped if the comment carries no follow-up.
deal_typeYes"prospect" = landlord-rep deal (propertytoprospectid), "location" = tenant-rep deal (prospectlocationid)
review_dateNoOptional follow-up date (YYYY-MM-DD). When set, flags the comment for review — this arms the daily follow-up reminder.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly=false and destructive=false; the description goes well beyond by disclosing that deal participation is enforced, that comments are not deletable through this integration, that assignees are silently dropped when no review_date is present, and that the response echoes assigned_to and assign_to_ignored. The instruction to check assign_to_ignored and report back rather than claiming a name was assigned is exactly the kind of behavioral caveat annotations cannot carry.

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?

The purpose is front-loaded and the follow-on sentences are organized by parameter in a useful order, with the docs link last. It is dense rather than padded, though the deal_type and date-format explanations repeat what the schema already says, which costs some tightness.

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

Completeness5/5

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

For a write tool with no output schema, the description covers the mutation's eligibility constraint, the non-deletability, the update path, and what the response returns (assigned_to, assign_to_ignored). Nothing an agent needs to call it correctly or report results accurately appears to be missing.

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 the schema already documents body, date, assign_to, review_date, and deal_type in nearly the same words, so much of the description's parameter text is restatement. It does add a little cross-parameter framing (assign_to is only meaningful alongside review_date, guests/admins cannot be assigned), but the heavy lifting is done by the schema, so the baseline 3 applies.

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?

The first sentence gives a specific verb and resource: 'Add a comment (activity-log entry) to a deal,' and immediately clarifies what a deal is in this system (prospect vs. location). The sibling update_deal_comment is named later, so an agent can tell creation apart from editing without opening either schema.

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

Usage Guidelines5/5

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

It states the normal case for assign_to (omit it) versus the exception, when to pass date (logging after the fact), what review_date does, and explicitly routes editing to update_deal_comment while warning comments cannot be deleted here. That is when-to-use, when-not-to-use, and the alternative in one paragraph.

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