Tool Definition Quality Score (TDQS)
FreeOpen framework for scoring MCP tool definitions for AI agents
About Tool Definition Quality Score (TDQS)
TDQS (Tool Definition Quality Score) is an open framework for scoring how well an MCP tool definition communicates to an AI agent. Developed by Glama, it is used to score every tool of every MCP server and hosted connector in its registry. The framework is a complete specification including a rubric, exact prompts, aggregation formulas, and operational practices for running at registry scale. It scores tool definitions based on a four-stage pipeline: context signals, hard gates, LLM rubric evaluation, and deterministic post-processing. The goal is to provide an explainable, reproducible, and cheap quality signal for ranking and recommending MCP servers. TDQS is motivated by empirical studies showing that 97% of tool descriptions contain defects and that well-written descriptions significantly improve tool selection and task success.
Key Features
Pros & Cons
- Explainable scores with per-dimension breakdowns that maintainers can act on
- Reproducible evaluation process ensures consistent results
- Cheap to run on every schema change, enabling frequent updates
- Based on empirical research on tool description defects
- Includes clear rubric and improvement checklist for developers
- Only evaluates tool definitions, not actual tool behavior or functionality
- Relies on LLM evaluation which may introduce variability