Skip to main content
Glama

get_workspace

Read-only

Get a workspace: its name, region, key prefix, limits and status.

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": "get_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the shape of the returned data (name, region, key prefix, limits, status), but says nothing about permissions, behavior for unknown ids, or limits semantics.

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?

One tightly written sentence with the resource and the retrieved fields front-loaded. Nothing extraneous and nothing under-specified relative to its length.

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 simple single-parameter read tool with rich annotations and an available output schema, the description supplies sufficient scope. The minor gap is that it does not clarify access requirements or behavior when the workspace is missing.

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?

There is a single required parameter with 100% schema description coverage ("`ws_…`"), so the schema carries the burden and the description adds no further meaning about the workspace_id format or source. Baseline 3 applies when the schema does the heavy lifting.

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 (get) and resource (workspace) and enumerates what the caller obtains: name, region, key prefix, limits, status. That distinguishes it plainly from create_workspace/delete_workspace/update_workspace, though it never explicitly contrasts with them.

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?

Usage is only implied: fetch a single workspace by its id. There is no explicit when-to-use guidance, no mention of when to prefer a sibling (e.g., get_account or get_organization) and no stated prerequisites or error conditions.

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