Skip to main content
Glama

connect_account

Start an OAuth connect flow for a new Google or Outlook account. Returns an authorize_url and a poll_token. Relay the authorize_url to the user (open in browser), then poll connect_account_status with the poll_token until status is no longer 'pending'. If a Microsoft administrator blocks the connection, the failed status names Outlook via Power Automate (Beta), which the user sets up in the SYNCDATE app, not through this assistant.

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": {
      "provider": "<provider>"
    },
    "name": "connect_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYesOAuth provider to connect

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description carries real weight and does: it discloses the return values (authorize_url, poll_token), the required human-in-the-loop handoff, the polling loop with its terminating condition, and the failed-status behavior when a Microsoft administrator blocks the connection. It stops short of saying whether the poll_token expires or how long the flow stays pending, but the behavioral picture is far richer than the annotations.

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 sentences, each carrying distinct actionable content: purpose, return values, workflow, edge case. The purpose is front-loaded and no sentence is removable without losing operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 names the two returned fields and explains how to use them, plus the follow-up tool and terminating condition, so an agent can drive the whole flow. The only gap is lifetime/expiry semantics of the poll_token, which would matter if the user is slow to authorize.

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 'provider' parameter already has an enum with per-value description, so the schema does the work. The description only echoes 'Google or Outlook' without adding format, defaulting, or validation meaning beyond the enum, which is the expected 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?

States a specific verb and resource ('Start an OAuth connect flow for a new Google or Outlook account') and scopes it to the two providers supported, which distinguishes it from connect_caldav_account and connect_ical_feed. An agent can identify the action and the exact provider enum 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?

Lays out the full operating sequence: relay the authorize_url to the user in a browser, then poll connect_account_status with the poll_token until status is no longer 'pending'. It also gives an explicit when-not: blocked Microsoft connections are handled through Power Automate in the SYNCDATE app, 'not through this assistant.'

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