Skip to main content
Glama
cotletdev

Contractor Foreman MCP Server

by cotletdev

Create daily log

create_daily_log

Record a project's daily log for a given date with work notes, crew headcounts, deliveries, weather and schedule delays; returns the saved log for review.

Instructions

New daily log on a project: work notes, people, deliveries, weather notes and delays.

Adds a daily log to the project for the date you give (arrival 07:00 unless you say otherwise) and returns it as get_daily_log shows it. Contractor Foreman records the weather for the date and the project address itself, and weather_notes sits next to it. notes must not be empty. people takes a headcount per crew or free text. The log reaches no client or crew and update_daily_log can edit it, so this tool runs without asking. One project can have several logs on one date: check list_daily_logs first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesLog date.
notesYesWork 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).
project_idYesproject_id from list_projects.
arrival_timeNoArrival on site, e.g. 07:00 or 7:00 AM.
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.8/5.0
Behavior5/5

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

Annotations already declare non-readonly, non-destructive, open-world, non-idempotent, and the description adds real behavior: default arrival of 07:00, weather auto-recorded from the date/address, the notes non-empty constraint, and the visibility scope ('reaches no client or crew') that justifies running without confirmation. This is context beyond the annotation flags.

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?

Purpose is front-loaded in the first sentence and every sentence carries information (defaults, constraints, alternatives). It is dense and slightly run-on, packing several facts per sentence, but no line is wasteful.

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?

For a 12-parameter creation tool with no output schema, the description covers return contract ('returns it as get_daily_log shows it'), required-field constraint, defaults, side effects (system weather recording), and visibility. Nothing an agent needs to call it correctly is missing.

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, but the description adds value the schema lacks: the 07:00 default for arrival_time, the notes-must-not-be-empty constraint, the headcount-per-crew-or-free-text shape of people, and that weather_notes sits beside the system-recorded weather. Only modest gaps (no format hints for delay fields) remain.

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+resource ('New daily log on a project') and enumerates the content it captures. It distinguishes itself from get_daily_log, update_daily_log, and list_daily_logs by name, so an agent can tell which daily-log tool to pick 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 Guidelines5/5

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

Gives an explicit precondition ('check list_daily_logs first' since one project can have several logs on one date) and an explicit alternative ('update_daily_log can edit it'). Both the when and the why-not are named.

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