Skip to main content
Glama

Set a date's day

set_date
Idempotent

Gives one of the person's named dates its day, by its name (any case) or id — told "1.4 is out", set the release date to today. Whatever their routines count from it moves with it, and what was waiting for a date with no day yet is armed; the answer says daySet when it had none. on is a day, 2026-11-15, for a date that is a whole day, or a moment with its offset, 2026-11-15T14:00:00+03:00, for one with a time — list_dates says which. It does not make a date, and it leaves alone a moment that happens (mark_moment says those) and a date linked to a calendar event or a reminder, which moves only there.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "<date>",
      "on": "<on>"
    },
    "name": "set_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYesThe day, e.g. 2026-11-15, or for a date with a time the moment with its offset, e.g. 2026-11-15T14:00:00+03:00.
dateYesThe date's name or id, as list_dates gives them.

Output Schema

NameRequiredDescriptionDefault
runNoThe run it started, planned or found, where there is one: what set_value, next_step and the rest take.
urlNoFor publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.
codeNoFor publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.
statusYesWhat the phone did with it, in one word; the sentence beside it says what that means.
commandYesThe command's id, which command_status takes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / code
      Added value: +{
      +  "description": "For publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / url
      Added value: +{
      +  "description": "For publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare mutation, idempotency and non-destructiveness; the description goes well beyond that by disclosing side effects (routines counting from the date shift with it, items waiting on an undated date become armed) and the response signal (daySet when the date previously had no day). It also names what it leaves untouched, which is exactly the kind of blast-radius information an agent needs before mutating.

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 action and scope are front-loaded in the first clause, and every subsequent sentence carries information (side effects, format rules, exclusions). It is dense, with em-dash asides and semicolon-chained clauses that take a careful read, but nothing is filler.

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 an output schema present it needn't describe return values in detail, yet it still flags daySet. Annotations plus the description cover mutation semantics, idempotency, side effects, format requirements, and the cases it refuses — 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 the baseline is 3, but the description adds meaning the schema does not: the name match is case-insensitive, and the caller should consult list_dates to learn whether the target is a whole day or has a time, which determines which `on` format is legal. The exclusions around calendar-linked dates further constrain what a valid `date` can be.

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 opening clause names a specific verb and resource: give one of the person's named dates its day, looked up by name (any case) or id. It immediately separates itself from list_dates (which tells you the date's shape) and mark_moment (for moments that happen), so an agent can pick it out without opening a 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?

It gives a concrete trigger case ('told "1.4 is out", set the release date to today') and explicit exclusions: it does not create dates, does not touch moments that happen (mark_moment handles those), and does not move dates linked to a calendar event or reminder. Alternatives are named for the two behaviors it declines.

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.