Skip to main content
Glama

Contractor Foreman by Cotlet

Create work order

create_work_order
Destructive

Creates an Open work order on a project with subject, description and dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYes
end_dateNoYYYY-MM-DD, not before start_date. Default: today.
project_idYesThe project the work is on.
start_dateNoYYYY-MM-DD. Default: today.
descriptionNoWhat has to be done.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered without description help. The description adds one real behavioral fact beyond that: the record is created in 'Open' status. It says nothing about side effects (notifications to assignees), whether the call is retry-safe, or that work orders apparently cannot be deleted by any sibling tool.

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?

One front-loaded sentence with no filler or repetition. It is arguably too terse rather than too long — nothing is wasted, but little is added.

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

Completeness2/5

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

For a destructive, non-idempotent creation tool with no output schema, the description never says what comes back — presumably the new work order or its id, which the agent needs to chain into update_work_order_status or get_work_order. No auth, rate-limit, or failure-mode context is provided either, so the definition under-serves a tool of this complexity.

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 80% and the schema itself documents the date formats, defaults to today, the end_date >= start_date constraint, and the meaning of project_id and description. The description only restates the field list, adding no syntax, constraint, or default information the schema does not already carry.

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 (creates) and resource (work order) plus the initial status ('Open') and the fields it carries, so the agent knows exactly what is produced. It does not compare itself to nearby creation siblings such as create_change_order, create_rfi or create_punchlist, so the resource differentiation rests on the name alone.

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?

There is no statement of when to create a work order versus a service ticket, punchlist item, or change order, and no mention of prerequisites such as the project needing to exist or any permission requirement. The only usage-adjacent information is the implicit 'Open' status default.

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.