Skip to main content
Glama

LinkedIn MCP Server (Salesbot)

generate_campaign_message

Generate (or regenerate) an AI personalized message draft for a specific campaign_contact and step, using the template and lead profile. The message is NOT sent — it is stored as a draft with status 'pending_approval' and waits for review (via this MCP or manually). Use list_pending_approvals + approve_message to release it to the campaign executor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
step_idYesUUID of the campaign_messages step to generate the message for
campaign_contact_idYesUUID of the campaign_contact
custom_instructionsNoOptional extra instructions appended to the step's ai_prompt (e.g. tone, angle).

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already indicate non-destructive and non-read-only. The description adds behavioral context: the message is stored as a draft with status 'pending_approval' and waits for review. This goes beyond annotations by describing the lifecycle step. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core action and key constraints. Every sentence adds value: the first states the action, the second clarifies the non-sending and status, the third provides next steps. No wasted words.

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?

Despite lacking an output schema, the description thoroughly covers what the agent needs to know: the tool creates a draft, the resulting status, and the follow-up tools (list_pending_approvals, approve_message). It also references sibling tools, fitting into a workflow.

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?

Schema coverage is 100%, with each parameter described. The description adds meaning beyond the schema by explaining the purpose of custom_instructions (appended to step's ai_prompt, e.g., tone or angle). This helps the agent understand how to use the optional parameter effectively.

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 description clearly states the tool generates an AI personalized message draft for a specific campaign_contact and step, using the template and lead profile. It also explicitly distinguishes itself by stating what it does NOT do (the message is not sent; it is stored as a draft with status 'pending_approval'). This differentiates it from sibling tools like approve_message and save_lead_message.

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?

The description provides explicit context on usage: generate the draft, then use list_pending_approvals + approve_message to release it. It gives a clear workflow. However, it does not explicitly state when NOT to use this tool or list alternative tools for different scenarios.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools have distinct purposes, but there is some overlap among search tools (search_job_postings, search_google_xray, search_linkedin_people, search_web) and messaging tools (send_connection_request, send_linkedin_message, reply_to_chat). However, detailed descriptions clarify the differences.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., add_contacts_to_campaign, list_campaigns). No mixing of conventions.

Tool Count3/5

48 tools is high but justifiable given the broad domain (LinkedIn outreach, CRM, campaigns, job postings, etc.). However, some tools could be consolidated (e.g., multiple search tools).

Completeness5/5

The tool set covers the entire workflow: searching, connecting, messaging, campaign management, CRM operations (fields, stages, tasks, notes), job postings, and posting. No obvious gaps.