Skip to main content
Glama

Update Portfolio Property

update_portfolio_property
DestructiveIdempotent

Update metadata for a portfolio property.

REQUIRED: id (property ID) Optional: label, address, code_postal, commune, latitude, longitude, type_local, surface, pieces, purchase_price

Changing latitude, longitude, surface or type_local invalidates the cached estimate; the next get_portfolio_property call refreshes it.

Cost: 0 credits

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": {
      "id": "<id>"
    },
    "name": "update_portfolio_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProperty ID to update
labelNoNew label
piecesNoNew number of rooms (pièces principales, not bedrooms)
addressNoNew address
communeNoNew commune
surfaceNoNew surface in m² (invalidates cached estimate)
latitudeNoNew latitude (invalidates cached estimate)
longitudeNoNew longitude (invalidates cached estimate)
type_localNoNew property type (invalidates cached estimate)
code_postalNoNew postal code
purchase_priceNoUpdated purchase price

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pieces / description
      Previous value: -"New number of rooms"New value: +"New number of rooms (pièces principales, not bedrooms)"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, it discloses two things structured fields do not: that changing latitude, longitude, surface, or type_local invalidates the cached estimate until the next read, and that the call costs 0 credits. The remaining gap is that annotations declare destructiveHint=true, yet the description frames this purely as metadata updating and never explains what could be lost (e.g. stale estimate data or overwritten values).

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 one-line purpose, then required/optional, then the side effect, then cost — a scannable structure with no filler sentences. The parameter enumeration is slightly redundant with the schema but stays compact and readable.

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 an 11-parameter mutation tool with no output schema, it covers required input, side effects on the cached estimate, and cost, which is most of what an agent needs. The notable omission is any statement of partial-update semantics (that omitted fields are left unchanged) and any explanation of why the tool is flagged destructive.

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 description coverage is 100%, so each parameter's meaning is already documented in the schema, including the cache-invalidation notes for surface, latitude, longitude, and type_local. The description's parameter list largely restates the schema, adding only the required/optional grouping; that grouping is useful but does not go meaningfully beyond the schema.

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?

"Update metadata for a portfolio property" gives a specific verb (update) and resource (portfolio property), and the field list makes the scope concrete. It is clearly distinguishable from get_portfolio_property and delete_portfolio_property, though it never explicitly names a sibling as the alternative path.

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?

It clearly separates the REQUIRED id from the optional field set, which tells an agent how to invoke it, and it names get_portfolio_property as the follow-up that refreshes the estimate. However, there is no explicit when-to-use guidance (e.g. use add_property_to_portfolio to create, this tool only for existing properties) and no stated preconditions or error cases.

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