Skip to main content
Glama

Sell Ltd Marketplace

publish_listing

DestructiveIdempotent

Make the advert public using the owner’s explicitly delegated listings:publish permission. Trial/payment and all publication checks apply. Requires connected account authorization with listings: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": {
      "listingId": "<listingId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "publish_listing"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
okYes
slugYes
listingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds value beyond that by disclosing the authorization model (delegated listings:publish scope, connected account) and the fact that trial/payment and publication checks gate the operation — real consequences an agent cannot read from the annotations.

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?

Three short sentences, front-loaded with the action and effect before the permission and check details. There is no filler, though the final sentence's authorization requirement partially repeats the first sentence's permission clause.

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?

An output schema exists, so return values need not be described, and the annotations cover idempotency and destructiveness. Combined with the description's coverage of permissions and publication checks, an agent has enough to call this correctly, with the unexplained listingId parameter the only notable remaining gap.

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 coverage is only 50%: idempotencyKey is well documented in the schema, but listingId has no description at all beyond format uuid. The description never explains that listingId identifies the advert to publish or what happens if it references a listing that fails checks, so it does not compensate for the documentation gap.

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 opens with a specific verb and resource: "Make the advert public", which tells an agent exactly what effect to expect. It is clear enough to distinguish from read-side siblings like get_listing, but it never names the inverse operation (pause_listing) or the likely prerequisite (validate_listing), so sibling differentiation is left implicit.

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?

Usage preconditions are stated concretely: the caller needs the owner's explicitly delegated listings:publish permission, a connected account authorized for that scope, and passing trial/payment and publication checks. That is clear context for when the call will succeed, but there is no explicit statement of when to choose this over pause_listing or whether validate_listing should be run first.

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