Skip to main content
Glama

update_namespace

Update resource quotas or storage policy for an existing vSphere Namespace. Only specified fields are modified; others keep current values.

Instructions

[WRITE] Update resource quotas or storage policy of an existing vSphere Namespace.

Only the fields you provide are patched; omitted fields keep their current values. If no field is provided, returns status "no_changes" without calling the API. On success returns {namespace, status: "updated"}. Applies immediately (no dry_run); not destructive. Audited to ~/.vmware/audit.db (SQLite) and ~/.vmware-vks/audit.log (JSON Lines). Use create_namespace for new namespaces; use list_supervisor_storage_policies to find valid storage_policy values.

Args: name: Existing namespace name (discover via list_namespaces). cpu_limit: New CPU limit in MHz. Omit to keep current. memory_limit_mib: New memory limit in MiB. Omit to keep current. storage_policy: New storage policy name. Omit to keep current. target: Name of a vCenter entry in ~/.vmware-vks/config.yaml. Omit to use the default target defined in that file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
targetNo
cpu_limitNo
storage_policyNo
memory_limit_mibNo
Behavior5/5

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

Beyond annotations (readOnlyHint=false, destructiveHint=false), the description details: patch semantics, no-change behavior, success response format, immediate application, non-destructive nature, and audit logging to specific files. No contradictions with annotations; in fact, it reinforces them.

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 well-organized with a clear heading, bullet points for behavior, usage guidance, and a structured Args section. No redundant sentences; every part serves a purpose.

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?

Given the tool's 5 parameters, patch semantics, and no output schema, the description covers all necessary aspects: purpose, patching behavior, edge cases (no fields), return format, audit trail, and parameter hints. It is fully complete for an agent to correctly invoke the tool.

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

Parameters5/5

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

Schema has 0% description coverage, but the tool's description documents all 5 parameters with meaningful context: source for name, units for cpu_limit and memory_limit_mib, storage_policy reference, and target config file location. This fully compensates for missing schema descriptions.

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 opens with '[WRITE] Update resource quotas or storage policy of an existing vSphere Namespace,' clearly stating the action (Update) and the target (existing vSphere Namespace). It distinguishes itself from siblings like create_namespace and list_namespaces by specifying the tool is for updates only.

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 explicitly guides when to use this tool vs alternatives: 'Use create_namespace for new namespaces; use list_supervisor_storage_policies to find valid storage_policy values.' It also explains the patch behavior, which helps with proper usage.

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/zw008/VMware-VKS'

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