Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

create_virtual_mcp_server

Creates a virtual MCP server that bundles actions from one or more AgentKit connections behind a single MCP URL and returns the server ID and URL.

Instructions

Create one virtual MCP server that offers actions from one or more AgentKit connections behind a single MCP URL. Use list_agentkit_connections for connection names and search_tools for action names; leave tools out to include every action of a connection. Returns the server ID and its MCP URL. The name cannot be changed later. 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": "<name>",
      "connections": "<connections>"
    },
    "name": "create_virtual_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesLowercase letters, digits, hyphens and underscores. Cannot be changed later.
connectionsYesConnections to include. Leave tools out of an item to include every action of that connection.
descriptionNoWhat the server is for.
toolExposureNoDIRECT: every selected action is its own MCP tool, up to 25 connections. META: five discovery tools, no connection limit.DIRECT
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?

Annotations only say this is a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds the return contract (server ID and MCP URL), the auth requirement (caller OAuth token), and the irreversible consequence (name cannot be changed later) — all beyond what annotations convey. It does not cover failure modes or the effect of name collisions, which is the main remaining gap.

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 tight sentences, front-loaded with the what and immediately followed by the where-to-get-inputs and what-comes-back. Minor redundancy: 'leave tools out to include every action of a connection' restates the schema's own description of the tools field.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by naming the exact return values. For a five-parameter mutation with full schema coverage and non-destructive annotations, the remaining omission — permission scope of the OAuth token and behavior on duplicate names — is minor.

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?

Adds provenance for two parameters that the schema names but cannot source: where connection names come from (list_agentkit_connections) and where action names come from (search_tools). Also flags the immutability of 'name' at the top level. The toolExposure trade-off is left entirely to the schema, so it is not fully additive.

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?

States a specific verb (create) and resource (virtual MCP server) plus the defining scope: aggregating actions from one or more AgentKit connections behind a single MCP URL. That is clearly distinct from get/update/delete_virtual_mcp_server, though it does not differentiate itself from register_mcp_server, which is the nearest ambiguous sibling.

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?

Gives concrete prerequisites by naming list_agentkit_connections for connection names and search_tools for action names, and explains the default behavior when 'tools' is omitted. It does not state when not to use it (e.g., versus register_mcp_server or update_virtual_mcp_server), but the forward guidance is strong.

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