Skip to main content
Glama

Promote a contacted person to a CRM lead

crm_promote_contact_to_lead

Turn a person from the Communications stream (crm_communication_history row) into a CRM lead in the New stage. Deduplicated: returns { lead_id, already_existed }. Needs at least one of email / linkedin_url / phone. No credits.

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": "crm_promote_contact_to_lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNo
phoneNo
titleNo
avatar_urlNo
company_nameNo
contact_nameNo
linkedin_urlNo
assigned_user_idNoOwner (default: you)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it delivers the key non-obvious traits: idempotent dedup behavior, the exact return shape { lead_id, already_existed }, the target stage (New), and zero credit cost. It omits permissions and whether the source communication row is mutated, but discloses the most decision-relevant behavior.

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?

Three tight sentences, front-loaded with the purpose and followed by dedup result, identifier requirement, and cost. No wasted words.

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

Completeness3/5

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

Given 8 params, no annotations, and no output schema, it covers the return shape and identifier precondition well. But the majority of optional input fields go unexplained and permission/mutation side effects are unaddressed, leaving meaningful gaps for a multi-param mutation tool.

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 coverage is only 13%, so the description should compensate, and it does partially by declaring the 'at least one of email/linkedin_url/phone' constraint that the schema itself does not encode (required is empty). The remaining five params (title, avatar_url, company_name, contact_name, assigned_user_id) are left undocumented.

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 transformation: turn a Communications-stream person (crm_communication_history row) into a CRM lead in the New stage. Naming the source explicitly separates it from the generic crm_create_lead sibling, so an agent knows it is promoting an existing contact rather than creating one cold.

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

Usage Guidelines3/5

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

Provides a real precondition ('Needs at least one of email / linkedin_url / phone') and cost context ('No credits'), which guides invocation. However, it never explicitly contrasts with crm_create_lead or states when this is preferred over that sibling, leaving the choice largely to inference.

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