Skip to main content
Glama

aiworkhub_dashboard_initialize

USER WRITE: initialize or repair the active repository's canonical .aiworkhub stores and Source Graph directory.

Instructions

USER WRITE: initialize or repair the active repository's canonical .aiworkhub stores and Source Graph directory.

Use this when aiworkhub_dashboard_health reports storage not_initialized; use aiworkhub_dashboard_health or aiworkhub_dashboard_snapshot for read-only status checks. Bound to AIWORKHUB_REPO_ROOT, verifies repo_id against any existing manifest, idempotently provisions the project manifest, storage registry, SQLite stores, and Source Graph directory without deleting legacy files, and invalidates storage telemetry.

Input Schema

NameRequiredDescriptionDefault
repo_idNostr optional expected repository ID (default ""); when valid, must match any existing manifest or initialization fails closed.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.62
    • addedInput schema / properties / repo_id / description
      Added value: +"str optional expected repository ID (default \"\"); when valid, must match any existing manifest or initialization fails closed."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses repo-root binding, fail-closed repo_id verification against an existing manifest, idempotency, non-destruction of legacy files, and telemetry invalidation. That is exactly the mutation-risk context an agent needs before invoking a write tool.

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 write classification and purpose, followed by the trigger condition before the mechanics, which is the right ordering. The final sentence is a long clause chain covering five separate behaviors, which is dense though not wasteful.

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?

An output schema exists so return values need not be explained, and the description covers the operational envelope: prerequisite state, failure mode, idempotency, and non-destructive guarantees. Nothing an agent needs to call this correctly is missing.

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 the single repo_id parameter is fully documented in the schema, including the fail-closed default behavior. The description restates the manifest-match requirement but adds no new syntax or format detail, 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?

States a specific verb (initialize or repair) and a specific resource set (the .aiworkhub stores and Source Graph directory of the active repository). The 'USER WRITE' prefix and the explicit contrast with aiworkhub_dashboard_health / aiworkhub_dashboard_snapshot make it distinguishable from siblings at a glance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit trigger condition: use when aiworkhub_dashboard_health reports storage not_initialized. Also names the alternatives for read-only status checks, so the agent knows both when to pick this tool and when not to.

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

Deploy Server

Other Tools