Skip to main content
Glama

Modifier le tarif d'une annonce

update_my_listing
DestructiveIdempotent

Modifie le tarif et/ou la caution d'une annonce dont l'utilisateur connecté est propriétaire. Ne passez que les champs à changer. Règles : prix par jour > 0 €, caution ≥ 50 €, remise longue durée à partir de 2 jours et moins chère que le prix par jour. null désactive la livraison, l'accompagnement ou la remise. Renvoie l'avant/après. AVANT d'appeler cet outil, montrez à l'utilisateur l'annonce et les nouvelles valeurs, et attendez son accord explicite. Le titre, la description et les photos se modifient sur toolzy.io.

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

Input Schema

NameRequiredDescriptionDefault
depositNoNouvelle caution, en euros
listing_urlYesURL de l'annonce toolzy.io, ou son slug (list_my_listings)
price_per_dayNoNouveau prix de location par jour, en euros
coaching_priceNoPrix de l'accompagnement en euros, ou null pour ne plus le proposer
delivery_priceNoPrix de la livraison en euros, ou null pour ne plus la proposer
long_rental_discountNoRemise longue durée, ou null pour la supprimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (which only mark it as a destructive, idempotent write), the description discloses concrete validation constraints (price_per_day > 0, deposit ≥ 50, discount must start at 2+ days and be cheaper than the daily price), the meaning of null for delivery, coaching and discount, and that the tool returns a before/after snapshot. The human-approval requirement is significant behavioral context for a destructive operation that the annotations cannot convey.

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?

The text is front-loaded with purpose, then a compact 'Règles :' block, then the confirmation requirement and scope exclusions. Dense but every sentence carries operational meaning; only the restated null semantics overlap with the schema.

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?

For a six-parameter destructive mutation with no output schema, the definition supplies validation rules, null behavior, ownership scoping, a required pre-call confirmation step, and an indication of what is returned. An agent has everything needed to invoke it safely and correctly.

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 100%, so the baseline is 3, but the description adds at least one cross-field rule the schema cannot express: the long-rental discount price must be lower than the daily price. The null semantics for delivery/coaching/discount largely duplicate schema descriptions, so it does not fully clear the bar for a 5.

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?

The description opens with a specific verb and resource ('Modifie le tarif et/ou la caution d'une annonce') and narrows scope to listings the connected user owns. It also explicitly states which fields are NOT handled here ('Le titre, la description et les photos se modifient sur toolzy.io'), which separates it from other editing paths an agent might assume exist.

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?

It tells the agent to pass only the fields being changed, and adds a hard precondition: show the listing and new values to the user and wait for explicit approval before calling. It also points to list_my_listings as the source of the listing_url/slug and redirects out-of-scope edits elsewhere, leaving little to infer.

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.