Skip to main content
Glama

Prepare a sales message: file the person, get their link

prepare_sales_outreach

Before you message a business for Seayora on LinkedIn, email, WhatsApp or text, call this. It finds the person in Seayora's own Sales CRM (by email, phone, LinkedIn profile, then an exact name) or adds them, and returns ONE personal link (link.paste) to put in that message — a visit through it is then tied to them, so the CRM shows which pages they opened and for how long. It does not send anything: you or the person sends the message, then call record_sales_outreach. Refused with crm_do_not_contact or crm_forgotten for somebody who asked not to be contacted — do NOT message them. Asking twice for the same person, channel and page within 30 minutes hands back the same unused link. To file a link already minted by scripts/marketing/utm.cjs, pass its campaign, url and minted_at instead of path. For somebody messaged before links existed, pass mint: false to file them with no link. 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": "prepare_sales_outreach"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWith campaign: the link exactly as it went out.
kindNo
mintNofalse files the person without minting a link.
nameNoFull name, if first_name and last_name are not given.
pathNoThe Seayora page the link opens, e.g. "/demo?as=manager" (default), "/demo?as=contractor", "/pricing".
tagsNo
emailNo
notesNo
phoneNo
titleNoTheir role, e.g. "Director of Property Management".
topicNoA short slug for what the message was about, e.g. "followup".
channelNo
companyNo
campaignNoRegister a link already minted elsewhere (mk-li-dm-261111-m7nn), with url and minted_at.
locationNo
last_nameNo
minted_atNoWith campaign: when the link was minted (the ledger's "at").
first_nameNo
linkedin_urlNoTheir profile, linkedin.com/in/<vanity> — the identity for somebody with no email on file.

Output Schema

NameRequiredDescriptionDefault
linkNoThe personal link, or null when mint was false.
noteNoWhy the result was truncated, when it was — or a sentence the server attached to the answer.
reusedNoTrue when an unused link minted for them in the last 30 minutes was handed back.
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).
contactNoThe contact in Seayora's Sales CRM.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
matched_byNoHow an existing contact was found: email, phone, linkedin, name — null when they were added.
created_contactNoTrue when they were added just now.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare a non-destructive, non-open-world write; the description adds the important behavior: it files/adds the person, mints a tracked link whose visits are attributed, sends nothing, refuses for do-not-contact/forgotten contacts, and returns the same unused link on a repeat request within 30 minutes. The trailing "Applied at once (staged: false)" references a staged concept that has no corresponding parameter, which is a small ambiguity an agent may trip over.

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?

One dense paragraph that is front-loaded with the when-to-call trigger, then moves through resolution order, return value, exclusions, and edge modes. Almost every clause carries operational meaning; the only dead weight is the unexplained "(staged: false)" parenthetical.

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?

For a 19-parameter mutating tool the description covers the main decision paths (normal mint, external campaign link, mint:false) and the refusal cases, and an output schema exists so return shape need not be spelled out. The gap is that with no required parameters it never says the minimum identity needed for a match versus a create, which is the one thing an agent could get wrong.

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 19 parameters at 47% schema coverage, the description carries real weight: it gives the identity resolution order (email, phone, LinkedIn profile, then exact name), the alternate campaign/url/minted_at filing mode for externally minted links, and the mint:false mode for contacts predating links. It does not clarify which identifiers are minimally required, despite zero required parameters.

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 chain: it looks up-or-creates a person in Seayora's Sales CRM and returns one tracked personal link. It explicitly separates itself from record_sales_outreach (post-message logging) and from the send tools ("It does not send anything"), so an agent can pick 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 Guidelines5/5

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

Gives a clear triggering condition ("Before you message a business ... on LinkedIn, email, WhatsApp or text, call this"), names the follow-up tool (record_sales_outreach) and the ordering between them. It also states an exclusion: do NOT message anyone returned with crm_do_not_contact or crm_forgotten.

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