Delimit Tdqs Lint
delimit_tdqs_lintScore MCP tool docstrings against 6 TDQS quality dimensions to catch low-quality descriptions before publication. Performs read-only static analysis on Python files via ast, with no side effects.
Instructions
Score MCP tool docstrings against the 6 TDQS dimensions (LED-2108).
When to use: as a CI gate before publishing the MCP server, to catch low-quality tool descriptions. Operates on any Python file with @mcp.tool()-decorated functions.
When NOT to use: for runtime tool selection or policy decisions — TDQS grades documentation, not behaviour. Use delimit_lint for OpenAPI specs and delimit_gov_evaluate for policy-class decisions.
Sibling contrast: unlike delimit_lint (OpenAPI specs) and delimit_spec_health (spec quality scoring), this scores Python source against Glama's Tool Definition Quality Score rubric.
Side effects: none. Pure read-only static analysis via ast (no import, no execution). Does not write ledger, evidence, or notify.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delimit_tdqs_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| human | No | If True, include a human-readable "report" string in the response. Default False (JSON-only is cheaper for CI pipes). | |
| target_file | No | Path to a Python file with @mcp.tool() decorators. Default "ai/server.py", resolved against cwd. | ai/server.py |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||