Skip to main content
Glama

Update Location

update_location
Destructive

Edit fields on an existing tenant-rep deal (location): description, address, map link, size, price, NNN, deal type, commission, owner, status, and more. Partial — only the fields you pass change. deal is identified by location_id (prospectlocationid). Map pin rules: setting maplink or lat/long re-derives the pin (this is how you correct or move one), while setting the address only fills a pin in when the site has none — it never moves an existing pin, since a broker may have placed it deliberately. Adding an address to a site that was never mapped is therefore the quickest way to get it onto the client's map. 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": {
      "location_id": "<location_id>"
    },
    "name": "update_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
nnnNoFree-form NNN text.
cityNo
sizeNoSize figure, in the unit given by size_type. The minimum when size_is_range is true.
priceNoFree-form price text (ranges/notes allowed — never numeric arithmetic).
size2NoMaximum size — only meaningful when size_is_range is true.
stateNo
countyNo
addressNoStreet address. If the site has no map pin yet, Propensa geocodes this to place one; an address change never moves an existing pin.
maplinkNoA Google Maps URL or "lat,long" pair — coordinates are re-extracted for the map pin when this changes. This is how you correct or move a pin.
latitudeNoLatitude, when you have exact coordinates. Takes precedence over maplink and address, and does move an existing pin.
owner_idNoThe landlord/owner id.
deal_typeNoStored deal type. "Lease" displays as "NNN Lease".
longitudeNoLongitude — pass together with latitude.
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 location 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.
descriptionNoShort label for the site.
location_idYesThe prospectlocationid (tenant-rep deal) to edit. The broker must participate in the parent client.
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.
size_is_rangeNoTrue when the size is a range — size is then the minimum and size2 the maximum.
agent_assignedNoAgent Assigned — the display name of the agent working this site. Use a participant's name exactly as list_deal_participants returns it. An empty string clears it.
expected_close_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is known structurally. The description nevertheless adds real behavior beyond that: only passed fields change, deal participation is enforced, the record cannot be deleted, and detailed pin re-derivation rules. It does not describe the response payload or error modes, which keeps it below the top of the scale given annotation coverage.

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 verb, the field list, and the partial-update rule, then the deal identifier, then pin rules, then safety notes. The map-pin paragraph is long and its closing sentence ('quickest way to get it onto the client's map') restates the precedence rule just given, costing some economy.

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 24-parameter mutation tool with no output schema, the description covers the highest-risk semantics (partial update, pin movement, participation enforcement, confirmation, non-deletion) and redirects the one commonly confused field to set_milestone_commission. Missing only return-shape and failure behavior, which are minor against dense schema coverage.

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?

With 24 parameters at 79% schema coverage, the description contributes meaning the schema alone does not: partial-update semantics, which fields interact (address vs maplink vs lat/long pin precedence), and why size_type should accompany size changes. Some of the pin prose duplicates schema descriptions, and many of the remaining parameters (nnn, county, asset_type, expected_close_date) get no mention here.

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 plus resource ('Edit fields on an existing tenant-rep deal (location)') and enumerates the editable field families. It also disambiguates the entity via 'deal is identified by location_id (prospectlocationid)', so an agent can distinguish this from update_property or update_client without opening the 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?

Gives clear usage context: partial update semantics, 'confirm with the user first', and an explicit routing exclusion for per-milestone income commission to set_milestone_commission. It also rules out deletion. It stops short of naming when to prefer a sibling such as update_property versus this location editor, so it is not a full when/when-not map.

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