Skip to main content
Glama

Set Space Homepage

set_space_homepage

Sets the page displayed when a space opens, or clears it to show the space overview; requires space admin rights and Docmost 0.98+.

Instructions

Choose the page shown when opening a space, or pass page=null for the space overview. The page must be in that space. Needs Docmost 0.98+ and space admin 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": {
      "space_id": "<space_id>",
      "page": "<page>"
    },
    "name": "set_space_homepage"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesPage id, slug id or URL; null resets to the overview.
space_idYesSpace id from list_spaces.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare this is a non-destructive, non-read-only mutation, and the description adds what annotations cannot: a version floor, an admin-rights requirement, and the validation rule that the page must belong to the target space. The description does not say what error or result occurs when the page is not in the space, which keeps it from a 5.

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?

Three short sentences with zero padding, front-loading the core action before the reset case and the prerequisites. Nothing could be removed without losing information.

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?

With an output schema present, return values need not be explained, and both parameters are documented. The description covers permissions, version compatibility, and a key validation constraint, leaving only error behavior undocumented for a small two-parameter mutation.

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 would be 3, but the description adds a real constraint absent from the schema: the page must be inside the target space. The null-resets-to-overview phrasing largely restates the schema's own page description, adding modest value.

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 states a specific verb and resource: choosing the page that opens with a space, with the null case representing the space overview. It's unambiguous what the tool sets, though it never explicitly contrasts itself with siblings like update_space that also mutate a space.

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?

It gives clear context for use (setting what is shown when opening a space), the alternative behavior for resetting to the overview, and prerequisites in the form of Docmost 0.98+ and space admin rights. It stops short of naming a sibling tool or exclusion case for when another tool would be the right choice.

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