Skip to main content
Glama
razvanmacovei

Multi Cluster Kubernetes MCP Server

k8s_set_resources_for_container

Set CPU and memory resource limits and requests for containers in Kubernetes deployments, statefulsets, or daemonsets across multiple clusters.

Instructions

Set resource limits and requests for containers in a deployment, statefulset, or daemonset. Example: limits={'cpu': '500m', 'memory': '256Mi'}, requests={'cpu': '100m', 'memory': '128Mi'}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitsNo
contextYes
requestsNo
namespaceNo
containersNo
resource_nameYes
resource_typeYes
Behavior2/5

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

No annotations provided; description only states it sets resources, lacking disclosure of idempotency, merge vs overwrite behavior, authorization needs, or effects on running pods.

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?

Two concise sentences with a helpful example. No fluff, every element serves a purpose.

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

Completeness2/5

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

Given 7 parameters and no output schema, description leaves significant gaps: missing explanation of how 'containers' works, namespace behavior, or return values. Lacks completeness for reliable agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Provides example for 'limits' and 'requests' parameters but does not explain other key parameters (context, resource_type, resource_name, namespace, containers). Schema description coverage is 0%, so description should compensate but falls short.

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?

Description clearly states the action (set resource limits and requests) and specific target resource types (deployment, statefulset, daemonset). Distinguishes from sibling tools like k8s_update_resources by focusing on container resource settings.

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?

Implied usage from mentioning supported resource types, but no explicit guidance on when to use this tool versus alternatives (e.g., k8s_update_resources) or when not to use it.

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

Install Server

Other Tools

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/razvanmacovei/k8s-multicluster-mcp'

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