Skip to main content
Glama

update_lead_contact

Destructive

Set a lead email or phone number without returning contact values.

This one-way enrichment write is limited to Creator and Manager roles. Existing values require explicit overwrite=True.

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>"
    },
    "name": "update_lead_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNo
lead_idYes
overwriteNo
phone_numberNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already flag this as a non-read-only, destructive operation, and the description adds genuinely new behavioral context on top: the call returns no contact values, is role-gated to Creator/Manager, and will not clobber existing data unless overwrite=True is passed. It stops short of saying what happens on a partial update or what error surfaces for insufficient role, leaving a small gap rather than a contradiction.

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 short sentences with zero filler, front-loaded with the core action and followed immediately by the constraint that most affects invocation (overwrite). No restating of the tool name or annotation-derived facts.

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?

Given an output schema exists and the description explicitly states no contact values are returned, return-value explanation is not needed. The description covers roles, overwrite semantics, and the readable fields; it is only slightly thin on edge cases like supplying neither contact field or how the destructive overwrite interacts with partial updates.

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 description coverage is 0%, so the description must carry the load, and it explains the non-obvious parameter precisely ('Existing values require explicit overwrite=True') while naming the two writable fields (email, phone_number). Only lead_id goes unmentioned, though its role as the required target is self-evident from the tool name.

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 leads with a specific verb and resource ('Set a lead email or phone number') and immediately narrows scope ('one-way enrichment write'), which cleanly separates it from the sibling update_lead_assignment and update_lead_lifecycle tools that mutate other lead attributes.

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 concrete operational context: the write is limited to Creator and Manager roles, and modifying an existing value requires explicit overwrite=True. What is missing is any statement of when to prefer this tool over alternatives or what to do when both email and phone are omitted, but the practical call conditions are clear.

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