Skip to main content
Glama

Delete a local ad

kleinanzeigen_delete_local_ad
DestructiveIdempotent

Deletes a local ad folder, including its YAML file and copied images, from the workspace without affecting the live Kleinanzeigen ad; use the online delete tool to remove the published ad.

Instructions

Deletes an ad folder (YAML and copied images) from the workspace. It does not touch the ad on Kleinanzeigen; use kleinanzeigen_delete_online_ads for that.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the ad folder in the workspace (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
nameYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description still adds real value by naming exactly what is removed (the YAML file plus copied images) and clarifying the operation is workspace-local rather than remote, which prevents a costly misread of a destructive tool.

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 zero filler: the first defines the action and its payload, the second draws the boundary and names the alternative. Front-loaded and directly actionable.

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 two-parameter destructive tool with full annotation coverage and an output schema, the description supplies the essential scope distinction and the local-vs-remote caveat. Only the confirmation flow's practical implication (the `confirm` fallback path) is left entirely to the schema, which is acceptable given its clear documentation.

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 coverage is 100%, with both `name` and `confirm` fully documented including the validation pattern and confirmation semantics. The description adds nothing about parameters beyond pointing at kleinanzeigen_list_local_ads via the schema, so the schema carries the burden and baseline 3 applies.

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 ('Deletes an ad folder (YAML and copied images) from the workspace') and immediately delimits scope against the online counterpart. An agent can distinguish it from kleinanzeigen_delete_online_ads without inspecting either 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?

Explicitly names the alternative (kleinanzeigen_delete_online_ads) and the condition that selects it ('it does not touch the ad on Kleinanzeigen'), which is clear routing guidance. It stops short of stating when a local delete is appropriate at all (e.g. cleanup after publishing), so it is clear but not exhaustive.

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