Skip to main content
Glama

Sell Ltd Marketplace

save_listing

Idempotent

Create or patch an owned draft with all supplied details. Requires listings:write. Never publishes. An existing draft requires id and expectedVersion. Requires connected account authorization with listings:write.

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": "<listing>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "save_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingYes
idempotencyKeyYesUnique operation key. Reuse this value when retrying the identical request.

Output Schema

NameRequiredDescriptionDefault
idYes
slugNo
mediaYes
regionNo
sectorNo
statusNo
summaryNo
versionNo
headlineNo
categoriesNo
asking_priceNo
company_nameNo
teaser_summaryNo
confidentialityNo
advertising_untilNo
asking_price_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (which only tell the agent this is a non-destructive, idempotent write), it discloses the required scope listings:write, the connected-account authorization requirement, and the optimistic-concurrency rule (id + expectedVersion). It never says what happens on a version conflict, but the concurrency and auth disclosures are substantive additions the annotations do not carry.

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 core action and four short, scannable sentences. It loses a point for stating the authorization requirement twice ("Requires listings:write" and then "Requires connected account authorization with listings:write").

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

Completeness3/5

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

Auth, draft-vs-publish boundary, and versioning are covered, and the output schema handles return values. But for a tool whose payload is a large nested object with no field-level documentation anywhere, the description should clarify merge/replace and null-clearing semantics; that gap matters for correct invocation.

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?

It adds real meaning the schema lacks, namely that id and expectedVersion are conditionally required for patching, since the schema marks neither as required. However, "with all supplied details" says nothing about the ~34-field nested listing object — whether supplied fields merge, replace, or how nulls are treated — so most of the payload semantics remain undocumented.

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 states a specific verb pair and resource ("Create or patch an owned draft") and scopes it precisely with "Never publishes," which separates it from publish_listing. An agent can pick this tool over its siblings without inspecting 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?

It gives the create-vs-patch condition explicitly ("An existing draft requires id and expectedVersion") and states the create path is draft-only, implying publish_listing is the escalation path. It stops short of naming validate_listing or publish_listing as prerequisites/next steps, so the routing is clear but not fully prescriptive.

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