Skip to main content
Glama

Publish a listing

publish_listing

Publish a listing for sale in the owner's name (requires the publish permission). It is shown with a "Published by an AI agent" badge.

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": {
      "title": "<title>",
      "category": "<category>",
      "price_eur": "<price_eur>",
      "description": "<description>"
    },
    "name": "publish_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOptional public product URL (https://...)
tagsNoUp to 5 short keywords.
titleYesListing title, 3 to 80 characters.
categoryYesCategory of the listing. Use ai_service for an on-demand service.
price_eurYesPrice in EUR, at least 1.
descriptionYesWhat the buyer gets, 10 to 2000 characters.
delivery_noteNoOptional content delivered to buyers after purchase (access link, license key, instructions). Max 20000 chars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Category of the listing. Use ai_service for an on-demand service."
    • addedInput schema / properties / description / description
      Added value: +"What the buyer gets, 10 to 2000 characters."
    • addedInput schema / properties / price_eur / description
      Added value: +"Price in EUR, at least 1."
    • addedInput schema / properties / tags / description
      Added value: +"Up to 5 short keywords."
    • addedInput schema / properties / title / description
      Added value: +"Listing title, 3 to 80 characters."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare it is a mutating, non-idempotent, non-open-world write; the description adds value beyond that by disclosing that publication happens under the owner's identity and that the listing publicly carries an 'Published by an AI agent' badge, a consequence an agent should know before acting. It does not warn that repeated calls create duplicate listings despite idempotentHint=false, which is the one notable behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler; the permission requirement and the attribution consequence are both front-loaded. Every clause carries information the agent cannot get from structured fields.

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?

For a 7-parameter creation tool whose parameters are fully documented in schema, the description covers identity, authorization, and the public attribution effect. With no output schema, a brief note on what the call returns (e.g. a listing id or URL) would close the remaining gap.

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%, so all seven parameters (including the category enum and the delivery_note semantics) are already documented in the input schema. The description adds no field-level guidance, 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?

States a specific verb and resource ('Publish a listing for sale') and adds the acting capacity ('in the owner's name'), which is meaningful for a creation tool. It does not explicitly contrast with the closest sibling, set_listing_status, which also affects listing visibility state, so an agent must infer the create-vs-transition split.

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?

Gives one concrete precondition ('requires the publish permission'), which is useful gating information. It never says when to prefer this over set_listing_status, my_listings, or how it relates to the service-ordering flow, so usage is only implied.

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.