Skip to main content
Glama

update_workspace

Idempotent

Rename a workspace. Needs an organization key, the workspace's own key, or workspace:manage in it.

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": {
      "workspace_id": "<workspace_id>",
      "name": "<name>"
    },
    "name": "update_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesIts new name, 1 to 64 characters.
workspace_idYes`ws_…`.

Output Schema

NameRequiredDescriptionDefault
idYes`ws_…`; it starts with its region's code, such as `ws_use_…` for `us-east`.
nameYesWhat it's for, such as "Production" or "Acme".
regionYesIts home region, where its data lives and its renders run.
statusYes`deleting` once it's deleted, until it's purged or restored.
purge_atNoWhen a deleted workspace is purged, with everything in it (RFC 3339); absent unless it's `deleting`.
created_atYesRFC 3339.
key_prefixYesWhat its API keys start with: `sk_live_`, `sk_test_` or `sk_`.
organization_idYesThe organization it belongs to, `org_…`.
rate_limit_per_minuteYesRequests per minute its keys may make, together.
monthly_spend_cap_centsNoThe most its billable work may cost per calendar month, in USD cents; none when absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious context — the exact credential/permission needed to invoke it — which the annotations do not carry. It still says nothing about name-uniqueness conflicts, failure behavior, or that other workspace settings are left untouched.

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 short sentences, zero filler, with the action stated first and the prerequisite second. Every clause earns its place.

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?

For a two-parameter mutation tool with full schema coverage, annotations, and an output schema, the description covers what it does and what credentials it needs. The remaining gap — collision/duplicate-name handling and confirmation of what is *not* changed — is a modest omission rather than a blocking one.

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% (the `name` parameter documents the 1–64 character bound and `workspace_id` documents the `ws_…` format), so the schema does the heavy lifting. "Rename" implies which parameter carries the change but adds no format, constraint, or conflict semantics beyond the schema.

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 and resource ("Rename a workspace") and usefully narrows the broader tool name update_workspace to the single operation actually supported, which the schema confirms (only a `name` parameter). It aligns against obviously distinct siblings such as delete_workspace and get_workspace, though it never explicitly contrasts with update_organization.

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 second sentence supplies a concrete prerequisite: an organization key, the workspace's own key, or `workspace:manage`. That is authorization context rather than when-to-use guidance, and no alternative tool or exclusion condition is named, so usage must be inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources