Skip to main content
Glama

Update Prospect

update_prospect
Destructive

Edit fields on an existing landlord-rep deal (prospect): size, price, NNN, deal type, commission, contact, status, and more. Partial — only the fields you pass change. deal is identified by prospect_id (propertytoprospectid). Enforces deal participation. Changes a record — confirm with the user first. NOTE: per-milestone income commission is set via set_milestone_commission, not here. Cannot delete anything.

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

Input Schema

NameRequiredDescriptionDefault
nnnNoFree-form NNN text.
nameNoA specific person/prospect name.
sizeNoSize figure, in the unit given by size_type. The minimum when size_is_range is true.
emailNo
phoneNo
priceNoFree-form price/rent text (ranges/notes allowed — never numeric arithmetic).
size2NoMaximum size — only meaningful when size_is_range is true.
companyNoThe prospective tenant or buyer — usually a company name.
contactNoAgent Assigned — the display name of the agent working this prospect, NOT the contact person at the prospect (link those with link_contact_to_deal). Use a name exactly as list_deal_participants returns it.
locationNoThe space/suite/unit within the property (stored as the deal notes).
deal_typeNoStored deal type. "Lease" displays as "NNN Lease".
size_typeNoUnit for size and size2. Pass this whenever you change size, so the figure is not reinterpreted in the deal's existing unit.
status_idNoA status_id from list_deal_statuses.
asset_typeNo
commissionNoDeal-level commission figure on the prospect record. NOTE: milestone-based commission for income reporting is set via set_milestone_commission, not here.
lease_termNoLease term, free-form text ("10 years", "5 yrs + 2x5 options"). Leases only — leave it out on a purchase. An empty string clears it.
prospect_idYesThe propertytoprospectid (landlord-rep deal) to edit. The broker must participate in the parent property.
ti_allowanceNoTenant improvement allowance, free-form text ("$45/SF", "$250,000", "turnkey"). Leases only — leave it out on a purchase. An empty string clears it.
business_typeNo
size_is_rangeNoTrue when the size is a range — size is then the minimum and size2 the maximum.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description's job is to scope that destruction, which it does well: only the fields passed change, nothing is deleted, and a user confirmation is required before writing. It also discloses the authorization prerequisite (deal participation) and a cross-tool behavioral constraint about commission. It adds no detail on response or failure behavior, but with annotations and a rich schema that is a minor gap; 'Cannot delete anything' is a clarification of scope, not a contradiction of destructiveHint.

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?

Front-loaded with the action and field list, then partial-update semantics, identifier, authorization, confirmation warning, and exclusion — each in its own short sentence with no filler. The only mild redundancy is the milestone-commission note echoing the commission parameter description, which is defensible as a prominent gotcha.

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 20-parameter mutation tool with no output schema, the description covers the essentials an agent needs: what can be changed, that updates are partial, how the record is identified and authorized, the confirmation requirement, and the sibling that handles milestone commission. It does not describe what the response contains or failure modes, which keeps it short of complete.

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?

Schema coverage is 80%, so the schema already documents most parameters in depth (including contact, size_type, deal_type display behavior, and clearing semantics via empty strings). The description adds little parameter-level meaning beyond enumerating which fields are editable and repeating the milestone-commission caveat; baseline 3 is appropriate.

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 (Edit) and resource (an existing landlord-rep deal / prospect) and itemizes the editable field families (size, price, NNN, deal type, commission, contact, status). It also excludes a sibling by name (set_milestone_commission) and implies 'existing' versus create_prospect, so an agent can tell it apart without opening a schema.

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?

Clear when-to-use framing: edit fields on an existing prospect, partial-update semantics, identified by prospect_id, and requires the broker to participate in the parent property. It explicitly routes the milestone-income case to set_milestone_commission and states it can never delete, but does not name where to go for deletion or reading a deal first (archive_record / get_prospect).

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