Skip to main content
Glama

CDD maturity score

docguard_score
Read-onlyIdempotent

Calculate a project's CDD maturity score (0-100), with letter grade and per-category breakdown, to assess documentation governance readiness.

Instructions

Compute the project's CDD maturity score (0-100) with letter grade and per-category breakdown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectDirNoProject to inspect: a directory inside the directories this server serves (absolute, or relative to the served directory). Defaults to the served directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.43.0
    • changedInput schema / properties / projectDir / description
      Previous value: -"Path to the project to inspect (absolute, or relative to the server's working directory). Defaults to the working directory the server was started in."New value: +"Project to inspect: a directory inside the directories this server serves (absolute, or relative to the served directory). Defaults to the served directory."
  2. First observedv0.30.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so safety is covered. The description adds genuine value by disclosing the return contents (0-100 score, letter grade, per-category breakdown), which no output schema provides.

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?

One sentence, front-loaded with the core verb and result, with the output shape appended compactly. No filler or redundancy.

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?

For a read-only single-parameter tool with no output schema, the description covers purpose and return shape adequately. It could mention the served-directory context or prerequisites, but nothing critical to correct invocation 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?

There is a single parameter and the schema describes it fully (100% coverage), including the base-directory fallback behavior. The description adds nothing beyond this, so the baseline 3 for high-coverage schemas is appropriate.

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?

States a specific verb ('Compute') and resource ('the project's CDD maturity score') plus the output shape (0-100, letter grade, per-category breakdown). It is clearly distinct from the verify/guard/report/read siblings, though it never names a sibling to contrast against.

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

Usage Guidelines2/5

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

No indication of when to reach for docguard_score versus docguard_report, docguard_diagnose, or docguard_explain. The agent must infer from the name alone that this is a scoring/assessment entry point rather than a diagnostics or reporting one.

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