Skip to main content
Glama

Link to connect Google Calendar

connect_calendar

Use this when the owner wants their bookings on their Google Calendar with a Google Meet link, or their busy times kept off their booking page, or a tool says Google Calendar is not connected. Returns a one-time link (10 minutes, works once) that connects the account's Google Calendar through Google's own login: its own Google screen, separate from the sending email's, asking only for the calendars they own. Once connected, their Google busy times are kept off the booking page, every booking is added to their Google Calendar with a Google Meet link and the person who booked is invited, and moving or deleting the event in Google moves or cancels the booking. Give the person the link and tell them: "you'll get a code by email at your account address" — the page emails a 6-digit code to the account's confirmed email, and only that code lets the connect go ahead (so a link sent to someone else is useless to them). Then wait for them to say it is done and call get_google_connections to confirm. If the link expires or was used, call this again for a fresh one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connect_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Leave out on your own account; required for platform-scoped keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false; the description goes far beyond that by disclosing the 10-minute, single-use nature of the link, the out-of-band OAuth handoff to Google's own consent screen, the scope limitation to owned calendars, the email-code gate that makes a forwarded link useless, and the downstream effects once connected (busy times blocked, bookings synced with Meet links and invites, event edits/deletes mirrored to bookings). That is exactly the kind of side-effect and safety context the annotations cannot express.

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?

The trigger conditions are front-loaded in the first sentence and the prescribed wording for the user is quoted rather than paraphrased, which is efficient. However, the body is one long run-on paragraph with several chained clauses, and the parenthetical about the Google screen being separate from the sending email's is more detail than the agent needs to act.

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 zero-required-parameter action tool with no output schema, the description covers the return value (one-time link), its lifetime, the human handoff script, the verification step via a sibling tool, and the failure/retry case. Nothing an agent needs in order to invoke it correctly and follow through 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% and the single optional parameter (client) is fully documented in the schema, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no information about when or why to pass client (own account vs. platform-scoped key), leaving that entirely to the schema text.

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 description names a specific action and resource — returns a one-time link that connects the account's Google Calendar through Google's login — and implicitly separates itself from siblings by naming the confirmation tool (get_google_connections) and by tying the trigger to Google Calendar rather than email/Instagram/YouTube. An agent can tell this apart from connect_email and from read-only calendar tools 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?

It gives three concrete triggering conditions (owner wants bookings on Google Calendar with a Meet link, busy times kept off the booking page, or another tool reports Google Calendar not connected), then describes the full workflow: hand over the link, tell the user about the 6-digit code, wait, then call get_google_connections to confirm. It even covers the retry path when the link expires or has been used, so the agent knows when to call again versus when to stop.

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