Skip to main content
Glama

Insightly MCP by usefulapi

Update a lead

insightly_update_lead
Destructive

Update a lead. Only the fields you pass are changed. Insightly: PUT /Leads with LEAD_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoEmail address.
phoneNo
titleNoJob title.
mobileNo
lead_idYesThe lead's numeric id.
websiteNo
industryNo
last_nameNoLast name.
first_nameNo
salutationNo
lead_ratingNoRating, e.g. 1-5.
address_cityNo
address_stateNo
custom_fieldsNoCustom field values to set.
owner_user_idNo
address_streetNo
employee_countNo
lead_source_idNoSource id — see insightly_list_lead_sources.
lead_status_idNoStatus id — see insightly_list_lead_statuses.
address_countryNo
email_opted_outNo
address_postcodeNo
lead_descriptionNoDescription / notes on the lead.
organisation_nameNoCompany name (free text — leads are not linked to organisations).
responsible_user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations only flag destructiveHint=true, so the description correctly adds the non-obvious partial-update semantics and names the underlying endpoint (PUT /Leads with LEAD_ID), which helps interpret errors. It does not disclose the consequences of the destructive hint — e.g. that omitted fields survive but null clears values, or that this overwrites existing lead data — and it does not contradict the annotation.

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?

Three short sentences with the purpose front-loaded and no filler. The endpoint sentence is the only one of debatable value, but it is compact and could aid error interpretation.

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?

A 25-parameter mutation tool with 40% schema coverage, no output schema, and minimal annotations needs considerably more description than three sentences. The agent gets no guidance on id sourcing, partial-update edge cases, or return behavior.

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

Parameters2/5

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

Schema description coverage is only 40% across 25 parameters, so the description is expected to compensate and does not: it names only the implicit LEAD_ID identifier. Nothing is said about the relation id fields, custom_fields shape, or the meaning of ids such as lead_status_id beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Update a lead'), which cleanly separates it from insightly_create_lead and insightly_update_contact. It does not, however, contrast itself with siblings like insightly_get_record to confirm an existing lead is being modified.

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?

'Only the fields you pass are changed' is a useful partial-update note that tells the agent it may send a sparse payload. Beyond that there is no when-to-use guidance: no mention of reading the lead first, of prerequisite ids, or of which sibling to use instead for creation or lookup.

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.