Skip to main content
Glama
cotletdev

Contractor Foreman MCP Server

by cotletdev

Update daily log

update_daily_log

Edit only the daily log fields you pass—notes, times, people, deliveries, weather notes, or delays—and return the updated log while leaving the date and project unchanged.

Instructions

Change the notes, times, people, deliveries, weather notes or delays of a daily log.

Replaces only the fields you pass and returns the log as get_daily_log shows it. Text fields are replaced, not appended: read the log first to add to its notes. materials_delivered replaces the material notes. weather_delay, schedule_delay and visitors can mark a delay or a visit but not clear it. The log date and project do not change. The log reaches no client or crew, so this tool runs without asking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoWork done and site notes (the log's Work Performed).
peopleNoCrews, subcontractors and visitors on site: headcount per crew, or free text.
visitorsNoVisitors on site (inspector, owner, architect).
arrival_timeNoArrival on site, e.g. 07:00 or 7:00 AM.
daily_log_idYesdaily_log_id from list_daily_logs.
jobsite_notesNoJobsite condition notes.
weather_delayNoWhat the weather delayed. Marks a weather delay.
weather_notesNoYour own notes next to the recorded weather.
departure_timeNoDeparture from site, e.g. 15:30.
schedule_delayNoWhat else held the schedule up. Marks a schedule delay.
materials_deliveredNoMaterials delivered or used, one line each.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile, and the description adds real behavior on top: patch semantics (only passed fields change), replace-not-append for text, materials_delivered overwriting material notes, inability to clear delay/visitor markers, immutability of date and project, and no client/crew notification. That is far more than the annotations convey. One mild tension: 'replaces only the fields you pass' reads as idempotent while idempotentHint=false, but this is not a direct contradiction.

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?

Front-loaded with the purpose, then ordered from semantics to side effects. Every sentence carries information (patch behavior, read-first caveat, field limitations, immutability, no-notification), though the delay/visitor sentence is dense and slightly repetitive with the materials sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters, no output schema, and a mutation, this description does what is needed: it explains patch semantics, the return shape ('as get_daily_log shows it'), the fields that cannot be modified, and the notification side effect. An agent has enough to invoke it safely without further probing.

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 coverage is 100%, so baseline is 3; the description still adds genuine semantics beyond the schema — replacement vs. append on text fields, that materials_delivered overwrites material notes, and that weather_delay/schedule_delay/visitors can only set, not clear. These are behaviors an agent cannot infer from the property descriptions.

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?

States a specific verb (change/update) and resource (daily log) plus the exact field families it touches. It differentiates itself by reference to siblings: results match 'get_daily_log' and the id comes from 'list_daily_logs', so an agent can place it among the create/get/list daily-log tools without opening schemas.

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

Usage Guidelines4/5

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

Gives actionable preconditions: 'read the log first to add to its notes' and 'the log reaches no client or crew, so this tool runs without asking'. It clearly bounds what the tool is not (date/project immutable, delays can't be cleared), but it never explicitly names update vs. create_daily_log as the alternative for a given situation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools