Skip to main content
Glama

maintenance-log

Log maintenance on an asset

maintenance_log

Log work done on an asset: the day, what was done, the cost in whole cents, who did it, and when the next service falls due -- as a date (next_due) or as an interval in days (interval_days), never both. A repair that sets no schedule takes neither. A future work date is refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesThe day the work was done, YYYY-MM-DD. A future date is refused
workYesWhat was done, e.g. Oil and filter change, or Annual boiler service
assetYesThe asset id, e.g. AST-2026-0003, its serial or asset tag, or its name when only one asset has it
next_dueNoThe date the next service falls due, YYYY-MM-DD. Pass either this or interval_days, not both
cost_centsNoWhat the work cost in whole cents. 12000 is 120.00. Default 0, for in-house work
technicianNoWho did the work, e.g. Anna, or Acme Heating Ltd
interval_daysNoDays after the work date the next service falls due, e.g. 90 for quarterly. Turned into a date once, at log time

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so well. It explicitly states that next_due and interval_days are mutually exclusive, that a repair setting no schedule takes neither, and that a future work date is refused. This gives an agent concrete behavioral constraints beyond the schema.

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

Conciseness5/5

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

The description is two sentences with no filler. It front-loads the core action, then packs the essential constraints into the remaining clauses. Every sentence earns its place and the structure makes the rules easy to scan.

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?

Given the parameter count, high schema coverage, and absence of annotations, the description covers the important operational rules sufficiently. It does not mention return values or permissions, but for a simple log-creation tool with a rich schema, the description plus schema is complete enough for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds some value beyond the schema by stating the 'never both' interaction and, more usefully, the edge case that a repair with no schedule takes neither field. It also reinforces that cost is in whole cents. Overall, it adds a small but meaningful layer of parameter context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Log work done on an asset', then enumerates the exact data captured. This clearly distinguishes it from sibling tools like maintenance_due, maintenance_export, and asset_add, which serve different purposes.

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?

The description explains what the tool does but gives no explicit guidance about when to choose it over siblings such as maintenance_due or maintenance_export. There are no stated exclusions or conditions like 'use this after finishing work' or 'for viewing due dates, use maintenance_due instead'.

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.