Skip to main content
Glama

Update lead

dosai_update_lead

Change a lead's status or contact details. The status must be one the project defines; an invalid value comes back with the valid list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNo
phoneNo
lead_idYes
project_idYesProject id, as returned by dosai_list_projects.
client_nameNo
lead_statusNo
Behavior4/5

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

Annotations already indicate a mutating, non-idempotent, non-destructive operation. The description adds a specific behavioral trait: an invalid status value triggers a response containing the valid list. This is useful context not present in annotations and does not contradict them.

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?

The description is two sentences with no filler. The first sentence states the purpose, and the second adds a valuable behavioral note, making every sentence earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description omits key operational details: it does not state whether the update is partial (only provided fields) or full replacement, nor what the success response looks like, given there is no output schema. It also doesn't mention prerequisites like an existing lead. This is insufficient for a tool with 6 parameters and no structured output information.

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?

The description groups parameters into 'status' and 'contact details', providing a high-level mapping to lead_status and email/phone/client_name. However, it does not explain the required identifiers (project_id, lead_id) or detail each parameter, so it only partially compensates for the low schema description coverage (17%).

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 clearly states the tool's function with the verb 'Change' and specifies the resource (lead) and scope (status or contact details). This distinguishes it from sibling tools like get_lead (read-only) and update_prompt (updates a different resource).

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?

The description implies usage for modifying a lead's fields, which is clear from the verb and resource. It also provides a guideline that the lead_status must be project-defined, and that an invalid value returns the valid list, but it does not explicitly mention when not to use this tool or reference alternatives.

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