Skip to main content
Glama
manganate006

OpenLMNP

Update Expense

update_expense
Destructive

Update an existing operating expense with partial field changes; only supplied values are modified, keeping others intact. Amounts are in euros.

Instructions

Met à jour une charge d'exploitation existante. Seuls les champs fournis sont modifiés (mise à jour partielle). Le montant est en euros.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
amountNo
categoryNo
tva_rateNo
expense_idYes
descriptionNo
expense_dateNo
is_dedicatedNo
recurring_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

The description adds valuable behavioral context beyond the destructiveHint annotation by clarifying that only provided fields are modified (partial update) and that amounts are in euros. This helps the agent understand the tool's behavior, though it does not disclose error handling or return value specifics.

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?

The description is concise—two sentences—and front-loaded with the primary action first. Every sentence adds meaningful information without redundancy.

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?

The tool has 9 parameters and no output schema, yet the description only covers the partial update concept and currency. It does not specify return behavior, error cases, or validation rules, leaving the agent without a complete picture of the tool's behavior.

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?

With 0% schema description coverage, the description partially compensates by stating that only provided fields are updated and that amount is in euros. However, it does not explain the meaning of fields like category, tva_rate, is_dedicated, or recurring_type, leaving many parameters underspecified.

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 clearly states the tool 'updates an existing operating expense' (Met à jour une charge d'exploitation existante), identifying both the action (update) and the resource (expense). It distinguishes from siblings like create_expense and delete_expense by explicitly saying 'existing' and specifying partial update.

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?

The description implies usage for modifying an existing expense, and the partial update note clarifies when to use (to change specific fields). However, it does not explicitly state when not to use or provide alternative tools such as create_expense or delete_expense, so it falls short of full usage guidance.

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