Skip to main content
Glama

Connect Gmail for sending

colliedesk_gmail_connect

Start connecting a Gmail account to an email channel, so its replies are sent from that address through Gmail and kept in its Sent folder. Incoming mail arrives by forwarding; on a server that reads inboxes (colliedesk_email_channel_get, gmail.reads_inbox) the consent also asks to read email, and new inbox mail then comes in by itself. It answers Google's consent address: only the person this token acts as can finish it, by opening it within 10 minutes in a browser signed in to Colliedesk and agreeing on Google's page. Connecting again replaces the account. Needs the email channel and the server's Google settings (see colliedesk_email_channel_get, gmail). A workspace may have several email channels: give channel_id for one of them, or leave it out for the default one (is_default).

Needs: channels:manage_credentials.

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": "colliedesk_gmail_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idNoOne email channel of several, from colliedesk_channels_list. Leave out for the default one (is_default in colliedesk_channels_list).

Output Schema

NameRequiredDescriptionDefault
urlYesThe provider's page, for the person this token acts as.
nextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), it discloses the consent handshake: only the token's acting user can complete it, within a 10-minute browser window, plus the required scope 'channels:manage_credentials'. It also explains the inbound path (forwarding, or direct inbox reads on servers with gmail.reads_inbox) and that reconnecting replaces the existing account.

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 action and its outcome are front-loaded, and every clause carries information. The middle sentences are dense and slightly run-on (consent, forwarding, and inbox-reading details packed together), which costs a little readability but not substance.

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 an output schema and annotations already present, the description covers what remains: prerequisites, permission scope, the human-in-the-loop consent constraint with its time limit, and the effect of reconnecting. An agent has everything needed to call this correctly and to tell the user what to do next.

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 channel_id parameter is already documented as optional with a default. The description restates the same 'give channel_id for one of several, or omit for the default (is_default)' guidance without adding new format or resolution semantics, so it does little beyond the schema.

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 opens with a specific verb and resource: 'Start connecting a Gmail account to an email channel,' and immediately states the outcome (replies sent from that address via Gmail, kept in Sent). It is clearly distinct from colliedesk_gmail_disconnect and from the read-only colliedesk_email_channel_get it references.

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?

It gives strong context: prerequisites (email channel plus the server's Google settings), the replacement behavior on re-connect, and how to pick a channel when a workspace has several. It stops short of an explicit exclusion or naming colliedesk_gmail_disconnect as the tool to use when you instead want to remove the connection.

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