Skip to main content
Glama

Get calendar connect URL

get_calendar_connect_url
Idempotent

Get the Google consent URL for connecting a Google Calendar account to a profile the caller can access. Hand the URL to the user — the OAuth handshake happens in their browser, and nothing is connected until they finish it. To subscribe to a calendar by .ics URL instead, use add_calendar_feed. Returns {url}.

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": {
      "profileId": "<profileId>"
    },
    "name": "get_calendar_connect_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
returnToNoApp URL to return to after the consent flow.
profileIdYesProfile lane the connected calendar will sync into (UUID from list_profiles).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=true, destructiveHint=false, so the description adds the important nuance that no side effect occurs until the user completes the external browser flow. It also states that the result is {url} and must be relayed to the user, which no annotation conveys. It stops short of stating URL lifetime or expiry or what happens if the profile is already connected, so it is strong but not exhaustive.

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 primary action, then the hand-off instruction, then the sibling alternative and return shape. No filler and nothing repeated from the schema.

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 two-parameter tool with full schema coverage, the description covers purpose, the external OAuth mechanics, the user-facing hand-off, the alternative tool, and the return shape ({url}) even though no output schema exists. Nothing needed to call it correctly 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 both parameters (profileId, returnTo) are documented in the schema, including the UUID format and the list_profiles provenance. The description only adds the access-scoping hint ('a profile the caller can access') and says nothing about returnTo's behavior in the redirect, so it sits at the 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?

The description states a specific verb and resource: it gets the Google OAuth consent URL for connecting a Calendar account to a specific profile. The phrase 'for connecting a Google Calendar account to a profile the caller can access' distinguishes this tool from the sibling add_calendar_feed, which handles .ics subscriptions. An agent can identify the right tool without opening the 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?

The description says to hand the URL to the user and explains that the handshake happens in their browser, and that nothing is connected until they finish it. It also names the alternative path ('To subscribe to a calendar by .ics URL instead, use add_calendar_feed') and the condition that selects it, so when-to-use and when-not-to-use are both explicit.

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