Skip to main content
Glama

Atualizar prospecção

update_prospect
Destructive

Update ONE prospect owned by the authenticated user: move it through the pipeline and/or rewrite its message. Editing a message never regenerates it and never costs credits. Statuses: ready, sending, awaiting_reply, replied, paused, failed. Setting awaiting_reply stamps the sent time; replied stamps the reply time.

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": {
      "prospectId": "<prospectId>"
    },
    "name": "update_prospect"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe person's real name, fixed by hand (not the company's name, an e-mail or a guess). A person held "sem nome" goes back in line once the name is valid.
statusNo
emailBodyNo
prospectIdYesExact prospect UUID.
emailSubjectNo
connectionNoteNoReplacement LinkedIn connection note (300 characters max).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "The person's real name, fixed by hand (not the company's name, an e-mail or a guess). A person held \"sem nome\" goes back in line once the name is valid.",
      +  "maxLength": 120,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / prospectId / description
      Previous value: -"Exact prospect UUID from list_prospects."New value: +"Exact prospect UUID."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuinely non-obvious behavior: message edits do not regenerate content or consume credits, and specific statuses stamp sent/reply timestamps. It stops short of warning that overwriting emailSubject/emailBody/connectionNote is irreversible, which matters given destructiveHint=true.

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?

Front-loaded with the core action and scope, then behavior, then status semantics. The status list partially repeats the schema enum, but it is immediately followed by the timestamp side effects that justify its presence.

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?

For a partial-update mutation tool with no output schema, the description covers the important semantics: only prospectId is required, status transitions have side effects, and message edits are non-generative. It could say more about what a successful update returns or how invalid status transitions are handled.

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 coverage is 50%, so the description must compensate, and it does for the most consequential parameter: it enumerates the status values and explains the side effects of awaiting_reply and replied. It adds little for emailSubject, emailBody, and connectionNote beyond what their names imply, leaving some gap.

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 verb and resource ('Update ONE prospect') plus scope ('owned by the authenticated user') and the two capabilities (pipeline status, message rewrite). This clearly separates it from siblings like get_prospect, delete_prospect, and disqualify_prospect without needing their schemas.

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?

Usage is implied by the described capabilities (status moves, message edits), and the note that editing never regenerates or costs credits helps an agent choose it over a regeneration path. However, no sibling is named and there is no explicit when-not guidance (e.g., versus disqualify_prospect or set_prospect_closure_reason).

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.