Skip to main content
Glama

create_listing

Publish a NEW listing on behalf of the user across any of the 4 verticals and 12 roles. Use it only when the user clearly asks to post something — sell or rent out an item or home, advertise a job, publish a CV, offer or request a service. Do not use it to change an existing listing (update_listing, update_listing_images, set_listing_status) or to look for listings (search_listings). Recommended order: get_entitlements → resolve the address to coordinates → optionally request_image_upload and upload each photo → create_listing. location must be coordinates ({ lat, lon }) — a free-text address is not accepted, so geocode it first. Publishing needs a free listing slot and may consume credits (included listings cost none); get_entitlements reports the slots, credit cost and balance. A reached limit makes this return an ACTIVE_LISTING_LIMIT_REACHED error carrying a pay_url. Held for AI moderation (status starts "pending"); any credits spent are refunded if rejected, EXCEPT for prohibited or spam content, which forfeits the credit. To attach photos, first call request_image_upload for each image, upload the bytes, and pass the returned keys in images — a key with no uploaded file fails with image_not_uploaded, and every image is AI-moderated with the text before going live. Requires the user to be connected to Teppek: an anonymous call returns an AUTH_REQUIRED error with an authorize_url — surface "Connect with Teppek" to the user, then retry.

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": {
      "vertical": "<vertical>",
      "role": "<role>",
      "title": "<title>",
      "price": "<price>",
      "currency": "<currency>",
      "location": "<location>"
    },
    "name": "create_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe listing role — this alone fixes supply vs demand (do not send intent_type). vehicle_letter = you OWN the vehicle and are renting it OUT (lessor); for a user who WANTS to rent a vehicle use vehicle_renter. Likewise estate_landlord (renting out) vs estate_renter (wants to rent), estate_seller vs estate_buyer, career_employer (posting a job) vs career_seeker (a CV), service_pro (offering) vs service_client (wants a service).
priceYesAsking price as a plain number in `currency`, with no separators. For a job, use the salary figure and put the range in details.salary_min and details.salary_max. Example: 950.
titleYesShort headline of the listing, 3-200 characters. Example: "Two-bedroom flat near the river".
imagesNoUp to 6 image keys returned by request_image_upload, uploaded before this call. Example: ["7c9e6679-7425-40de-944b-e07fc1f90ae7"].
detailsNoVertical-specific attributes. 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: transaction_type (sale|rent|hire), 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: transaction_type (sale|rent|hire), 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). Example: { "brand": "Toyota", "model": "Corolla", "vehicle_model_year": 2021, "vehicle_mileage_km": 40000, "fuel": "hybrid", "gear": "manual", "body": "sedan", "features": ["rear_camera", "navigation"] }.
currencyYesISO-4217 currency code matching the listing country (e.g. USD, EUR, GBP, TRY). Required — there is no default, to avoid silently mislabeling non-Turkish listings.
locationYesListing coordinates as { lat, lon }. A free-text address is NOT accepted — resolve it to coordinates before calling. Example: { "lat": 48.85, "lon": 2.35 }.
verticalYesListing category, which must match the role: career (jobs and CVs), real_estate, vehicle or service. Example: "vehicle".
descriptionNoFull listing text, up to 5000 characters. Facts that fit a `details` key belong in details as well. Example: "Bright flat on the third floor, five minutes from the metro."

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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. 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. real_estate also accepts transaction_type (sale, rent or hire). Example: { \"brand\": \"Toyota\", \"model\": \"Corolla\", \"vehicle_model_year\": 2021, \"vehicle_mileage_km\": 40000, \"fuel_type\": \"hybrid\", \"gear_type\": \"manual\" }."New value: +"Vertical-specific attributes. 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: transaction_type (sale|rent|hire), 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: transaction_type (sale|rent|hire), 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). Example: { \"brand\": \"Toyota\", \"model\": \"Corolla\", \"vehicle_model_year\": 2021, \"vehicle_mileage_km\": 40000, \"fuel\": \"hybrid\", \"gear\": \"manual\", \"body\": \"sedan\", \"features\": [\"rear_camera\", \"navigation\"] }."
  2. 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"
  3. Changed2 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"
      +]
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. Changed9 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"Full listing text, up to 5000 characters. Facts that fit a `details` key belong in details as well. Example: \"Bright flat on the third floor, five minutes from the metro.\""
    • addedInput schema / properties / details / description
      Added value: +"Vertical-specific attributes. 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. real_estate also accepts transaction_type (sale, rent or hire). Example: { \"brand\": \"Toyota\", \"model\": \"Corolla\", \"vehicle_model_year\": 2021, \"vehicle_mileage_km\": 40000, \"fuel_type\": \"hybrid\", \"gear_type\": \"manual\" }."
    • addedInput schema / properties / images / description
      Added value: +"Up to 6 image keys returned by request_image_upload, uploaded before this call. Example: [\"7c9e6679-7425-40de-944b-e07fc1f90ae7\"]."
    • changedInput schema / properties / location / description
      Previous value: -"Listing coordinates as { lat, lon }. A free-text address is NOT accepted — resolve it to coordinates before calling."New value: +"Listing coordinates as { lat, lon }. A free-text address is NOT accepted — resolve it to coordinates before calling. 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: +"Asking price as a plain number in `currency`, with no separators. For a job, use the salary figure and put the range in details.salary_min and details.salary_max. Example: 950."
    • addedInput schema / properties / title / description
      Added value: +"Short headline of the listing, 3-200 characters. Example: \"Two-bedroom flat near the river\"."
    • addedInput schema / properties / vertical / description
      Added value: +"Listing category, which must match the role: career (jobs and CVs), real_estate, vehicle or service. Example: \"vehicle\"."
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  7. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare only write/open-world/non-idempotent/non-destructive, and the description goes well beyond them: credit consumption and free-slot requirement, ACTIVE_LISTING_LIMIT_REACHED with a pay_url, pending AI moderation, and a refund policy that is forfeited for prohibited or spam content. It also discloses the image_not_uploaded failure mode and the AUTH_REQUIRED/anonymous-call behavior with an authorize_url the agent should surface to the user.

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?

The paragraph is front-loaded with purpose, then exclusions, then workflow, then failure modes — a sensible ordering with no filler sentences. It is dense and long for a single block, and a bulleted workflow/edge-case split would scan faster, but every sentence carries operative information.

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 9-parameter, nested-object, high-stakes write tool, the description covers the prerequisites (auth, credits, geocoding, image upload), the moderation lifecycle, and the recoverable error paths. An output schema exists, so return-value detail is correctly omitted.

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%, so the baseline is 3, but the description adds procedural meaning the schema does not: `location` must be geocoded to coordinates beforehand because free-text addresses are rejected, and `images` must contain keys produced by a prior request_image_upload whose bytes were actually uploaded. Those are cross-tool preconditions rather than mere restatements of field docs.

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 opening sentence names a specific verb and resource ("Publish a NEW listing") and bounds scope ("across any of the 4 verticals and 12 roles"). It is immediately distinguishable from update_listing, set_listing_status, and search_listings, which are named in the next sentence.

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?

Explicit when-to-use ("only when the user clearly asks to post something — sell or rent out an item or home, advertise a job, publish a CV, offer or request a service") and explicit when-not-to-use, naming three mutation siblings and the search sibling. It also prescribes a recommended call sequence (get_entitlements → geocode → request_image_upload → create_listing).

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