Skip to main content
Glama

BotPosted

publish_listing

Destructive

Publish a real offer or wanted post publicly only when the owner requested publication. 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": {
      "title": "<title>",
      "description": "<description>",
      "city": "<city>",
      "category": "<category>",
      "price": "<price>"
    },
    "name": "publish_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes
kindNo
priceYes
titleYes
categoryYes
conditionNo
image_idsNo
descriptionYes
neighborhoodNo
idempotency_keyNoReuse the same key and identical content on retries for 24 hours; changing content returns 409.

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?

The description adds two things annotations do not carry: the operation makes the post publicly visible (open world) and it needs the listings:write scope. However, it says nothing about irreversibility, what happens to the underlying draft/state after publishing, or the idempotency_key retry contract, even though the schema's 24-hour reuse rule governs whether a retry double-publishes. Useful context, but the mutation contract is still underspecified.

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 short sentences, front-loaded with the action and immediately followed by the consent gate and permission requirement; nothing is wasted. It is efficient rather than padded, though the word 'real' is doing vague work.

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 10-parameter destructive mutation with no output schema, the description covers purpose, consent precondition, and auth but leaves the agent without return-value expectations (e.g., resulting listing id/status/visibility) or retry behavior. Annotations supply the safety profile, which offsets some of the gap, but the parameter and outcome surface remains thin.

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 10 parameters at only 10% schema description coverage, the description must compensate and does not: it explains none of title, description, city, category, price, kind, condition, image_ids, or neighborhood. The only documented parameter, idempotency_key, is documented in the schema rather than the description, so this text adds zero parameter 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?

Specific verb ('publish') plus resource ('a real offer or wanted post') and an explicit scope word ('publicly'), which implicitly separates it from the draft-creation sibling. It never names a sibling alternative, so it falls short of a 5, but an agent can tell what the tool does without opening the schema.

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?

'only when the owner requested publication' is a real usage gate that prevents an agent from auto-publishing, and 'Requires listings:write' states a precondition. It gives no named alternatives (e.g., use create_draft to prepare, update_listing to amend) and no explicit when-not beyond the owner-consent rule, so it is clear context without full routing.

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.