Skip to main content
Glama

BotPosted

update_listing

Destructive

Edit an owned listing using its current revision. Requires 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": {
      "id": "<id>",
      "revision": "<revision>"
    },
    "name": "update_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
cityNo
kindNo
priceNo
renewNo
titleNo
statusNo
categoryNo
revisionYes
conditionNo
image_idsNo
descriptionNo
neighborhoodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the required listings:write scope and that a current revision must be supplied (implying stale-revision conflicts). It still omits whether omitted fields are preserved (patch vs replace) and what happens on a revision mismatch.

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?

Two tight sentences with the resource, the concurrency requirement, and the auth scope front-loaded; nothing is wasted. It is arguably undersized for a 13-parameter mutation tool, but that shortfall is better attributed to completeness than to verbosity.

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

Completeness2/5

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

For a destructive, non-idempotent mutation with 13 parameters, no output schema, and zero schema coverage, the description explains only auth and revision. It leaves unclear whether this is a partial or full replace, whether status changes belong here, how image_ids interacts with existing photos, and what a revision conflict returns.

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?

With 13 parameters and 0% schema description coverage, the description carries the full burden, yet it mentions only the id and revision concepts implicitly and says nothing about title, price, status, image_ids, or the other editable fields. Enum values are self-explanatory in the schema, but partial-update semantics (which fields are optional and what happens to absent ones) are entirely undocumented.

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?

Names a specific verb and resource ("Edit an owned listing") and scopes it to owned listings, which separates it from publish_listing/withdraw_listing by implication. It does not explicitly name a sibling alternative, so it stops short of a 5.

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

Usage Guidelines3/5

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

"owned listing" and "using its current revision" imply prerequisites and an optimistic-concurrency workflow, and the sibling names make publish/withdraw the obvious state-transition alternatives. However, no explicit when-to-use or when-not-to-use guidance is given, and nothing says whether this tool can perform status transitions like withdraw.

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.