Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

list_agentkit_connections

Read-onlyIdempotent

Lists AgentKit connections in an environment, newest first and paginated, returning each connection's ID, name, connector, auth type, and auth mode for review or selection.

Instructions

List AgentKit connections in one environment, newest first, one page at a time. Each row has the connection ID, name, connector, auth type and auth mode. Use get_agentkit_connection to read one connection settings. This tool does not list SSO connections. Use list_environment_connections for those. Requires the caller OAuth token.

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": {
      "environmentId": "<environmentId>"
    },
    "name": "list_agentkit_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoMatches connection name, connector ID or connector display name.
pageSizeNoConnections per page. Default 20. Maximum 100.
connectorNoOnly connections of this connector, for example GMAIL.
pageTokenNoToken from a previous reply, to get the next page.
environmentIdYesScalekit environment id. Format: env_<id>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.3

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description discloses that results are returned newest first, one page at a time, and that each row includes connection ID, name, connector, auth type, and auth mode. It also states the OAuth token requirement and the SSO exclusion, which are meaningful behavioral constraints. This adds substantial context beyond what the annotations alone provide.

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?

The description is four sentences, front-loaded with the core action and scope. Each sentence adds useful information: sort order and pagination, row fields, related-tool routing, and an auth requirement. There is no redundant wording or repetition of the tool name.

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 read-only list tool with no output schema, the description supplies the essential context: scope is one environment, results are paginated and newest first, row fields are named, SSO connections are excluded, an alternative tool is identified, and OAuth is required. The schema covers parameter details, so the description does not need to repeat them. Nothing critical for correct invocation appears to be 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?

The input schema already documents all five parameters at 100% coverage, including query, pageSize, connector, pageToken, and environmentId. The description does not add parameter-specific meaning beyond the schema, such as query matching rules or connector examples. With full schema coverage, a baseline score of 3 is appropriate.

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: list AgentKit connections in one environment. It immediately distinguishes the tool from related tools by saying it does not list SSO connections and pointing to list_environment_connections instead. This makes the tool's scope clear without needing to open 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 gives explicit usage guidance: use get_agentkit_connection to read a single connection's settings, and use list_environment_connections for SSO connections. It also states that the caller's OAuth token is required, which is important context for invoking the tool. These conditions cover the main when-to-use and when-not-to-use decisions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.