Skip to main content
Glama

hygiene

Check an initiative's node and core counts, when the last pass ran, whether one is due, and what the next pass would move; optionally run one now.

Instructions

Hygiene status for an initiative: node and core counts, when the last pass ran, whether one is due, and exactly what the next pass would move. Passes run on their own — when writes accumulate, when core grows past its threshold, or on the sweep timer — and only ever change a node's layer, reversibly. force=true runs one now.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoRun a pass now instead of reporting what one would do.
initiativeYesInitiative to report on, or to sweep when `force` is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.5

TDQS

A4/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so well: it discloses that passes are self-triggering, names the three trigger conditions, scopes the mutation to 'only ever change a node's layer', and explicitly states the change is reversible. That is precisely the safety-relevant context an agent needs before calling with force=true.

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 sentences, front-loaded with the report contents before the behavioral mechanics and the force override. Every clause earns its place — counts, timing, due state, projection, triggers, mutation scope, reversibility — with no filler.

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 no output schema, the description usefully compensates by enumerating the report's contents, and it fully explains the one non-obvious parameter. It stops short of describing the report's structure or any permission/auth requirements, but for a two-parameter read-mostly tool this is close to complete.

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%, so both parameters are already documented in the schema, and the description's '`force=true` runs one now' largely restates the schema's own wording. It adds no format, default, or interaction detail beyond what is structured, so the baseline of 3 applies.

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 names a specific verb and resource ('Hygiene status for an initiative') and enumerates exactly what the report contains: node and core counts, last pass time, due status, and projected next-pass movement. It is unambiguous on its own, though it never explicitly contrasts itself with nearby siblings such as `lint` or `policy`.

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?

It explains that passes run automatically (on write accumulation, core threshold, or sweep timer) and that `force=true` triggers one now, which gives the agent context for the force flag. However, it never states when to reach for this tool versus `lint`, `overview`, or `history`, so the base read use case is only implied.

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