Skip to main content
Glama

Connect service

stack_connect_service

Connect a catalog service such as Slack, GitHub or Notion to the STACK account. This is the same as stack_create_connect_link and keeps its name for existing users: it returns a one-time link, the person opens it in their browser while signed in to STACK and gives the credential there, and the connection is stored when they finish. The credential never passes through this conversation, so the tool accepts only service_id, scopes and connection_name and refuses any other argument. A service can hold several connections, each with its own name: connection_name names this one. Returns link_id, provider, method (oauth or key), status, connection_name, expires_at and 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": {
      "service_id": "<service_id>"
    },
    "name": "stack_connect_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopesNoOAuth scopes to ask for when the service connects through the provider sign-in. Omit for the service defaults.
service_idYesCatalog service id or provider name (e.g. "github", "slack")
connection_nameNoWhat to call this connection (letters, digits, spaces and hyphens, up to 40 characters). Needed to add a second connection of a service the account already has; the first one is named default. Never a credential.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 carries far more, explaining that the credential never passes through the conversation, that the link is one-time and expires, and that the call refuses any argument other than the three declared. This is exactly the out-of-band security model an agent needs to describe to a user, and it does not conflict with 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.

Conciseness4/5

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

The purpose and the sibling equivalence are front-loaded, then the security model, then the return shape — a sensible order with no filler sentences. It is dense as a single paragraph and the argument-restriction clause slightly repeats what additionalProperties:false already enforces.

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?

There is no output schema, and the description compensates by enumerating the returned fields (link_id, provider, method, status, connection_name, expires_at, url), including the oauth-or-key distinction. Combined with the three-parameter schema and the annotation set, an agent has everything needed to call this and to explain the next step to the user.

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%, so the baseline is 3, but the description adds real meaning on top: it states that only service_id, scopes and connection_name are accepted, that connection_name names this particular connection among several for the same service, and that the first connection defaults to 'default'. The scopes parameter is covered only generically ('scopes') versus the schema's OAuth-specific wording, which keeps it from a 5.

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?

Opens with a specific verb and resource ('Connect a catalog service such as Slack, GitHub or Notion to the STACK account') and immediately resolves the relationship to the sibling stack_create_connect_link by declaring it the same operation under a legacy name. An agent can tell exactly what this does and that it must not call both.

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?

Clearly frames the context: the person must open the returned link in a browser while signed in to STACK and enter the credential there, which tells the agent this is a hand-off flow, not an inline credential call. It also explains when connection_name matters (a second connection of an already-connected service). It stops short of naming exclusions against other connect paths in the sibling list, so it is clear context rather than full when/when-not guidance.

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.