Skip to main content
Glama
krovacloud

@krovacloud/mcp

Official

Create TCP Mapping

create_tcp_mapping

Expose a Cube TCP port on the host and control access by specifying allowed IPs or CIDRs, enabling secure external connections to services running inside the Cube.

Instructions

Expose a Cube TCP port on the host, optionally restricted to specific IPs/CIDRs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cubeIdYesThe Cube id to operate on.
spaceIdNoKrova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default.
cubePortYesThe in-Cube port to expose.
whitelistIpsNoDeprecated alias for whitelistedIps. Accepted so existing agent prompts keep working; prefer whitelistedIps.
whitelistedIpsNoOptional IP/CIDR allow-list restricting who can reach the mapping.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.6

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already indicate a non-readonly, non-idempotent mutation, and the description adds the optional restriction context. However, it does not disclose side effects such as port binding behavior, duplicate mapping results, or what the response contains.

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?

A single front-loaded sentence communicates the core action and the key optional behavior with no filler. Every word earns its place.

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

Completeness3/5

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

The definition is minimally viable: parameter semantics are covered by the schema and safety traits by annotations, but there is no guidance on expected output, side effects, or when this tool should be preferred over list/delete mapping operations.

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 description coverage is 100%, so the schema already documents all five parameters. The description's mention of IP/CIDR restrictions is useful but largely redundant with the whitelistedIps schema description.

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 uses a specific verb ('Expose') with a clear resource ('a Cube TCP port on the host') and mentions the optional IP/CIDR restriction. This clearly distinguishes it from the sibling list_tcp_mappings and delete_tcp_mapping tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for exposing a port, but it gives no explicit when-to-use guidance, prerequisites, or contrasts with sibling tools. It is adequate but does not actively route the agent toward or away from alternatives.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krovacloud/krova-node'

If you have feedback or need assistance with the MCP directory API, please join our Discord server