Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

get_agentkit_connection

Read-onlyIdempotent

Retrieve an AgentKit connection by name or ID to view its OAuth settings, scopes, and MCP URL. Use it to inspect connection configuration without exposing the client secret.

Instructions

Read one AgentKit connection by name or ID, including its OAuth settings, scopes and MCP URL. The client secret is never shown. Use list_agentkit_connections to find a name. 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>",
      "connection": "<connection>"
    },
    "name": "get_agentkit_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionYesConnection name or ID (conn_...).
environmentIdYesScalekit environment id. Format: env_<id>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.3

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent and non-destructive, so the bar is lower, and the description still adds real value: it discloses that the client secret is never returned and that a caller OAuth token is required. It also lists what the response contains, which compensates for the absence of an output schema; only minor gaps remain, such as what happens when the connection is not found.

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?

Three short sentences, front-loaded with the core action and followed by the response contents, the safety note and the lookup alternative. Every sentence carries information; nothing is padding. Slightly tighter grouping of the auth and secret notes would make it a 5.

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 simple two-parameter read with no output schema, the definition covers action, identifier forms, response fields, the secret-redaction constraint and the auth requirement. An agent has everything needed to select and invoke it correctly without further inference.

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 both parameters carry their own descriptions, including the 'conn_...' ID format and the env_ pattern. The description's 'by name or ID' merely restates the schema rather than adding syntax, format or precedence rules for when both forms are ambiguous, so the baseline of 3 applies.

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 gives a specific verb and resource ('Read one AgentKit connection') plus the lookup key ('by name or ID') and the returned content ('OAuth settings, scopes and MCP URL'). That is enough to separate it from list_agentkit_connections, but it never explicitly contrasts itself with retrieval siblings such as get_connector or get_environment_credentials.

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 names a concrete alternative and the condition that selects it: 'Use list_agentkit_connections to find a name.' It also states the auth prerequisite ('Requires the caller OAuth token'). What is missing is any explicit when-not guidance, e.g. that this is the wrong tool for enumerating connections in an environment.

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