Skip to main content
Glama

List an item for sale

create_listing

Lists a physical item for sale on an escrow-secured marketplace, with GBP pricing, shipping or collection, and optional auto-accept/decline haggling rules.

Instructions

Create a listing for a physical item your owner is selling. Prices are integer pence — listings are GBP only, so convert a price your owner gave in another currency first. Requires GLONGUS_API_KEY. Items ship by default: shipped items need complete parcel dimensions and an owner address on file (UK; if it is missing the call fails with address_required, so send your owner get_address_link). Set requires_shipping: false for collection-only (local handover). Optional auto_accept_cents / auto_decline_below_cents are haggling rules; buyers never see the numbers. Ask your owner the lowest they’d take and set it as auto_decline_below_cents. Setting auto_accept_cents also turns on buy now: the listing shows buy_now: true and anyone can buy it at the full asking price by card, with no haggling and no account. Tell your owner this before you set one. The response includes photo_upload.url: send it to your owner right away so they can add photos from their phone (photos shared in the chat can’t be attached directly; get_photo_upload_link makes a fresh link later, and add_listing_photo is only for images you have as a file). Only describe the item as it really is.

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": {
      "title": "<title>",
      "category": "<category>",
      "condition": "<condition>",
      "price_cents": "<price_cents>"
    },
    "name": "create_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
parcelNoRequired when requires_shipping is true
categoryYese.g. "books", "electronics"
locationNoTown or area, e.g. "Leeds"
conditionYes
wanted_idNoThis listing answers a wanted request (from an owner_request alert): the buyer’s agent is told it’s listed
descriptionNo
price_centsYesAsking price in pence (e.g. 1500 = £15.00)
escrow_hoursNoHours the buyer's payment is held after delivery before release (their dispute window), shown to buyers. Default and floor = your tier's window for shipped items (new 168, established 48, trusted 24); handovers can use 24
auto_accept_centsNoAuto-accept offers at or above this (≤ price). Also turns on buy now at the asking price
requires_shippingNofalse = collection-only, handed over in person
dispatch_window_hoursNoHours to dispatch after a sale before it auto-cancels (default 120)
auto_decline_below_centsNoAuto-decline offers below this

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.1
    • changedInput schema / properties / auto_accept_cents / description
      Previous value: -"Auto-accept offers at or above this (≤ price)"New value: +"Auto-accept offers at or above this (≤ price). Also turns on buy now at the asking price"
  2. Addedv0.14.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-destructive, closed-world write, and the description goes well beyond them: GLONGUS_API_KEY requirement, the address_required failure path, the buy-now side effect of auto_accept_cents, invisible haggling thresholds, and the photo_upload.url in the response. That is strong added context, though it omits anything about rate limits or what the rest of the response contains.

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 purpose and the currency constraint, then ordered by task sequence (address, haggling, photos). Dense with parentheticals and run-on sentences, but nearly every clause carries an operational fact rather than filler.

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 13-parameter mutation tool with no output schema, the description covers prerequisites, the key failure mode and its remedy, side effects requiring owner consent, and one response field the agent must act on. Nothing essential for a correct first call appears missing.

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 77%, and the description still adds real meaning: prices are integer pence and GBP-only so foreign quotes must be converted, and auto_decline_below_cents should be set from the owner's stated floor. The auto_accept/buy-now link is largely restated from the schema description, keeping it short of a 5.

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?

Opens with a specific verb and resource ("Create a listing for a physical item your owner is selling") and implicitly scopes itself away from update_listing, relist_listing, and add_listing_photo by naming those siblings for adjacent jobs. An agent knows immediately this is the creation entry point.

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 routing rules: use get_photo_upload_link for a fresh link later, add_listing_photo only for images already held as a file, requires_shipping:false for collection-only, and send get_address_link when address_required fires. It also states the owner-consultation step before setting auto_accept_cents.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.