Skip to main content
Glama

Publish ads

kleinanzeigen_publish_ads

Publishes local ad files to Kleinanzeigen, writes each new ad ID back to the file, and can republish existing ads to push them up.

Instructions

Publishes local ads on Kleinanzeigen so everybody can see them. New ads get an id, which is written back into the ad file. republish: true re-posts ads that are already online (new id, the old ad is deleted) to push them up. To change an online ad in place use kleinanzeigen_update_online_ads. This can take a few minutes.

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": {
      "ads": "<ads>"
    },
    "name": "kleinanzeigen_publish_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
adsYesNames of local ads (see kleinanzeigen_list_local_ads).
confirmNoOnly needed when the client cannot show a confirmation dialog: set to true after the user explicitly approved this action.
republishNo

Output Schema

NameRequiredDescriptionDefault
okYes
adsNo
errorsYesWarning and error lines from the bot.
summaryNoThe bot's "DONE: …" line.
log_tailYesLast lines of the bot log.
exit_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior1/5

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

The description adds useful details such as writing new IDs back to ad files and the time the operation may take. However, it says that republish deletes the old ad, while annotations declare destructiveHint=false, which is a direct contradiction.

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?

Four short sentences with no filler: purpose first, then ID write-back, republish mechanics, the alternative sibling, and a timing expectation.

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-value details are not required. The description covers the key publish behavior, ID write-back, republish side effects, timing, and the update alternative; confirmation is left to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is moderate and the schema itself documents ads and confirm. The description adds essential meaning for republish that is absent from the schema: it creates a new ID, deletes the old ad, and bumps the listing.

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 the specific verb 'publishes' and resource 'local ads', plus the outcome that they become publicly visible. It also distinguishes republish behavior from in-place updating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use republish and directs in-place changes to kleinanzeigen_update_online_ads. This gives clear routing between publishing and updating.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.