Skip to main content
Glama

SPACEXPLORATION

Publish listing

publish_listing
Destructive

Kick off the publish pipeline for a draft listing. Enriches with AI, gathers market data, then transitions the listing to Active. Returns the pipeline ID to track progress, plus suggestions — non-blocking fixes (a flyer as the cover photo, a placeholder address, an unusual cap rate) to pass on to the user. Fails with the unmet readiness checklist if the listing is not ready. When photos hold it back, photos_to_review lists each one with its reason, and owner_can_keep marks a photo held only for an MLS or listings-site watermark: ask the user whether they own or have the rights to it, and if so send them to editor_url to confirm it there, since only they can.

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": {
      "hashid": "<hashid>"
    },
    "name": "publish_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashidYesHashid of the listing to publish.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true; the description adds real substance beyond that — external market lookups, AI enrichment, a state transition to Active, a readiness-checklist failure mode, and the non-blocking `suggestions` payload. The one gap is reversibility: it never says whether a publish can be undone (withdraw_listing exists as a sibling), which matters for a destructiveHint tool.

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?

Purpose is front-loaded in the first sentence, and the follow-on sentences each earn their place by covering returns and failure handling. It is dense and slightly run-on in the photo/watermark sentence, but no sentence is filler.

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

Completeness5/5

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

There is no output schema, so the description must explain return values — and it does, naming the pipeline ID, `suggestions`, `photos_to_review`, `owner_can_keep`, and `editor_url` along with the user action each implies. Combined with the documented failure mode, an agent has everything needed to call it and act on the response.

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?

Only one parameter and schema coverage is 100%, so the schema already carries the meaning of `hashid`. The description adds the useful constraint that it must be a draft listing, but nothing about hashid format or sourcing beyond that — baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Kick off the publish pipeline for a draft listing') and spells out the consequential effects (AI enrichment, market data gathering, transition to Active), which lets an agent separate it from get_publish_status, update_listing, and withdraw_listing without inspecting schemas.

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 context is clear: it applies to a draft listing that is ready, and the returned pipeline ID points the agent to a status-tracking path. It does not explicitly name get_publish_status or state when NOT to publish, so the routing is implied rather than spelled out.

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