Skip to main content
Glama

Answer an invitation

respond_to_event
Destructive

Accepts, declines or tentatively accepts an invitation someone else sent the user. The organiser is notified — that is the point: removing an invitation from the calendar without answering leaves them expecting the user.

The event_id comes from get_availability, for a calendar the user allowed managing (manageable: true in list_calendars).

Everything needed is in the get_availability or search_events result — pass event_id AND calendar_id straight back, and read is_recurring and is_organizer from the same entry instead of asking the user about them.

When is_recurring is true, set scope: "occurrence" answers only that date, "series" answers all of them. If the user named a date ("on Tuesday"), that IS "occurrence" — do not ask. Ask only when they named none, because declining one date and declining a standing commitment are different messages to the organiser.

Refusals name the way forward; pass them on rather than retrying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoFor a recurring appointment: answer only this date ("occurrence") or every date ("series"). Required as soon as the appointment repeats.
commentNoOptional note for the organiser, sent with the answer
event_idYesThe `event_id` from get_availability or search_events
responseYesThe answer to send to the organiser
calendar_idNoThe `calendar_id` that came back beside the event. Always pass it — it is in the same result, and leaving it out costs a round trip whenever more than one calendar is available.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
needsNo
scopeNo
titleNo
event_idYes
questionNo
responseYes
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the description's job is to name the specific side effect, which it does: the organiser is notified, and declining one occurrence versus a series sends different messages. This adds consequence context beyond the annotation and warns agents not to treat this as a silent calendar change.

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?

The purpose is front-loaded in the first sentence, and each subsequent paragraph covers one distinct decision: provenance, pass-back, scope, and refusal handling. There is no filler; the bolded scope instruction makes the main branch easy to scan and apply.

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?

Given five parameters, a destructive annotation, and a potentially ambiguous recurring-event case, every call-time decision is covered. The recurring scope edge case is resolved, the notification side effect is stated, and the refusal behavior is addressed; the output schema covers return-value expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, raising the baseline, but the description goes well beyond the schema: it explains event_id provenance, requires calendar_id from the same result, and gives a precise decision rule for scope based on is_recurring and whether the user named a date. This directly improves invocation correctness.

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?

The first sentence names a specific action and resource: accepts, declines, or tentatively accepts an invitation someone else sent the user. The 'someone else sent' qualifier distinguishes it from create_event/update_event/delete_event, and the rest of the description ties it to a clear invitation-response workflow.

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?

The description gives concrete when-to-use context: use data from get_availability or search_events, pass event_id and calendar_id straight back, and ask about scope only when the user named no date. It does not explicitly enumerate sibling alternatives as the wrong choice, though the warning about removing an invitation without answering implies why delete_event alone is insufficient.

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