Skip to main content
Glama

set_space_homepage

Assign an accessible page as a space's home page. Use it to control which page users land on when they open a Docmost space.

Instructions

Set a space's home page. The page must be accessible to the current user.

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_id": "<page_id>"
    },
    "name": "set_space_homepage"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesPage UUID or slugId
space_idYesUUID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description carries most of the behavioral burden. It discloses the accessibility precondition, but is silent on the key side effect an agent needs to know: that setting a homepage replaces any existing one, and whether that prior setting is recoverable. With such thin annotations, that gap matters.

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?

Two short sentences, with the action front-loaded and the constraint immediately following. Nothing is padded or repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema, the description covers what the tool does and one prerequisite. It is still missing required-permission context and any statement about what happens to the previously configured homepage, which an agent would need before calling it confidently.

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%, documenting page_id as 'Page UUID or slugId' and space_id as 'UUID or slug'. The description adds no parameter meaning beyond that, which is the expected baseline when the schema already does the work.

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: 'Set a space's home page.' That is unambiguous and distinct from sibling operations such as update_space or move_page_to_space. It stops short of explicitly contrasting itself with those siblings, which keeps it at 4 rather than 5.

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?

'The page must be accessible to the current user' is a precondition for correct invocation, which is genuinely useful. However, it does not say when to use this instead of, say, update_space, nor does it state the permission level (admin/owner) generally required to change a space homepage.

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