Skip to main content
Glama

Set Workspace Language

set_workspace_language

Change the default workspace language for new members without affecting existing members. Requires Docmost 0.98+ and workspace admin or owner rights.

Instructions

Change the default workspace language for new members; existing members keep their language. Needs Docmost 0.98+ and workspace admin or owner rights.

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": {
      "locale": "<locale>"
    },
    "name": "set_workspace_language"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeYesThe default language for new members.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world write. The description meaningfully adds behavioral context beyond that: the limited blast radius (existing members unaffected), the minimum Docmost version, and the authorization level required. It stops short of describing whether the change is reversible or what the response confirms, which keeps it at a 3 rather than higher.

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?

Two tightly packed sentences with no filler, and the effect scope is front-loaded before the prerequisites. The prerequisite clause is compact and earns its place, though the semicolon-separated structure makes the version and permission requirements easy to skim past.

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?

For a single-parameter, enum-constrained write tool with annotations and an output schema present, the description covers everything an agent needs: what changes, who is affected, version constraint, and required privilege. Nothing material is left to inference.

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 description coverage is 100% and the single locale parameter is fully enumerated with a description, so the schema already carries the parameter's meaning. The description's restatement that it is the default language for new members adds only marginal reinforcement, consistent with the baseline 3 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Change') and resource ('default workspace language') with its scope immediately qualified as applying to new members only. That scope qualifier also implicitly separates it from the read-only sibling get_workspace_language, so an agent can route correctly without opening either schema.

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?

Gives clear application context: the change affects new members while existing members retain their language, and it states the Docmost version floor plus the admin/owner permission requirement. It does not explicitly name an alternative tool, but for a one-of-a-kind setter the prerequisites and effect scope supply the decision criteria an agent needs.

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