Skip to main content
Glama

Record a sales message that went out

record_sales_outreach

After a message to a business went out — or was saved as a draft for a person to send — record it on their Sales CRM history. Pass the link's campaign (from prepare_sales_outreach) or contact_id. status "sent" counts as Seayora having been in touch; "drafted" is a note only, because nobody has heard from Seayora until a person presses Send. Idempotent: the same channel + message_ref (the thread or draft) + status is recorded once, so a retry is safe. It sends nothing. Applied at once (staged: false).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "record_sales_outreach"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo
channelNo
excerptNoThe message text, or its start.
mailboxNoFor a draft: which mailbox, e.g. "Gmail" or "Zoho".
summaryNoOne line — what went out.
campaignNo
contact_idNo
message_refNoThe thread URL or draft id it went into.
occurred_atNoWhen it went out. Defaults to now.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was — or a sentence the server attached to the answer.
stagedNoAlways false for this tool: it is applied at once (Seayora's own sales book — nothing is queued for approval, and nothing is sent to anybody).
alreadyNoTrue when the same message was already recorded — nothing was added twice.
warningNoPresent when the contact is marked do not contact.
activityNoThe history entry written.
recordedNoTrue when it was recorded now.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
contact_idNoThe contact.
message_idNoThe recorded message.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior2/5

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

The description adds genuinely useful behavior: the dedupe key (channel + message_ref + status), that nothing is transmitted, and that it is applied immediately (staged: false). But it flatly claims 'Idempotent ... a retry is safe,' which conflicts with the structured idempotentHint=false annotation, leaving an agent uncertain whether retries duplicate CRM history entries.

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 what the tool does and the sent-vs-drafted distinction before the safety and idempotency notes. The 'drafted' rationale is restated at some length ('nobody has heard from Seayora until a person presses Send'), which is slightly redundant but does reinforce a non-obvious semantic.

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 concerns (one exists) and the write path, staging behavior, and status semantics are covered. The remaining gap is that all nine parameters are optional, yet the text implies campaign or contact_id must be supplied — it never says what happens if both are omitted or how conflicts between them are resolved.

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?

With 56% schema coverage, the description carries real weight: it frames campaign (from prepare_sales_outreach) and contact_id as alternatives for identifying the business, and defines message_ref as the thread or draft. It also explains the semantic difference between the 'sent' and 'drafted' enum values, which the schema does not.

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 — record a sales message (sent or drafted) into a business's Sales CRM history — and explicitly rules out the most confusable behavior with 'It sends nothing,' separating it from send_message/draft_message siblings.

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?

Gives clear triggering conditions: after a message went out, or after it was saved as a draft a person will send. It also points at prepare_sales_outreach as the source of the campaign value. It stops short of explicitly naming alternatives (e.g. 'to actually send, use send_message'), so the routing is implied rather than stated.

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