Skip to main content
Glama

Create or overwrite one calendar event

officient_overwrite_calendar_event
Destructive

Overwrite or create a calendar event of a specific type for a person on a given date. Handy for syncing time tracking.

Instructions

Idempotent upsert of a single event of a given type on a given date: overwrites the existing event of that type or creates it. Handy for syncing time tracking. The event type itself cannot be changed. CAVEAT (observed live 2026-07): when an event of that type already exists on that date with the same duration_minutes, the API returns {"success":1,"info":"no action taken"} and changes NOTHING — it does not compare start_time_minutes. To move an existing event's start time, delete it with officient_delete_calendar_event and re-add it with officient_add_calendar_event. Always read the calendar back to confirm the change actually landed. Required scope: calendar:write. WRITES DATA in Officient.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayYesDay of month, 1-31.
typeYessick_day, education or custom.
yearYesFour-digit year, e.g. 2026.
monthYesMonth, 1-12.
person_idYesOfficient person id.
duration_minutesYesDuration in minutes, or the string "all_day" to use the scheduled hours for that day.
start_time_minutesYesStart time in minutes since midnight, e.g. 540 = 09:00.
custom_day_off_type_idNoRequired when type="custom"; get it from officient_list_event_types.
Behavior5/5

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

Annotations already indicate destructive and non-read-only behavior. The description adds critical behavioral context: the API does nothing when event type and duration match, even if start time differs; recommends verifying writes by reading back; states idempotency; declares required scope and that it writes data. This goes well beyond annotations.

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 efficiently structured: clear purpose first, then use case, critical caveat, alternative method, verification advice, scope, and write warning. Every sentence provides necessary information without redundancy.

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 write tool with 8 parameters and no output schema, the description thoroughly covers usage, behavioral nuances, parameter interactions, failure modes, and recommended verification. It also references relevant sibling tools explicitly.

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

Parameters5/5

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

Schema coverage is 100%, baseline 3. The description adds semantic value by explaining that the event type cannot be changed and why duration_minutes matching prevents start_time_minutes updates, and when custom_day_off_type_id is required.

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 clearly states the tool performs an idempotent upsert of a single calendar event by type on a given date, overwriting existing or creating new. It distinguishes from siblings by explicitly contrasting with officient_delete_calendar_event + officient_add_calendar_event for start time changes.

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?

The description includes explicit guidance on when to use alternatives: to move an existing event's start time, use delete then add. It also notes the caveat about same duration preventing update, guiding users away from this tool when that condition is problematic.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dhrpieterjan/officient-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server