Skip to main content
Glama

update_listing

DestructiveIdempotent

Edit fields (title, description, price, currency, location, details) on one of the USER'S OWN listings, identified by listing_id. Use it when the user wants to correct or change an existing listing — "drop the price to 900", "fix the typo in the title", "the flat now has 3 rooms". Do not use it for photos (update_listing_images), for marking sold or hiding (set_listing_status), for extending the expiry (renew_listing), or to change vertical/intent_type/role — those are fixed, so publish a new listing instead. Only the owner can edit. Editing is free (no credit charge). Price/currency-only edits stay live; changing the title, description, location or details re-triggers AI moderation: the listing returns to 'pending' and is offline until cleared — tell the user this before editing a live listing. Returns { success, listing } with the updated listing and its new status.

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": {
      "listing_id": "<listing_id>"
    },
    "name": "update_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNoNew asking price as a plain number. To change a salary range use details.salary_min and details.salary_max. Example: 950.
titleNoNew headline, 3-200 characters. Returns the listing to "pending". Example: "Two-bedroom flat near the river".
detailsNoVertical-specific attributes to change; keys you leave out keep their current value. Only these keys for the listing's vertical are accepted, with these values; an unknown key or a value outside the listed options is rejected with an error, never dropped. They use the same keys and values as the teppek.com listing form, so the listing shows up under the same map filters. career: organization_name (text), salary_min (number), salary_max (number), empType (one of full_time|part_time|contract|internship|freelance|seasonal), workMode (one of onsite|hybrid|remote), level (one of intern|junior|mid|senior|lead|manager|director), experience (one of none|1-3|4-6|7-10|10+), education (one of any|high_school|associate|bachelor|master), sector (text), skills (text), languages (text). real_estate: property_room_count (text), m2_gross (number), propType (one of apartment|house|land|commercial|other), areaNet (number), buildingAge (one of 0|1-5|6-10|11-20|21+), heating (one of combi|central|ac|floor|stove|none), furnished (one of yes|no), amenities (list of ac|builtin|fireplace|balcony|terrace|ensuite|dressing|steel_door|shutter|storage|accessible|pet_ok), nearby (list of hospital|metro|bus|school|university|mall|coast|park|central), deposit (number), dues (number), floor_number (number), is_student_friendly (boolean), is_credit_eligible (boolean), tapu_status (text). vehicle: brand (text), model (text), vehicle_model_year (number), vehicle_mileage_km (number), body (one of sedan|hatchback|suv|wagon|coupe|truck|van|minivan|convertible|other), fuel (one of petrol|diesel|lpg|electric|hybrid), gear (one of manual|automatic), condition (one of new|used), seller (one of private|dealer|owner), features (list of sunroof|leather_seat|rear_camera|park_sensor|blind_spot|heated_seat|navigation|adaptive_cruise|cruise_control|abs_esp|lane_assist|led_headlight|keyless|auto_ac|power_windows), color (text), damage_status (text), daily_price (number), deposit (number). service: service_category (text), place (one of onsite|online|both), availability (one of same_day|appointment|weekday|weekend|24_7, offering side only), pricingType (one of hourly|fixed|after_survey|project|negotiable, offering side only), radius (one of 5|10|25|50|citywide, offering side only), exp (one of 1-3|4-9|10+, offering side only), features (list of free_survey|material_included|insured|contract|referenced|emergency|certified|guaranteed, offering side only). Any details edit returns the listing to "pending", so it goes offline until AI moderation clears it. Example: { "m2_gross": 90, "furnished": "yes" }.
currencyNoNew ISO-4217 currency code. Example: "EUR".
locationNoNew listing coordinates { lat, lon }. Moving a listing re-triggers AI moderation — it returns to "pending" until cleared. Example: { "lat": 48.85, "lon": 2.35 }.
listing_idYesListing id, taken from the `id` field of search_listings, search_listings_by_meaning or list_my_listings results. Example: "adzuna-us-5947308680".
descriptionNoNew full listing text, up to 5000 characters. Returns the listing to "pending". Example: "Bright flat on the third floor, five minutes from the metro."

Output Schema

NameRequiredDescriptionDefault
listingYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / listing_id / description
      Previous value: -"Listing id, taken from the `id` field of search_listings, semantic_search or list_my_listings results. Example: \"adzuna-us-5947308680\"."New value: +"Listing id, taken from the `id` field of search_listings, search_listings_by_meaning or list_my_listings results. Example: \"adzuna-us-5947308680\"."
  2. Changed3 schema fields changed
    • addedInput schema / properties / details / additionalProperties / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • removedInput schema / properties / details / additionalProperties / type
      Removed value: -[
      -  "string",
      -  "number",
      -  "boolean"
      -]
    • changedInput schema / properties / details / description
      Previous value: -"Vertical-specific attributes to change. Only these exact keys for the listing's vertical are accepted; any other key is rejected with an error. career: organization_name, employment_type, salary_min, salary_max, years_experience. real_estate: property_room_count, m2_gross, m2_net, building_age, floor_number, heating_type, deposit, dues, is_furnished, is_student_friendly, is_credit_eligible, tapu_status. vehicle: brand, model, vehicle_model_year, vehicle_mileage_km, fuel_type, gear_type, color, damage_status, daily_price, deposit. service: service_category. employment_type is one of full_time, part_time, contract, freelance, internship. is_furnished, is_student_friendly and is_credit_eligible are booleans. Any details edit returns the listing to \"pending\", so it goes offline until AI moderation clears it. Example: { \"m2_gross\": 90 }."New value: +"Vertical-specific attributes to change; keys you leave out keep their current value. Only these keys for the listing's vertical are accepted, with these values; an unknown key or a value outside the listed options is rejected with an error, never dropped. They use the same keys and values as the teppek.com listing form, so the listing shows up under the same map filters. career: organization_name (text), salary_min (number), salary_max (number), empType (one of full_time|part_time|contract|internship|freelance|seasonal), workMode (one of onsite|hybrid|remote), level (one of intern|junior|mid|senior|lead|manager|director), experience (one of none|1-3|4-6|7-10|10+), education (one of any|high_school|associate|bachelor|master), sector (text), skills (text), languages (text). real_estate: property_room_count (text), m2_gross (number), propType (one of apartment|house|land|commercial|other), areaNet (number), buildingAge (one of 0|1-5|6-10|11-20|21+), heating (one of combi|central|ac|floor|stove|none), furnished (one of yes|no), amenities (list of ac|builtin|fireplace|balcony|terrace|ensuite|dressing|steel_door|shutter|storage|accessible|pet_ok), nearby (list of hospital|metro|bus|school|university|mall|coast|park|central), deposit (number), dues (number), floor_number (number), is_student_friendly (boolean), is_credit_eligible (boolean), tapu_status (text). vehicle: brand (text), model (text), vehicle_model_year (number), vehicle_mileage_km (number), body (one of sedan|hatchback|suv|wagon|coupe|truck|van|minivan|convertible|other), fuel (one of petrol|diesel|lpg|electric|hybrid), gear (one of manual|automatic), condition (one of new|used), seller (one of private|dealer|owner), features (list of sunroof|leather_seat|rear_camera|park_sensor|blind_spot|heated_seat|navigation|adaptive_cruise|cruise_control|abs_esp|lane_assist|led_headlight|keyless|auto_ac|power_windows), color (text), damage_status (text), daily_price (number), deposit (number). service: service_category (text), place (one of onsite|online|both), availability (one of same_day|appointment|weekday|weekend|24_7, offering side only), pricingType (one of hourly|fixed|after_survey|project|negotiable, offering side only), radius (one of 5|10|25|50|citywide, offering side only), exp (one of 1-3|4-9|10+, offering side only), features (list of free_survey|material_included|insured|contract|referenced|emergency|certified|guaranteed, offering side only). Any details edit returns the listing to \"pending\", so it goes offline until AI moderation clears it. Example: { \"m2_gross\": 90, \"furnished\": \"yes\" }."
  3. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed3 schema fields changed
    • changedInput schema / properties / currency / description
      Previous value: -"New ISO-4217 currency code. Rejected with price_locked on a listing published by an assistant. Example: \"EUR\"."New value: +"New ISO-4217 currency code. Example: \"EUR\"."
    • changedInput schema / properties / details / description
      Previous value: -"Vertical-specific attributes to change. Only these exact keys for the listing's vertical are accepted; any other key is rejected with an error. career: organization_name, employment_type, salary_min, salary_max, years_experience. real_estate: property_room_count, m2_gross, m2_net, building_age, floor_number, heating_type, deposit, dues, is_furnished, is_student_friendly, is_credit_eligible, tapu_status. vehicle: brand, model, vehicle_model_year, vehicle_mileage_km, fuel_type, gear_type, color, damage_status, daily_price, deposit. service: service_category. employment_type is one of full_time, part_time, contract, freelance, internship. is_furnished, is_student_friendly and is_credit_eligible are booleans. Any details edit returns the listing to \"pending\", so it goes offline until AI moderation clears it. On a listing published by an assistant, salary_min, salary_max, deposit and daily_price are locked and rejected with price_locked. Example: { \"m2_gross\": 90 }."New value: +"Vertical-specific attributes to change. Only these exact keys for the listing's vertical are accepted; any other key is rejected with an error. career: organization_name, employment_type, salary_min, salary_max, years_experience. real_estate: property_room_count, m2_gross, m2_net, building_age, floor_number, heating_type, deposit, dues, is_furnished, is_student_friendly, is_credit_eligible, tapu_status. vehicle: brand, model, vehicle_model_year, vehicle_mileage_km, fuel_type, gear_type, color, damage_status, daily_price, deposit. service: service_category. employment_type is one of full_time, part_time, contract, freelance, internship. is_furnished, is_student_friendly and is_credit_eligible are booleans. Any details edit returns the listing to \"pending\", so it goes offline until AI moderation clears it. Example: { \"m2_gross\": 90 }."
    • changedInput schema / properties / price / description
      Previous value: -"New asking price as a plain number. Rejected with price_locked on a listing published by an assistant. To change a salary range use details.salary_min and details.salary_max. Example: 950."New value: +"New asking price as a plain number. To change a salary range use details.salary_min and details.salary_max. Example: 950."
  5. Changed12 schema fields changed
    • removedInput schema / properties / details / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  }
      -]
    • addedInput schema / properties / details / additionalProperties / type
      Added value: +[
      +  "string",
      +  "number",
      +  "boolean"
      +]
    • removedOutput schema / properties / listing / properties / currency / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / listing / properties / currency / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / listing / properties / price / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / listing / properties / price / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / listing / properties / status / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / listing / properties / status / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / listing / properties / title / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / listing / properties / title / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / listing / properties / vertical / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / listing / properties / vertical / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  6. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  7. Changed9 schema fields changed
    • addedInput schema / properties / currency / description
      Added value: +"New ISO-4217 currency code. Rejected with price_locked on a listing published by an assistant. Example: \"EUR\"."
    • addedInput schema / properties / description / description
      Added value: +"New full listing text, up to 5000 characters. Returns the listing to \"pending\". Example: \"Bright flat on the third floor, five minutes from the metro.\""
    • addedInput schema / properties / details / description
      Added value: +"Vertical-specific attributes to change. Only these exact keys for the listing's vertical are accepted; any other key is rejected with an error. career: organization_name, employment_type, salary_min, salary_max, years_experience. real_estate: property_room_count, m2_gross, m2_net, building_age, floor_number, heating_type, deposit, dues, is_furnished, is_student_friendly, is_credit_eligible, tapu_status. vehicle: brand, model, vehicle_model_year, vehicle_mileage_km, fuel_type, gear_type, color, damage_status, daily_price, deposit. service: service_category. employment_type is one of full_time, part_time, contract, freelance, internship. is_furnished, is_student_friendly and is_credit_eligible are booleans. Any details edit returns the listing to \"pending\", so it goes offline until AI moderation clears it. On a listing published by an assistant, salary_min, salary_max, deposit and daily_price are locked and rejected with price_locked. Example: { \"m2_gross\": 90 }."
    • addedInput schema / properties / listing_id / description
      Added value: +"Listing id, taken from the `id` field of search_listings, semantic_search or list_my_listings results. Example: \"adzuna-us-5947308680\"."
    • changedInput schema / properties / location / description
      Previous value: -"New listing coordinates { lat, lon }. Moving a listing re-triggers AI moderation — it returns to \"pending\" until cleared."New value: +"New listing coordinates { lat, lon }. Moving a listing re-triggers AI moderation — it returns to \"pending\" until cleared. Example: { \"lat\": 48.85, \"lon\": 2.35 }."
    • addedInput schema / properties / location / properties / lat / description
      Added value: +"Latitude in decimal degrees. Example: 48.85."
    • addedInput schema / properties / location / properties / lon / description
      Added value: +"Longitude in decimal degrees. Example: 2.35."
    • addedInput schema / properties / price / description
      Added value: +"New asking price as a plain number. Rejected with price_locked on a listing published by an assistant. To change a salary range use details.salary_min and details.salary_max. Example: 950."
    • addedInput schema / properties / title / description
      Added value: +"New headline, 3-200 characters. Returns the listing to \"pending\". Example: \"Two-bedroom flat near the river\"."
  8. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "listing": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "currency": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "price": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "status": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "title": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "vertical": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "listing"
      +  ],
      +  "type": "object"
      +}
  9. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the operational consequences an agent actually needs: owner-only authorization, no credit charge, per-field moderation consequences (title/description/location/details send the listing to 'pending' and offline until AI moderation clears, price/currency-only stay live), an instruction to warn the user first, and the return shape { success, listing }.

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?

Well front-loaded: identity/scope first, triggers second, exclusions third, side effects last. It is dense but nearly every clause is load-bearing; the main cost is a long dash-chained sentence covering exclusions and moderation that takes a careful read to parse.

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

Completeness5/5

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

For a 7-parameter mutation with a nested vertical-specific details object, the description supplies everything an agent needs to choose the tool, avoid the wrong sibling, and warn the user about the offline window. Return values are covered by an output schema, yet the description still summarizes them without redundancy.

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?

Schema coverage is 100% and the details object self-documents its per-vertical keys, so the schema carries most of the weight. The description still adds cross-parameter behavior the schema states only piecemeal: grouping price/currency edits as live-versus-stay-pending, and reiterating that vertical/intent_type/role cannot be changed here at all.

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 opens with a specific verb+resource+scope: 'Edit fields (title, description, price, currency, location, details) on one of the USER'S OWN listings, identified by listing_id.' Ownership is capitalized, the editable surface is enumerated, and the tool is clearly separated from image, status, and renewal siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete trigger examples ('drop the price to 900', 'fix the typo in the title') and then explicitly excludes photos (update_listing_images), sold/hidden (set_listing_status), expiry (renew_listing), and fixed fields like vertical/intent_type/role with the alternative action 'publish a new listing instead'. When-to-use and when-not-to-use are both stated, with named 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