Skip to main content
Glama

Update Income

update_income
Destructive

Met à jour un revenu locatif existant. Seuls les champs fournis sont modifiés (mise à jour partielle). Le montant est en euros.

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

Input Schema

NameRequiredDescriptionDefault
notesNoNotes libres
amountNoMontant TTC en euros
sourceNoPlateforme source : airbnb, booking, abritel, direct, other
tva_rateNoTaux de TVA en pourcentage (ex: 20 pour 20%)
income_idYesIdentifiant du revenu à mettre à jour
paid_dateNoDate d'encaissement au format Y-m-d, pour mémoire : la recette compte à sa date (income_date). null l'efface
guest_nameNoNom du voyageur
income_dateNoDate du revenu au format Y-m-d
tourist_taxNoTaxe de séjour en euros (ex: 2.50)
checkin_dateNoDate d'arrivée au format Y-m-d
platform_feeNoCommission plateforme en euros
checkout_dateNoDate de départ au format Y-m-d
reservation_refNoRéférence de réservation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / paid_date
      Added value: +{
      +  "description": "Date d'encaissement au format Y-m-d, pour mémoire : la recette compte à sa date (income_date). null l'efface",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed12 schema fields changed
    • addedInput schema / properties / amount / description
      Added value: +"Montant TTC en euros"
    • addedInput schema / properties / checkin_date / description
      Added value: +"Date d'arrivée au format Y-m-d"
    • addedInput schema / properties / checkout_date / description
      Added value: +"Date de départ au format Y-m-d"
    • addedInput schema / properties / guest_name / description
      Added value: +"Nom du voyageur"
    • addedInput schema / properties / income_date / description
      Added value: +"Date du revenu au format Y-m-d"
    • addedInput schema / properties / income_id / description
      Added value: +"Identifiant du revenu à mettre à jour"
    • addedInput schema / properties / notes / description
      Added value: +"Notes libres"
    • addedInput schema / properties / platform_fee / description
      Added value: +"Commission plateforme en euros"
    • addedInput schema / properties / reservation_ref / description
      Added value: +"Référence de réservation"
    • addedInput schema / properties / source / description
      Added value: +"Plateforme source : airbnb, booking, abritel, direct, other"
    • addedInput schema / properties / tourist_tax / description
      Added value: +"Taxe de séjour en euros (ex: 2.50)"
    • addedInput schema / properties / tva_rate / description
      Added value: +"Taux de TVA en pourcentage (ex: 20 pour 20%)"
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The destructiveHint=true annotation is offset by the genuinely useful disclosure that only supplied fields are changed (partial update), so an agent knows an omitted field is preserved rather than wiped. Field-level clearing behavior is left to the schema (e.g. paid_date 'null l'efface'), and permissions or error behavior are not disclosed.

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?

Three short sentences, front-loaded with the core action, with no filler. The partial-update clause is the most valuable sentence and sits immediately after the purpose statement.

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

Completeness3/5

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

For a 13-parameter mutation with full schema coverage and no output schema, the schema does most of the work, but the description says nothing about failure modes, return value, or permission requirements, which matters given destructiveHint=true.

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 every one of the 13 parameters is already documented in the schema, setting the baseline at 3. The description's 'montant en euros' largely restates the schema's 'Montant TTC en euros', adding little beyond the partial-update semantics already credited under behavioral transparency.

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?

States a specific verb and resource ('Met à jour un revenu locatif existant'), making clear this modifies an existing record rather than creating one, which distinguishes it from create_income. It does not explicitly name or route against siblings such as update_expense, but the resource is unambiguous.

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?

The word 'existant' and the requirement of an income_id imply this is for records already created, but there is no explicit when-to-use guidance, no mention of what to do when the record does not exist, and no comparison to alternatives like create_income or update_expense.

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.