TDQS
Open framework for scoring MCP tool definition quality.
Working when we checked on .
What is TDQS?
TDQS scores how well MCP tool definitions communicate to AI agents, since the description is the only thing an agent reads before picking a tool. It targets MCP server developers and teams gating releases in CI. It grades each tool on six weighted dimensions plus four server-level dimensions, produces a letter tier (A–F) with written justifications, and runs in a browser playground, an npm/PyPI CLI, and a hosted HTTP API. Reports include permanent pages and SVG badges, and the same numbers appear across Glama's registry of 228,369 scored tools.
TDQS pricing
Pricing model: Freemium
Free tier (30 API calls/day); CLI and playground free; no paid tier pricing disclosed
TDQS pros
- Deterministic stages are exact to the digit across implementations
- CLI can fail builds with --fail-under, gating releases on a tier
- Available on npm and PyPI; scores identical in browser, terminal, and API
- Grades six weighted tool dimensions plus four server-level dimensions with written reasons
- Every scored report gets a permanent page and an SVG badge
- Hard gates skip degenerate definitions without spending a model call
TDQS cons
- Hosted API limited to thirty calls per day per account
- Requires GitHub sign-in for the playground
- Model-graded rubric stages depend on an LLM despite deterministic scaffolding
- No pricing plans are documented
Frequently asked questions about TDQS
What does TDQS do?
It scores how well an MCP tool definition communicates to an AI agent. Code extracts schema and annotation signals, and a model grades six dimensions from 1 to 5 against published anchors, producing a score, tier, and justifications.
Who is TDQS for?
MCP server developers and teams who want to lint tool descriptions locally, gate releases in CI, and show description quality with badges in their READMEs.
What is the passing bar?
Tier B (score ≥ 3.0) is the passing bar across tools, server description quality, coherence, and the overall score. Tier A (≥ 3.5) marks a genuinely helpful definition.
How can I run TDQS?
Three ways: a browser playground with GitHub sign-in, a CLI via npx mcp-tdqs or pip, and a hosted HTTP API. All run the same reference implementation, so scores are identical wherever you submit a definition.
Can I fail a CI build on the score?
Yes. The CLI supports --fail-under, e.g. npx mcp-tdqs score --url https://mcp.example.com/mcp --fail-under B, so a release can be gated on the passing tier.
Which dimensions are measured per tool?
Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%), each scored 1–5 with a written justification.
What server-level dimensions are judged?
Four equally weighted dimensions: Disambiguation, Naming Consistency, Tool Count Appropriateness, and Completeness.
Are scores reproducible?
Deterministic stages are exact to the digit across implementations, and a hash ensures the same definition always scores the same. Rubric prompts are specified byte for byte.
What limits does the hosted API have?
The hosted API allows thirty calls per day per account. Reports are submitted and polled, and every report has a permanent page and SVG badge.
Why does description quality matter?
In a study of 856 tools across 103 servers, 97% of descriptions carried at least one defect, and well-described tools were picked about 2.6× more often. Rewriting descriptions alone lifted task success by about six points.