Skip to main content
Glama

Update calendar ignore rule

update_calendar_ignore_rule
DestructiveIdempotent

Replace an ignore rule's account, calendar and conditions; send the full new rule, not a diff. Omitting externalCalendarId widens the rule to every calendar of the account. Admins only. Returns the updated rule.

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": {
      "id": "<id>",
      "calendarAccountId": "<calendarAccountId>",
      "conditions": "<conditions>"
    },
    "name": "update_calendar_ignore_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIgnore rule id (from list_calendar_ignore_rules).
conditionsYesOne condition per field; every condition must hold, and a condition holds when any of its values matches. Example: [{TITLE contains [standup, sync]}, {ORGANIZER equals [y@x.com]}] ignores standups and syncs from y. For 'this or that' across different fields, create a second rule. An empty list ignores the whole calendar and requires externalCalendarId.
calendarAccountIdYesConnected calendar account the rule applies to (id from list_calendar_accounts).
externalCalendarIdNoNarrow to one calendar of the account (its externalCalendarId from list_external_calendars, not its id); omit for every calendar of the account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / conditions / items / properties / field / description
      Previous value: -"TITLE, DESCRIPTION, LOCATION, MEETING_URL (text); ORGANIZER, ATTENDEE (an email); STARTS_AT (an ISO 8601 date-time); ALL_DAY, REPEATS (\"true\" or \"false\"); MY_RESPONSE (needsAction, declined, tentative or accepted — the connected account's own reply)."New value: +"TITLE, DESCRIPTION, LOCATION, MEETING_URL (text); ORGANIZER, ATTENDEE (an email); STARTS_AT, ENDS_AT (an ISO 8601 date-time, or a YYYY-MM-DD date for an all-day event, its last day for an end); ALL_DAY, REPEATS (one of \"true\" or \"false\"); MY_RESPONSE (needsAction, declined, tentative or accepted — the connected account's own reply)."
    • changedInput schema / properties / conditions / items / properties / match / description
      Previous value: -"EQUALS or CONTAINS, case-insensitive. STARTS_AT, ALL_DAY, REPEATS and MY_RESPONSE are always EQUALS."New value: +"EQUALS or CONTAINS, case-insensitive. STARTS_AT, ENDS_AT, ALL_DAY, REPEATS and MY_RESPONSE are always EQUALS."
    • changedInput schema / properties / conditions / items / properties / values / description
      Previous value: -"Alternatives: the condition holds when any one matches. For STARTS_AT, e.g. 2026-10-09T09:00:00Z."New value: +"Alternatives: the condition holds when any one matches. For STARTS_AT or ENDS_AT, e.g. 2026-10-09T09:00:00Z, or 2026-10-09 for an all-day event."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the description's added value is what it contributes beyond that: full-replacement semantics (prior conditions are lost), the scope-widening side effect when externalCalendarId is omitted, the admin authorization requirement, and the fact that the updated rule is returned. It does not say what happens if the id does not exist or the conditions are rejected, which is the remaining gap for a destructive mutation.

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?

Three short sentences, front-loaded with the replace semantics, then the parameter caveat, then the access constraint and return value. No filler and no repetition.

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 destructive, admin-only mutation with no output schema, the description covers the overwrite behavior, the scope-widening trap, auth, and return value, which matches the tool's complexity. Missing only error/edge behavior (nonexistent id, invalid conditions).

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; the description goes slightly beyond by clarifying that the conditions/account/calendar are replaced wholesale rather than merged, which the schema does not state. Its restatement of the externalCalendarId omission rule duplicates what the schema already documents, so it is not a full tier above baseline.

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?

"Replace an ignore rule's account, calendar and conditions" states a specific verb and resource plus exactly which fields are overwritten, which distinguishes it from the create/delete ignore-rule siblings without needing to name them.

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?

"Send the full new rule, not a diff" is a clear when/how-to-use constraint, and "Admins only" flags a prerequisite. It stops short of naming an alternative (e.g. create_calendar_ignore_rule for a new rule) or stating when not to use this tool, so it is clear context without explicit exclusions.

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