Skip to main content
Glama

Set commitments

set_commitments
DestructiveIdempotent

Replace the list of recurring weekly commitments. days are ISO weekdays 1=Mon..7=Sun; use timesPerWeek instead when there are no fixed days. Pass existing ids to keep them. A recurring life event read from the user's calendar (the children's classes) is one entry with its calendar_event_id, recorded once.

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": {
      "commitments": "<commitments>"
    },
    "name": "set_commitments"
  }
}

Input Schema

NameRequiredDescriptionDefault
commitmentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / commitments / items / properties / calendar_event_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 1024,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "the calendar event this entry comes from, as your calendar connector gives it (for a recurring event, the series id), so it is not added twice; two entries cannot share one. Leave it out to keep the one on record; null or \"\" removes it"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the bar is lower, but the description earns credit by explaining the destruction mechanism: it is a list replacement where anything without a preserved id is dropped, hence 'pass existing ids to keep them'. The calendar_event_id rule ('recorded once', 'two entries cannot share one') adds de-duplication context that annotations cannot convey.

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?

Four short sentences with the destructive replace semantics front-loaded, then field-level guidance in decreasing order of risk. The final sentence about the children's classes is a little oblique and reads as an example rather than a rule, but it still carries the de-duplication intent.

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

Completeness4/5

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

For a single-parameter but deeply nested, destructive overwrite tool with no output schema, the description covers replacement scope, id preservation, weekday encoding, and calendar de-duplication — the parts an agent would most likely get wrong. Gaps remain around what happens to stale ids and what the call returns, which matter somewhat given no output schema.

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 description coverage is reported as 0%, so the description must carry the load, and it does for the highest-risk fields: it defines the days encoding (ISO 1=Mon..7=Sun), explains when to prefer timesPerWeek over days, and clarifies id reuse and the calendar_event_id lifecycle. It still leaves minutes, start, area, and kind entirely to the nested schema, so it does not fully compensate.

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?

"Replace the list of recurring weekly commitments" gives a specific verb (replace) and resource, and the word 'Replace' immediately signals full-overwrite semantics rather than a partial patch, which is what separates it from get_commitments. It stops short of naming any sibling explicitly, so an agent must infer the pairing itself.

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

Usage Guidelines3/5

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

There is real operational guidance — use timesPerWeek when there are no fixed days, pass existing ids to keep entries, record a recurring calendar event once with its calendar_event_id. However, none of it addresses when to call this tool versus alternatives such as set_routines or set_plan, and no prerequisites or exclusions are stated.

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.