Skip to main content
Glama

Free Agent Tools

Hotel OTA commission and direct-booking savings

hotel_ota_commission_calculator
Read-onlyIdempotent

For hotels, ryokan, guesthouses, and B&Bs: yearly room revenue, commission paid to OTAs (Booking.com, Expedia, Agoda...), commission as a share of revenue (HIGH / MED / LOW), and net savings from moving a share of OTA bookings to direct. Any currency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adrYesAverage daily rate per occupied room.
roomsYesNumber of rooms.
shiftNoPercent of OTA bookings moved to direct. Default 20.
otaShareNoPercent of room revenue booked via OTAs. Default 60.
occupancyNoAverage yearly occupancy percent. Default 70.
commissionNoAverage OTA commission percent. Default 18.
directCostNoCost of a direct booking as percent of revenue. Default 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile carries little weight here. Since there is no output schema, the description's listing of returned figures adds real value, but it says nothing about currency handling beyond 'any currency' or how defaults are applied.

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?

A single front-loaded sentence that opens with the target audience and then lists outputs. The OTA brand parenthetical ('Booking.com, Expedia, Agoda...') is somewhat expendable, but overall it is tight with no filler.

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?

With no output schema, the description compensates by enumerating the return values, which is what an agent most needs here. Combined with 100% schema coverage and clear read-only annotations, nothing essential is missing 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 description coverage is 100%, so all seven parameters are already documented with types, bounds, and defaults. The description references shift, commission, and net savings but adds no syntax, units, or format detail beyond what the schema provides, making the baseline 3 appropriate.

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 description names the audience (hotels, ryokan, guesthouses, B&Bs) and enumerates the computed outputs (yearly room revenue, OTA commission, HIGH/MED/LOW commission share, net savings from shifting to direct), so its purpose is unambiguous. No sibling overlaps this calculation domain, so explicit differentiation isn't needed, though the verb 'calculates' is only implied.

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?

Usage is implied by the audience framing — a hotel evaluating OTA commission burden uses this — but there is no explicit when-to-use statement, no prerequisites, and no named alternative among the sibling tools. The context is derivable but not stated.

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.