Skip to main content
Glama

update_webfleet_logbook

DestructiveIdempotent

Update a logbook entry (updateLogbook): set logflag (1 private, 2 business, 3 commute), purpose, contact, comment for a trip. Changes the tax-relevant logbook — needs approval.

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": {
      "objectno": "<objectno>",
      "tripid": "<tripid>"
    },
    "name": "update_webfleet_logbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNoWeitere Webfleet-Parameter laut Handbuch, z. B. { objectgroupname, filterstring }
tripidYesFahrt-ID
logflagNo1 privat, 2 geschäftlich, 3 Arbeitsweg
objectnoYesFahrzeugnummer (objectno) in Webfleet
logcommentNoBemerkung
logcontactNoKontakt/Kunde
logpurposeNoZweck

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new business context the annotations cannot express: the entry is tax-relevant and the change requires approval. It stops short of covering partial-update semantics (whether omitted fields are preserved) or the response shape.

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?

Two sentences, front-loaded with the action and the affected fields, ending with the highest-signal caveat (tax-relevant, needs approval). No filler; only the parenthetical API name is mildly redundant.

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 7-param mutation with no output schema, the definition conveys what it touches and the approval requirement, which is the critical piece. It leaves open whether unspecified fields are left unchanged and what the call returns on success, which matters for a destructive, idempotent update.

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 100%, so the schema already documents objectno, tripid, logflag, logpurpose, logcontact, logcomment and the free-form params bag. The description merely restates the logflag enumeration in English, adding no syntax or constraint beyond what the schema provides. Baseline 3 is 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?

States a specific verb and resource ("Update a logbook entry") and even names the underlying API operation (updateLogbook), plus enumerates the fields it can change. It is clearly distinguishable from the read-only siblings get_webfleet_logbook and list_webfleet_trips, though it does not name an alternative explicitly.

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 field list and the caution "needs approval," which tells the agent this is a controlled action. There is no explicit when-to-use versus when-not guidance (e.g., use get_webfleet_logbook first to find the tripid, or when to prefer a bulk tool).

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.