Skip to main content
Glama

When Works For You

Set a date's time

set_date_time
Idempotent

Sets or clears the time on dates already on a draft or a live event — an exact start (and optional end) time, or a daypart (morning/afternoon/evening), never both; omit all three to make it a plain day again. The one way to put a time on a date that is already there (add_dates refuses a duplicate day). An exact time is an autopilot feature: on a draft it is charged at send, once; on a live classic (share-link) poll it is refused — a classic poll asks about days and dayparts only. Never mails anyone — nobody's row changed. The confirmed date on a live event can't be changed. Needs the write permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datesYesThe ISO day(s) to set — each must already be on the event or draft
daypartNoA rough time of day instead of an exact one
endTimeNo"HH:MM", 24h — only with a startTime, and later than it
event_idYesA draft_ id, or a live event id
startTimeNo"HH:MM", 24h — the exact start

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
datesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only cover safety/idempotency, and the description adds substantial non-obvious behavior: autopilot charging on a draft at send, refusal on a live classic poll, immutability of a confirmed date, the write-permission requirement, and that no email is sent. It is close to complete, though it doesn't say what the response looks like or what happens to an existing daypart when an exact time is set.

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?

The primary action and its exclusivity rule are front-loaded, followed by routing, refusal, and side-effect details. Every sentence carries a distinct constraint, though the density of em-dash clauses makes it slightly harder to scan than a shorter equivalent.

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 5-parameter mutation tool with an output schema (so return shape needn't be described), the description covers prerequisites, alternative tools, refusal conditions, side effects, and the clearing semantics. Nothing needed 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% (baseline 3), but the description adds constraints the schema does not encode: exact start/end and daypart are mutually exclusive ('never both'), and omitting all three clears the time. That mutual-exclusivity rule is genuine value beyond the field 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 precise verb+resource pair (set/clear the time on an existing date) and immediately scopes it against the sibling add_dates, which 'refuses a duplicate day'. An agent can route between set_date_time and add_dates without opening either schema.

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?

Explicitly names the alternative and its limitation ('The one way to put a time on a date that is already there'), and states where the tool is refused (live classic/share-link poll, confirmed date on a live event). It also gives the clearing case: omit all three to revert to a plain day.

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.

Resources