Skip to main content
Glama

Coinage

Update listing

update_listing

Edit the seller's draft or active listing, or publish it once it has a photo. Requires scope listings:write. The same prohibited-item rules as create apply. Quantity other than 1 and expiry fields are rejected.

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

Input Schema

NameRequiredDescriptionDefault
gpsNoA map pin near the ZIP, or null to use the ZIP center.
zipNo
titleNo
publishNoSet true to make a drafted listing public. Requires at least one photo.
listingIdYes
floorPriceNo
askingPriceNo
descriptionNo
removePhotoIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so safety profile is largely covered. The description adds real value with the auth scope requirement and the publish gating condition (at least one photo), but it does not disclose whether updates are partial or full-replace, what happens to omitted fields, or what is returned, which matters for a mutation with 9 parameters.

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?

Four short sentences, front-loaded with the action and scope, and no filler. The closing sentence about 'expiry fields' is slightly cryptic since no such field appears in the schema, which costs a point.

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?

For a 9-parameter mutation with no output schema, the description covers auth, publish prerequisites, and validation rejections, but leaves the update semantics (patch vs replace), photo removal limits, and return behavior unspecified. Adequate but with clear gaps given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 22% out of 9 parameters, so the description must compensate and largely does not. It clarifies publish's photo prerequisite, but that is already stated in the schema, and its discussion of quantity and expiry fields refers to fields absent from the schema, while zip, title, prices, description, and removePhotoIds get no additional meaning.

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?

States a specific verb and resource ('Edit the seller's draft or active listing') plus the publish action, which separates it from create_listing and from add_listing_photo. It never names a sibling tool outright, but the reference to 'the same prohibited-item rules as create apply' anchors it against the creation path.

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?

Gives clear conditions: use on a draft or active listing, and set publish only once the listing has a photo. The required scope (listings:write) and the rejection rules (quantity other than 1, expiry fields) give further when/when-not context, though it does not point to a specific alternative for cases this tool cannot handle.

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