Skip to main content
Glama

Connect a service

connect_service

Starts connecting one service by signing in to it and answers the service's sign-in address. Give that address to the person to open themselves in their browser, where they approve Xodia; never open it yourself and never sign in for them. It works for about 15 minutes and only for this user. Only workspace owners and admins can connect (forbidden otherwise: tell the user who can); a new connection needs room in the plan's integrations (plan_limit: say the plan's number and that the owner can upgrade in Billing). connection_not_ready: signing in to that service isn't set up on Xodia yet; for Slack and Discord the person can paste a channel's webhook address in Features (top menu), Connections instead. timeZone (Google Calendar): the person's IANA time zone for the bookings calendar. A channel's webhook address works like a password: no tool takes one. When the person wants to connect Slack or Discord with a webhook address, they paste it themselves in Features (top menu), Connections, under More ways to connect; if they paste one in the chat, write it nowhere, tell them to paste it there, and to make a new webhook in the channel's settings since it was shared.

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": {
      "service": "<service>",
      "projectId": "<projectId>"
    },
    "name": "connect_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceYesThe service: slack, discord, google_sheets, google_calendar, mailchimp
timeZoneNoGoogle Calendar: the person's IANA time zone, like "America/Chicago"
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive, non-open-world write; the description adds the operational traits that matter: the link expires in ~15 minutes, it is scoped to one user, and the agent must never open the address or sign in on the person's behalf. It also documents what an agent must do with a pasted webhook secret (store nowhere, have them rotate it), which is behavioral detail absent from any structured field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the never-open-it-yourself rule are front-loaded, which is good, but the webhook guidance is repeated ("works like a password: no tool takes one" then a second paragraph restating that the person pastes it in Features > Connections). The single unbroken block of run-on clauses makes it harder to scan than it needs to be.

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?

This is a multi-party, permission-gated flow with no output schema, and the description covers everything an agent needs: author/recipient roles, expiry, plan limits, two error codes with required messaging, and the secure-handling alternative. Nothing essential to calling it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and the enum values are already described, so the baseline is 3. The description adds a small amount beyond the schema, notably that timeZone is used for the bookings calendar and that webhook-based Slack/Discord connections bypass the parameter flow entirely, but it does not explain projectId's role beyond the schema's own note.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource ("Starts connecting one service") and clearly states what the tool produces: a sign-in address the person must open themselves. It's distinguishable from a generic auth tool, but it never names a sibling (e.g. connect_form or disconnect_service) to delimit the boundary, so it stops short of a 5.

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 explicit prerequisites (workspace owner/admin only, otherwise forbidden), a plan-capacity condition, and call-outs for two failure modes (plan_limit, connection_not_ready). It also names a concrete alternative call-handling: for Slack/Discord webhooks the person should paste the address directly in Features > Connections rather than using this tool.

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