Skip to main content
Glama

Get workspace settings

stack_get_workspace_settings
Read-only

Read workspace settings and what is in force: for one agent account (account_id) its own settings over the customer's defaults over STACK's, or without account_id the customer's defaults. Settings are idle_pause_minutes (minutes with no action before a running workspace is paused; 0 is no idle pause), delete_after_days (days a stopped workspace is kept before it is deleted; 0 is never) and max_workspaces (how many workspaces an agent account may have that are not deleted, with no plan ceiling). Operator only; an agent cannot read or change its own.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stack_get_workspace_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNoAgent account id (acct_*) these apply to. Omit for the customer's defaults, which every agent account without its own setting uses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the settings resolution hierarchy, the semantics of each returned field including the special 0 values, and an authorization constraint (operator-only, an agent cannot read its own settings). Those permission and inheritance traits are exactly what an agent needs and are not in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the scope and resolution order, then enumerates the three settings, then the permission caveat — no filler sentences. The main body is one long run-on sentence with nested clauses, which costs a point on readability though not on economy.

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?

There is no output schema, so the description carries the burden of describing return values, and it does: it defines idle_pause_minutes, delete_after_days and max_workspaces with their units and edge-case values. Combined with the caller restriction and inheritance rules, an agent can call this correctly with nothing else.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: account_id selects an inheritance layer rather than just a filter, and omitting it returns customer defaults shared by all accounts without overrides. That reframes the parameter's effect in a way the schema description only partly conveys.

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?

States a specific verb and resource ('Read workspace settings') and immediately qualifies the scope: per-agent overrides layered over customer defaults over STACK defaults, or customer defaults alone when account_id is omitted. This contrasts cleanly with the sibling stack_set_workspace_settings, which writes the same resource.

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

Usage Guidelines4/5

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

Explicitly tells the agent when to pass account_id and when to omit it ('Omit for the customer's defaults, which every agent account without its own setting uses'). Also states the caller restriction ('Operator only; an agent cannot read or change its own'). It does not name an alternative read tool, but the parameter condition is the decisive routing rule here.

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.