Skip to main content
Glama

Add a lead source

create_lead_source

Add a lead source and get the address to paste into the sender: an ADF lead email address for listing sites, OEM portals and dealer CRMs, or a webhook URL and secret for HighLevel, Zapier, Typeform or a developer. HubSpot and RevDesk forms are added in the app.

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": {
      "name": "<name>",
      "provider": "<provider>"
    },
    "name": "create_lead_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat the dealer calls it, for example 'Cars.com leads'
providerYesadf for lead emails (Cars.com, AutoTrader, CarGurus, OEM portals, dealer CRMs); leadconnector for HighLevel; zapier; typeform; public_webhook for a developer posting JSON
location_idNoStore this source belongs to (location.id from list_lead_sources); leave out for every store
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive, open-world create; the description adds the meaningful behavior that the call yields credentials (a lead email address, or a webhook URL plus secret) that must be pasted into the sender. It does not cover permissions, duplicate handling, or rate limits, but the key output behavior is disclosed.

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?

A single dense sentence, front-loaded with the action and its payoff (get the address to paste), then the two output shapes, then the exclusion. Nothing is padding.

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?

With four fully documented parameters, no output schema, and creation semantics, the description supplies the one thing the schema cannot: what the caller receives back and what to do with it. Only edge-case behavior (duplicate names, already-existing sources) is left unspecified.

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 description coverage is 100%, so the baseline is 3. The description reinforces provider selection with concrete service names, but that mapping is already spelled out in the provider enum description, and location_id/workspace_id semantics live only in the schema.

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?

Specific verb plus resource (add a lead source) and it states the concrete artifact returned: an ADF email address or a webhook URL and secret. It also distinguishes itself from the app-only path for HubSpot/RevDesk forms, so an agent can tell create_lead_source apart from get/update/remove 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?

Names the provider-to-use-case mapping (ADF for listing sites, OEM portals, dealer CRMs; webhook for HighLevel, Zapier, Typeform, developers) and rules out HubSpot/RevDesk forms, which are added in the app. It does not explicitly route to update_lead_source when a source already exists, so the when-not-to-use case is only partial.

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