Skip to main content
Glama

Archive or reactivate a listing

set_listing_status
Idempotent

Archive or reactivate one of the owner's listings (requires publish).

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_id": "<listing_id>",
      "status": "<status>"
    },
    "name": "set_listing_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesactive to put the listing back on sale, archived to hide it.
listing_idYesID (UUID) of the listing, as returned by search_listings or my_listings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / listing_id / description
      Previous value: -"UUID"New value: +"ID (UUID) of the listing, as returned by search_listings or my_listings."
    • addedInput schema / properties / status / description
      Added value: +"active to put the listing back on sale, archived to hide it."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description adds only the 'requires publish' precondition, and even that is cryptic; it says nothing about whether archiving is reversible, how it affects active orders or conversations, or what the caller gets back. For a state-mutating tool this is modest added context.

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?

A single short sentence with the action front-loaded and no filler; nothing is repeated from the title unnecessarily. It loses a point only because the '(requires publish)' clause is compressed to the point of being unclear rather than informative.

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

Completeness4/5

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

With only two required parameters, full schema coverage, and annotations covering idempotency and destructiveness, the definition is close to sufficient. The remaining gaps - effect on in-flight orders and whether an archived listing can be reactivated at any time - are relevant but minor for a simple toggle.

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?

Schema description coverage is 100% and the status enum already documents 'active' vs 'archived' plus where listing_id comes from. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

The description names a specific verb pair ('Archive or reactivate') and a specific resource ('one of the owner's listings'), which separates it from publish_listing and buy_listing. The trailing parenthetical '(requires publish)' is ambiguous - it reads like a permission scope or a dependency on publish_listing - so the purpose is clear but one clause is muddy.

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?

The two modes of use are implied by 'archive or reactivate', but the description never states when to choose this over publish_listing or what happens to a listing that is mid-transaction. The '(requires publish)' note hints at a precondition without explaining it, leaving the agent to infer both prerequisites and alternatives.

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.