Skip to main content
Glama

Update online ads

kleinanzeigen_update_online_ads
Idempotent

Update matching online ads with local file content while preserving their ID, age, and watcher count.

Instructions

Applies the current content of local ad files to the matching ads on Kleinanzeigen, in place (id, age and watchers stay).

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_update_online_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.

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

A3.5/5.0
Behavior3/5

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

The annotations already declare a non-destructive, idempotent, open-world write, so the bar is lower. The description adds real value by noting the update happens in place and preserves id, age and watchers. It stays silent on partial failures across the up-to-20 ad list and on whether fields missing from the local file are cleared or left untouched.

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?

A single front-loaded sentence with no filler, and the preservation guarantee is placed where it is immediately visible. It is efficient but so terse that it leaves scope and prerequisite questions unanswered.

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 are covered, and the description plus annotations convey the core write semantics. For a mutating sync tool, though, an explicit note on how unmatched names or partial failures are handled 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 both parameters (ads, confirm) are already documented and cross-referenced to kleinanzeigen_list_local_ads. The description adds no format, naming-constraint or batch-limit detail beyond what the schema states. Baseline 3 is appropriate.

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 and resource: it states that local ad file content is applied to the matching online ads. The parenthetical "in place (id, age and watchers stay)" clarifies the effect. It never names a sibling such as kleinanzeigen_update_ad, so the boundary against the per-field update tool must be inferred, which keeps this below a 5.

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?

Usage is only implied: it makes sense after local files change and the user wants to push that content online, but the description never states when to choose this over kleinanzeigen_update_ad, kleinanzeigen_publish_ads or kleinanzeigen_save_drafts. No exclusions or prerequisites are given, so the agent must work out when a bulk re-apply is preferable.

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