Skip to main content
Glama

update_fee

Change a direct fee row; only the fields sent change. Read the current value with its read tool first; this call returns the value as it now stands.

Input Schema

NameRequiredDescriptionDefault
idYesBoat id, from list_boats.
amountNoEUR, or a percent when amount_is_percentage.
fee_idYesRow id, from list_boat_fees.
periodNoHow it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones.
categoryNo
requiredNotrue when every guest pays it.
valid_toNoYYYY-MM-DD
on_requestNo
valid_fromNoYYYY-MM-DD
descriptionNoThe fee as guests read it.
percentage_baseNoWhat the percentage is taken on; empty is the charter price.
calculation_typeNoHow it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`.
amount_is_percentageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this is a non-destructive write (readOnlyHint=false, destructiveHint=false). The description adds two meaningful traits beyond them: patch semantics (only sent fields change) and the return behavior ('returns the value as it now stands'). It omits permissions or idempotency details, keeping it from a 5.

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?

Front-loaded verb+resource followed by the essential qualifier, then read-first advice and return behavior. Three tight clauses with no filler, though the ordering could put the read-first prerequisite even earlier.

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 13-parameter mutation tool with no output schema, the description covers the critical gaps: patch semantics, a read-before-write workflow, and return behavior. It lacks error/idempotency notes but is otherwise sufficient for correct invocation.

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 77%, so the schema descriptions largely carry the parameter burden (id sourcing, amount units, period semantics). The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

The verb+resource is specific ('Change a direct fee row') and it clarifies the partial-update scope ('only the fields sent change'), which separates it from wholesale replacements. It does not explicitly name the sibling alternatives (add_fee, delete_fee, update_price), so it stops short of 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?

It gives a real prerequisite workflow ('read the current value with its read tool first'), which is genuine usage guidance. However, it never states when to choose update_fee over siblings like update_price or delete_fee, so the routing condition is only implied.

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.