Skip to main content
Glama

add_lead_social_url

Destructive

Add or update a lead's social/profile link for a platform — upserts by platform, so re-adding the same platform (e.g. 'linkedin') overwrites its url/label instead of duplicating; this is also how you EDIT an existing entry. Stored in leads.social_urls, a jsonb array of {platform, url, label?} — use this tool rather than update_lead to change it, so one add can't clobber another entry already in the array. Required: lead_id, platform, url. Optional: label (free text, e.g. a headline or note). Returns the full updated social_urls array.

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": {
      "lead_id": "<lead_id>",
      "platform": "<platform>",
      "url": "<url>"
    },
    "name": "add_lead_social_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesProfile URL on the platform
labelNoOptional free-text note, e.g. a headline or last-checked summary.
lead_idYesID of the lead
platformYese.g. 'linkedin', 'twitter', 'instagram', 'facebook', 'github', 'other'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / lead_id / description
      Added value: +"ID of the lead"
    • addedInput schema / properties / url / description
      Added value: +"Profile URL on the platform"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses what actually gets destroyed — the prior url/label for that platform — and where the data lives (leads.social_urls, a jsonb array of {platform, url, label?}). It also discloses the return value (the full updated array) and the concurrency rationale for using this tool over update_lead.

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?

The upsert semantics and the sibling routing are front-loaded, and every sentence carries real information. It loses a point for the dense em-dash chain and for the closing required/optional restatement, which duplicates the schema rather than adding value.

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?

For a four-parameter mutation with no output schema, the definition covers the write semantics, storage shape, overwrite consequences, parameter roles, and return value. An agent has everything needed to invoke it correctly and predict the effect.

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 100%, so all four parameters are already documented in the schema. The description restates required (lead_id, platform, url) and optional (label) and echoes the schema's own label example, adding no new format, validation, or constraint detail beyond it. Baseline 3 is appropriate when the schema carries the parameter burden.

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 opens with a specific verb and resource ('Add or update a lead's social/profile link for a platform') and immediately pins down the exact semantics — an upsert keyed on platform. It also explicitly separates itself from update_lead, so an agent can distinguish it from the sibling without opening either 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?

It states when to use this tool ('this is also how you EDIT an existing entry') and names the alternative it should replace ('use this tool rather than update_lead to change it'), with the reason given: avoiding clobbering other array entries. remove_lead_social_url supplies the removal counterpart, so the routing decision is fully determined.

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.