update_lead
Update a lead. Variables are merged with existing ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | No | ||
| variables | No | ||
| campaign_id | No | ||
| phone_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| message | No |
Update a lead. Variables are merged with existing ones.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | No | ||
| variables | No | ||
| campaign_id | No | ||
| phone_number | No |
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| message | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate the tool is not read-only, idempotent, not destructive, and open-world. The description adds that 'Variables are merged with existing ones,' which clarifies the updating behavior. However, it does not disclose what happens to other fields like status or campaign_id when updated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with two sentences, front-loading the purpose. However, it is too brief and could include more useful information without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the number of parameters (5) and 0% schema description coverage, the description is insufficient. It lacks details on parameter usage, constraints, and interactions, even though an output schema exists to explain return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must compensate. It only explains the behavior for the 'variables' parameter (merged). The other parameters (id, status, campaign_id, phone_number) are not mentioned, leaving their semantics unclear.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Update a lead,' specifying the verb and resource. However, it does not distinguish this tool from sibling update tools like update_assistant or update_campaign, which have similar names and purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool over alternatives, such as create_lead or delete_lead. It does not mention prerequisites, typical use cases, or scenarios where other tools are more appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Most tools target distinct resources and actions clearly (e.g., create_assistant vs create_campaign). However, there is some overlap like get_outbound_assistants vs get_assistants and list_all_phone_numbers vs get_phone_numbers, causing minor ambiguity.
Tools follow a consistent verb_noun pattern with underscores (e.g., create_document, delete_label, get_voices). Only minor deviations exist, such as generate_ai_reply and list_all_phone_numbers, but overall the pattern is maintained.
With 75 tools, the server is excessively large. Although the domain is broad (assistants, calls, messaging, etc.), the number of tools makes it difficult for agents to navigate and select the correct one, reducing coherence.
The tool set covers CRUD operations for most resources, plus webhooks, AI replies, and reference data fetching. Minor gaps exist (e.g., no delete_conversation, no attach phone number to assistant), but the surface is largely comprehensive for the platform's purpose.