Skip to main content
Glama

check_space_health

Read-only

Identifies wiki hygiene problems in a space by flagging stale pages, empty or short pages, and duplicate titles so you can clean up documentation.

Instructions

Find likely wiki hygiene issues in a space: stale pages, empty/very short pages and duplicate titles. Metadata only by default; min_chars > 0 fetches each scanned page body. Bounded by max_pages.

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>"
    },
    "name": "check_space_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
space_idYesUUID or slug
max_pagesNoMax pages to scan (default 200)
min_charsNoFlag pages whose body is shorter than this (needs body fetch; default 0 = off)
stale_daysNoFlag pages untouched for more than this many days (default 180)

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?

With readOnlyHint=true already covering safety, the description still adds real behavioral context: results are metadata-only unless min_chars > 0, in which case each scanned page body is fetched (an expensive side effect), and the scan is bounded by max_pages. That cost/scope disclosure is exactly what an agent needs before invoking. It stops short of saying how results are grouped or truncated.

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 tight sentences, front-loaded with what is found, followed by the cost model and the bounding constraint. No filler, no restatement of the tool name.

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 read-only scan tool with no output schema, the description should say what comes back (per-category lists? counts? page IDs? whether duplicates are reported as groups). The behavioral and bounding information is solid, but the result shape an agent must parse is left undocumented.

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 coverage is 100% and each parameter already carries a description, including 'needs body fetch; default 0 = off' for min_chars and 'Max pages to scan (default 200)' for max_pages. The description restates those same facts rather than adding syntax, interaction, or edge-case meaning, so the baseline 3 applies.

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?

The description names a specific verb (find) and resource (wiki hygiene issues in a space), then enumerates the three concrete checks: stale pages, empty/very short pages, duplicate titles. That is far more specific than any sibling such as get_space or get_breadcrumbs, so an agent can identify it 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the default-mode statement ('metadata only by default') and the conditional 'min_chars > 0 fetches each scanned page body', which tells an agent when to pay the body-fetch cost. However, there is no explicit when-to-use/when-not guidance and no routing to alternatives (e.g., get_space for a single space's metadata, or a per-page tool for deep inspection), so the agent must infer fit.

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