Skip to main content
Glama

Get workspace config

get_workspace_config
Read-onlyIdempotent

Retrieve the workspace.toml text with inline secrets masked, its baseHash for proposing changes, the validated config summary, and the last applied or rejected reload status.

Instructions

The raw workspace.toml text (inline secrets replaced by placeholders), its baseHash for propose_workspace_change, the parsed and validated summary, and the last applied and rejected reload of the running worker.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
textYes
existsYes
summaryYes
baseHashYes
configPathYes
lastAppliedYes
lastRejectedYes
redactedSecretsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: inline secrets are replaced with placeholders (so the returned text is not byte-identical to disk) and it surfaces last applied and rejected reload outcomes of the running worker. It does not discuss size, caching, or freshness, which is a minor residual gap.

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?

A single front-loaded sentence that leads with the primary value (the raw TOML text) and then lists the companion fields, with no filler or hedging. The dense comma-separated enumeration is slightly harder to scan than separate clauses would be, which keeps it just below top marks.

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?

With an output schema, zero parameters, and full annotation coverage, the only real burden is explaining what the payload means and any transformation applied. The description does exactly that by flagging secret redaction and the reload history, leaving nothing an agent needs missing before calling it.

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?

The tool takes zero parameters, so there is no parameter meaning to convey and the baseline of 4 applies. The schema is empty and fully described, and nothing in the description mischaracterizes the calling contract.

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?

The description names the concrete resource (workspace.toml text) and enumerates exactly what the caller receives: raw text with redacted secrets, baseHash, parsed/validated summary, and last reload state. That is far more specific than a bare 'get config', though it differentiates from siblings like validate_workspace_config only indirectly through the baseHash reference rather than an explicit contrast.

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 implied rather than stated: mentioning 'its baseHash for propose_workspace_change' signals this is the read you do before proposing a change, but there is no explicit 'use this when' or 'not to be confused with validate_workspace_config' guidance. The agent must infer the workflow relationship.

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