Skip to main content
Glama

log_maintenance

Record completed maintenance on an asset (by id or name, e.g. 'RAM'). Advances the matching schedule; pass an interval to create a schedule if none exists. Updates the asset's odometer/hours if meter_value is higher.

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": {
      "task": "<task>"
    },
    "name": "log_maintenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
costNo
dateNoDefaults to today
taskYese.g. 'Oil change', 'Monthly test run'
notesNo
asset_idNo
asset_nameNo
meter_valueNoOdometer miles or engine hours at service
performed_byNo'self' or contractor name
interval_daysNo
interval_hoursNo
interval_milesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real side effects: advancing the matching schedule, creating one when an interval is passed, and only raising the meter when meter_value is higher. It omits the consequences of ambiguous asset resolution, whether duplicate logs are allowed, currency for cost, and any return/confirmation behavior.

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?

Three tight sentences with the core action front-loaded and the conditional behaviors following in logical order. The "e.g. 'RAM'" example is small but earns its place by showing the name format; no filler sentences.

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 an 11-parameter mutation tool with no annotations and no output schema, the definition covers the essential mechanics but leaves notable gaps: no return-value description, no guidance on asset resolution conflicts, and several parameters with no semantic elaboration. It is usable but not fully sufficient for confident 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 only 36%, so the description must compensate, and it partially does by explaining the asset_id/asset_name pairing, the role of the interval_* fields in schedule creation, and the monotonic update rule for meter_value. It adds nothing for cost, notes, performed_by, or interval_hours/interval_miles beyond what their names imply.

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?

"Record completed maintenance on an asset" gives a specific verb and resource, and the parenthetical clarifies the asset can be referenced by id or name. It is clearly distinct from siblings like log_pet_care or add_chore, though it never names 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?

The definition supplies one useful conditional rule: pass an interval to create a schedule when none exists. It does not say when to prefer this over related tools (e.g. list_assets to find an id, or whats_due to check schedules), nor what to do when both asset_id and asset_name are supplied or when neither matches.

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