Skip to main content
Glama

Save people to a list

add_to_lead_list
Idempotent

Saves people to a lead list: result_ids (row ids from get_results on a run) or contacts, people you already have, each with an email, linkedin_url or name (an email is saved unverified unless find_email found it here). Give list_id, or new_list_name to create the list. Do-not-contact people are refused (counted as suppressed). Free; saving twice is harmless, but a name-only contact is added again.

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

Input Schema

NameRequiredDescriptionDefault
list_idNo
contactsNo
result_idsNo
new_list_nameNo

Output Schema

NameRequiredDescriptionDefault
addedNo
errorNo
list_idNo
skippedNo
list_nameNo
suppressedNo
list_createdNo
resource_uriNo
already_in_listNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / contacts
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "company": {
      +        "maxLength": 200,
      +        "type": "string"
      +      },
      +      "email": {
      +        "maxLength": 254,
      +        "type": "string"
      +      },
      +      "linkedin_url": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 200,
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 200,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 500,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "result_ids"
      -]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (idempotentHint=true, destructiveHint=false), the description discloses non-obvious behavior: do-not-contact people are refused and counted as suppressed, emails are saved unverified unless find_email found them, the call is free, and the idempotency has an explicit exception for name-only contacts, which are added again. That exception materially refines the structured idempotentHint claim rather than contradicting it.

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?

Two dense sentences, front-loaded with the action and followed by operand definitions and caveats, with no filler. The parenthetical about unverified emails is slightly buried mid-sentence, which costs a little readability but not content.

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?

An output schema exists so return values need no explanation, and the description covers the remaining gaps: operand sourcing, list creation, suppression refusal, idempotency edge case, and cost. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all meaning, and it does: it explains what result_ids are sourced from, that contacts need an email, linkedin_url or name, and that list_id versus new_list_name are alternatives for list selection. This converts four undocumented parameters into actionable semantics.

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 ("Saves people to a lead list") and then defines the two accepted operand types precisely: result_ids as row ids from get_results, and contacts as people you already have. This distinguishes the tool from siblings like create_lead_list, get_results, and remove_from_lead_list without ambiguity.

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?

It gives clear entry conditions ("Give list_id, or new_list_name to create the list") and points at get_results as the source for result_ids, so an agent knows the prerequisite flow. It does not, however, explicitly route away from create_lead_list when a brand-new empty list is wanted, nor state what happens when neither list_id nor new_list_name is provided.

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