Skip to main content
Glama

Octobooks

Start, end, settle a trip; Fahrtenbuch

trip

A trip (round 693): one named period of one person; card payments of the company cards that person holds, receipts they scanned and their expense claims inside the window belong to it, and Trip ended closes it. action start: name, purpose (sales, marketing, investor, team, client, other), since_days and more_days (days before and after today), person (handle or name; default the person of this connection), client to re-invoice, headcount of a team trip. action more_day, end (on: a date, default today), reopen, change (name, purpose, client, headcount, ends_on). action put or take_out with target_type bank_line or document and target_id. action paid_by with document_id and by company or self. action pay_back: one expense claim of the person for the receipts they paid and did not claim, receipts attached, released as the owner's switches say. action invoice: a draft sales invoice to the client (or customer) with the trip's costs net of reclaimed VAT as lines, markup in percent, VAT by the customer's default. Fahrtenbuch (append only, a correction is a new entry): action logbook_on with vehicle and odometer; logbook_add with book_id, date, kind (business, private, commute), odometer_start, odometer_end or distance, from_place, to_place, route, purpose, partner, claim (business kilometres as a mileage claim); logbook_correct with entry_id, note and the fields to correct. action hint_yes (purpose, name) or hint_no with target_id the key of a trip proposed (the hints of the trips list): a flight, hotel or train on a card line or a scanned receipt opens the trip with its days. Per diem (round 724): action per_diem: the day and overnight allowances by the official table of the company's country (UK HMRC benchmark and overseas scale rates, German § 9 Abs. 4a EStG and the BMF table for 2026, Austrian § 26 Z 4 EStG and the Auslandsreisesätze) with the source of every figure; per_diem_set with country (the table's name or a two letter code, empty for home), city, leave and back (date and time), nights, meals (the company gave: breakfast, lunch, dinner counts), hotel_paid and, Austria, activity (aussendienst, fahrt, baustelle, ueberlassung, einsatzort: § 3 Abs. 1 Z 16b EStG 1988 under a Kollektivvertrag; empty a Dienstreise; einsatzort counts the person's days at that city, past 183 the Tagesgeld is taxable pay, LStR Rz 740; einsatzort_limit false turns the count off); per_diem_book books them on the person's expense claim (amount: a lower total; fx_rate for a table in another currency where no rate is on file). Day away (round 894): action day_away with on (the day), leave and back (HH:MM; back before leave is the next morning) or hours, city, country (empty at home), meals (the company gave), person, how (calendar, receipts, phone: what the day was seen in): the allowance by the same table (DE 14 EUR over 8 hours, AT 2.50 EUR each started hour over 3 up to 30, UK 5, 10 or 25 GBP) on the person's expense claim as a trip of that day, held or booked as the owner's switches say; by='preview' gives the figures only; a day of no allowance opens nothing. Round 731: action now, a trip from today (city and country optional, named from the place and month, open until Back); action past with days (yesterday, 3days, week) or on and ends_on (its days): a past trip, ended; tick with target_id a bank line of its days (by false to untick: by='off'); match with document_ids (receipts onto the trip and onto the one line of its days with their amount); flow with paid (card, private, mixed), client, client_paid (hotel, flight, train: left off the invoice), meals; private_day with date (by='off' to undo); advance with amount (paid out to the person's own account before the trip, so the claim leaves the difference); back_done; still_away; settle: Pay back (the claim of what the person paid, the private part to the person's account), proposed for release as the owner's switches say. Round 734: member with person (by='off' takes them off): a second person on the trip, each their own per diem (per_diem_book with person) and pay back; cancel with reason (client, illness, strike, other; by='off' undoes): costs stay, refunds join, no per diem; float_book: the ATM lines of the trip to the person's own account; cash_left with how (returned, keep); dinner with document_id, guests (names), occasion, advertising (Austria), staff_only: the client dinner booked by the country's rule (UK 7320 no VAT; DE 70/30 with full VAT and the Bewirtungsbeleg; AT 50 % with advertising); foreign_vat_book: hotel, fuel and conference VAT of another EU country kept to reclaim; charge_group with customer (a group company's name or id, empty takes it off), recharge: the intercompany pair at cost; per_diem_book with amount_paid above the table: the rest to payroll (UK pay or payroll_route='psa', DE 25 % flat tax, AT wages); attendees: guests the names of who took part in a team event (DE two events a person a year, AT 365 EUR a person a year, checked per person); staff_payroll: a team event over its line to payroll (Austria: a Sachbezug of each person, guests the names as in the payroll, not paid out; gifts on change: the Sachzuwendungen handed out, free to 186 EUR a person a year; UK payroll_route payroll: a payrolled benefit of each person, psa: the PAYE Settlement Agreement); calendar_connect with note (the private ICS link), calendar_off; scan_mails: booking mails read now; tfl_import with document_id (the uploaded TfL journey history CSV), person and paid (card: the export becomes the receipt of TfL's lines on the person's cards, or the card named in account, that its days add up to; own: an expense claim, a line a day, zero rated); vat_claim_add with country, name (the supplier), on (the bill's date), amount (gross), amount_paid (the VAT), account (the cost account), currency: a bill outside any trip joins the year's claim to that country, its VAT moved onto the reclaim account. vat_refund_mark with country and amount (the year); vat_refund_received with country, amount_paid (what came in) and amount (the year).

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": {
      "action": "<action>"
    },
    "name": "trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNo
onNo
howNo
backNo
cityNo
dateNo
daysNo
kindNobusiness
nameNo
noteNo
paidNo
claimNo
giftsNo
hoursNo
leaveNo
mealsNo
routeNo
actionYes
amountNo
clientNo
guestsNo
markupNo
nightsNo
personNo
reasonNo
accountNo
book_idNo
companyNo
countryNo
ends_onNo
fx_rateNo
partnerNo
purposeNo
trip_idNo
vehicleNo
activityNo
currencyNo
customerNo
distanceNo
entry_idNo
occasionNo
odometerNo
to_placeNo
headcountNo
more_daysNo
target_idNo
from_placeNo
hotel_paidNo
since_daysNo
staff_onlyNo
advertisingNo
amount_paidNo
client_paidNo
document_idNo
target_typeNo
document_idsNo
odometer_endNo
payroll_routeNo
odometer_startNo
einsatzort_limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

With only generic annotations supplied, the description adds substantial behavioral context: ending a trip closes it, cancellation keeps costs and adds refunds with no per diem, per diem can be booked to an expense claim, VAT can move to a reclaim account, and payroll handling varies by country. These disclosures are consistent with destructiveHint=false and readOnlyHint=false, though auth, rate limits, and error behavior remain unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a dense, run-on wall of text using semicolons and parentheticals without headings, bullets, or clear action grouping. It front-loads the core trip definition, but the massive inventory of actions and edge cases is difficult to scan and repeats detail rather than organizing it.

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 multi-action tool with 60 parameters, the description covers many behaviors, side effects, and special cases, and the output schema removes the need to explain return values. However, the sprawling structure and incomplete parameter mapping mean it is adequate but not fully complete for the tool's complexity.

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?

The schema has 60 parameters with 0% description coverage, so the description must carry parameter meaning. It clarifies many action-specific parameters such as action values, since_days/more_days, by='preview', person defaults, target_type/target_id, and document_id, but coverage is uneven and many parameters like route, partner, hours, leave/back, meals, and payroll_route are only mentioned in passing or left ambiguous.

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 defines a trip as a named period for one person and enumerates concrete actions such as start, end, reopen, change, per diem, day away, and logbook operations. The domain is clear, though it does not explicitly differentiate this tool from siblings like trip_list or settle.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to choose this tool over alternatives, nor any when-not-to-use conditions. Action names imply usage, but the agent must infer whether trip_list, settle, or another sibling is more appropriate for listing or settlement scenarios.

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.

Resources