Skip to main content
Glama

Set workspace guide

workspace_guide_set
DestructiveIdempotent

Set the workspace's guide: the one markdown file a workspace names as its guide. artifactId (the file's id, alias or page URL) makes that file the guide of its own workspace, replacing the current guide; workspaceId alone (its id or slug) clears the guide. Only the workspace's owner or a member of the team that owns it may (manageContext): a guest of any role is refused GUEST_FORBIDDEN (a retry changes nothing), and a key limited to reading and writing KEY_ACCESS_LIMITED. The same holds for changing, moving or deleting the guide's file (details.guide names it; a key limited to reading is refused for the write itself, with no guide named). A file that is not markdown or is in no workspace is refused INVALID_WORKSPACE_GUIDE; one in the trash is refused as deleted. Setting the current guide again changes nothing. Recorded in the workspace's history. Returns workspaceId, guide (the guide now, or null) and replaced (the file that was the guide until this call, or null).

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

Input Schema

NameRequiredDescriptionDefault
whyNoRequired for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters.
artifactIdNoThe markdown file to make the guide: its id, alias or page URL. The guide is its own workspace's, and it replaces the current guide.
workspaceIdNoThe workspace whose guide to clear (its id or its slug). Not with artifactId.

Output Schema

NameRequiredDescriptionDefault
guideYes
replacedYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters."New value: +"Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint/idempotentHint) by disclosing authorization rules, the exact GUEST_FORBIDDEN and KEY_ACCESS_LIMITED refusals, that a retry on GUEST_FORBIDDEN changes nothing, that re-setting the current guide is a no-op, that the change is recorded in history, and what a non-markdown/trashed file triggers. This is precisely the behavioral context an agent needs before a destructive, idempotent mutation.

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-loaded with the core action and the set/clear distinction, then layered with permissions and errors. It is a dense single paragraph with one tangential clause about changing, moving or deleting the guide's file, but almost every sentence carries decision-relevant information.

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 destructive, permission-gated mutation this covers action, modes, authorization, refusals, idempotency, side effects (history) and return shape, and an output schema exists so return values need not be elaborated further.

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: artifactId resolves an id, alias or page URL and implicitly selects the file's own workspace as the target, while workspaceId alone is the clear mode and is not combinable with artifactId. That relational, mutually-exclusive semantics is not fully captured by the property text.

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 ('Set the workspace's guide: the one markdown file a workspace names as its guide') and immediately clarifies the two operating modes (assign via artifactId, clear via workspaceId alone). An agent can distinguish this from the artifact_* siblings without opening the 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?

Explicitly explains when each parameter mode applies (artifactId sets and replaces; workspaceId alone clears) and covers the permission gates and refusal cases. It does not name an alternative sibling tool for related guide-file maintenance, but the in-tool routing guidance is clear.

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.