Skip to main content
Glama

Add to a calendar

add_to_calendar

"Lägg tandläkaren på tisdag 14": in the person's own week (done at once, only they see it) or their household's calendar (a card they tap in Hem). to picks; left out, it goes where they last chose, else their own week. Check whenText against what they said. To gather people instead: create_plan.

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": {
      "title": "<title>",
      "date": "<date>"
    },
    "name": "add_to_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNome = their own week, home = their household's calendar.
endNoHH:MM when it ends, after `time` the same day, only if they said one ("15–16" → time 15:00, end 16:00).
dateYesYYYY-MM-DD, e.g. 2026-11-10.
timeNoHH:MM, e.g. "14:00". Leave out for all day.
titleYesShort, e.g. "Tandläkaren".
followNoOnly what the person asked for, on the household's: remind the evening before, ask who drives, a line on its list.
householdNoThe household's name or householdId from list_households, e.g. "Hemma". Leave out when the person has only one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / end
      Added value: +{
      +  "description": "HH:MM when it ends, after `time` the same day, only if they said one (\"15–16\" → time 15:00, end 16:00).",
      +  "type": "string"
      +}
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the bar is lower. The description does add genuinely non-obvious behavior: visibility differs by destination (only they see it vs. a shared household card) and the destination is stateful, defaulting to the last choice. However, it never explains the consequence of non-idempotency (calling twice creates two entries) or any permission/membership requirement for the household target.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded with the example that motivates the tool, so nothing is buried. But it is written as fragments rather than sentences, uses unexplained in-product vocabulary ('Hem', 'their own week'), and contains a dangling reference to `whenText` that the reader cannot resolve from the schema. That costs more clarity than the brevity saves.

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

Completeness3/5

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

For a 7-parameter mutation with no output schema, the description covers the destination choice, the default, and the alternative tool, which is most of what an agent needs. It leaves out duplicate-creation risk, whether the household must exist or be resolvable via list_households (only implied by the `household` param), and what a successful call returns. Adequate but with visible gaps.

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 description coverage is 100%, so the schema already documents all seven parameters, including the `to` enum and the `follow` values. The description adds one thing beyond that: the fallback resolution when `to` is omitted. Otherwise it largely restates intent already present in the schema, and it references `whenText`, which is not a parameter in the schema at all.

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?

The description makes clear this creates a calendar entry and that it lands in one of two destinations: the person's own week or the household calendar. The verb is implicit rather than stated ('Lägg ... på tisdag 14' as an example) and terms like 'their own week' and 'a card they tap in Hem' are in-house phrasing, but an agent can still tell this apart from create_plan and add_to_list. It does not distinguish itself from the sibling create_event, which is a real clarity gap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explicit routing guidance is given for the main decision: use this for a personal/household calendar item, and 'To gather people instead: create_plan.' The default when `to` is omitted is spelled out (last choice, else own week). It stops short of excluding the other plausible siblings such as create_event or add_to_list, so the when-not coverage is partial.

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.