Skip to main content
Glama

Create calendar ignore rule

create_calendar_ignore_rule
Destructive

Hide imported events that match a rule, for everyone who shares the calendar (admins and managers, on calendars they reach; a team calendar's rules, admins only). A rule tests title, description, location, meeting link, organizer, attendee, start or end time, all-day, repeats or your own response: every condition must match, and each lists alternative values. With no conditions it ignores a whole calendar. Matching events are hidden everywhere (they stay stored). Never changes Google. Each call creates a new rule; to change one use update_calendar_ignore_rule, and to hide a single event use ignore_calendar_event. Returns the created 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": {
      "calendarAccountId": "<calendarAccountId>",
      "conditions": "<conditions>"
    },
    "name": "create_calendar_ignore_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 and idempotentHint=false; the description adds real context beyond them: matching events are hidden everywhere but stay stored, Google is never changed, and rules are non-accretive (each call creates a new rule). It also states it returns the created rule. Only missing item is any rate/limit or failure behavior.

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?

Front-loaded with the core effect and packed with useful detail without filler, but the parenthetical on admin/manager scoping is dense and slows parsing. Overall efficient; minor tightening possible.

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 3-parameter mutation tool with full schema coverage and no output schema, the description covers effect, scope, permissions, reversibility, sibling alternatives, and return value. Nothing essential to correct invocation is missing.

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% and the schema already documents field/match/values semantics, the empty-list behavior, and externalCalendarId. The description's explanation of conditions (all must match, values are alternatives, empty list ignores the whole calendar) largely restates the schema rather than adding new meaning, so baseline 3 applies.

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 specific verb and resource ('Hide imported events that match a rule') plus the blast radius (applies to everyone who shares the calendar). It explicitly contrasts itself with update_calendar_ignore_rule and ignore_calendar_event, so an agent can route correctly.

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?

Gives explicit alternatives and the selection condition for each: change an existing rule -> update_calendar_ignore_rule; hide one event -> ignore_calendar_event; each call creates a new rule. It also names who can use it (admins and managers on calendars they reach, admins only for team calendars).

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