Skip to main content
Glama

Save a sales conversation

cabinetx_sales_save
Idempotent

ONLY when the user asks to save, append a sales interaction to the SELECTED project. Do not save a temporary pasted consultation automatically. Preserve exact customer text in customerMessage, AI suggested reply in replyDraft, advice in followUpAdvice, and sentReply ONLY if the user says it was actually sent. occurredAt is the interaction time only if known from the user; omit if unknown, and the server records the actual saved time separately; channel defaults other if unknown. nextFollowUpAt is an explicit agreed reminder with timezone, never an AI-only suggestion. id is a fresh UUID; on timeout read history and reuse the SAME id/payload to avoid duplicates. relatesTo can link a later actual reply/correction to a previous record. Does not send anything, change project status/design/prices or confirm bookings. Return durable receipt.

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": {
      "projectId": "<projectId>",
      "id": "<id>",
      "payload": "<payload>"
    },
    "name": "cabinetx_sales_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
payloadYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag idempotentHint=true but say nothing about how to stay idempotent; the description supplies the concrete procedure (reuse SAME id/payload after a timeout rather than minting a new one). It also discloses non-effects (no sending, no project status/design/price changes, no booking confirmation) and that the server stamps the saved time separately, which matters for the occurredAt/nextFollowUpAt rules. Nothing here contradicts the annotations.

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 gating condition before any field rules, which is the right ordering, and almost every clause carries a distinct constraint. It is dense and several sentences pack multiple rules together, which slightly hurts scannability, but there is no filler to cut.

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?

Given a nested payload, no output schema, and a real duplicate-write hazard, the definition covers trigger, field semantics, idempotent recovery, and negative capabilities. The one remaining gap is the promised 'durable receipt' — with no output schema, the agent gets no idea what that receipt contains or which identifier it returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the payload is a nested object with ten undocumented sub-properties, so the description must carry the load — and it does: it defines field-by-field meaning for customerMessage, replyDraft, followUpAdvice, sentReply (only if actually sent), occurredAt (omit if unknown), channel (defaults to 'other'), nextFollowUpAt (explicit agreement, never an AI suggestion), id (fresh UUID), and relatesTo (links a later reply/correction). Only 'note' and the projectId semantics are left implicit.

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 — 'append a sales interaction to the SELECTED project' — and immediately narrows the trigger to an explicit user save request. The closing sentence ('Does not send anything, change project status/design/prices or confirm bookings') separates it cleanly from the mutation-flavored siblings like cabinetx_sales_design.

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?

Gives an explicit when ('ONLY when the user asks to save'), an explicit when-not ('Do not save a temporary pasted consultation automatically'), and even a recovery path on timeout (read history, reuse the SAME id/payload). An agent has no ambiguity about whether to invoke this or handle the text another way.

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.