Skip to main content
Glama

m365_calendar_decline

Destructive

Decline a received Microsoft 365 calendar invitation as an attendee, with an optional response email to the organizer. Returns success and eventId for confirmation.

Instructions

Decline a received invitation as an attendee, not an event you organize. By default a response email goes to the organizer; set sendResponse=false to suppress it. Use m365_calendar_cancel if you are the organizer. Returns success and eventId; check response status in m365_calendar_list before retrying an uncertain decline.

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": {
      "eventId": "<eventId>"
    },
    "name": "m365_calendar_decline"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoOptional text to include in the response email when sendResponse=true
eventIdYesID of a received invitation from m365_calendar_list
sendResponseNoSend the response to the organizer (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.1
    • changedInput schema / properties / comment / description
      Previous value: -"Optional response to the organizer"New value: +"Optional text to include in the response email when sendResponse=true"
    • changedInput schema / properties / eventId / description
      Previous value: -"Event ID"New value: +"ID of a received invitation from m365_calendar_list"
  2. Addedv1.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructive/non-idempotent/open-world, and the description adds behavior they do not cover: a response email is sent to the organizer by default, sendResponse=false suppresses it, and the call returns success plus eventId. The retry caution is consistent with idempotentHint=false and fills the exact gap a non-idempotent destructive call creates.

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?

Four short sentences, scope constraint front-loaded, then the default email behavior, then the sibling routing, then the return/retry guidance. Every sentence carries information an agent would otherwise have to infer.

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 no output schema, the description still discloses the return shape (success and eventId) and how to verify state via m365_calendar_list. For a three-parameter destructive invitation tool, nothing needed to call it safely or to recover from an ambiguous result 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 coverage is 100%, so all three parameters are already documented, including the sendResponse default and the comment's dependency on sendResponse=true. The description restates the default behavior and the eventId source without adding syntax, formats, or constraints beyond the schema, 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 (decline) and resource (received invitation) and immediately constrains scope to attendee-side invitations, explicitly not events the user organizes. It names the sibling m365_calendar_cancel as the organizer-path tool, so an agent can distinguish it from cancel/delete/update without opening any 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?

Gives explicit routing ("Use m365_calendar_cancel if you are the organizer") plus a retry protocol: check response status in m365_calendar_list before retrying an uncertain decline. Both the when-to-use-alternative and the recovery path are spelled out rather than implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.