Skip to main content
Glama

production_readiness

Audit a codebase and compute an A–F production-readiness score across 10 key dimensions, with remediation guidance for each.

Instructions

Compute a production-readiness scorecard (A–F grade) across 10 dimensions: package.json, lock file, README, .gitignore, ESLint, TypeScript strict mode, tests, CI/CD, .env safety, build script. Includes remediation guidance per item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full burden. 'Compute' suggests a read-only analysis and the mention of 'remediation guidance' indicates the output includes advice, but the description does not explicitly state whether the tool modifies any files, requires existing configuration files, or has any side effects. It gives a basic behavioral profile but omits details about auth, rate limits, or destructive actions, which are not relevant here but still lacks explicit 'read-only' or 'no modifications' language.

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?

The description is a single, information-dense sentence with no filler. It leads with the core purpose, enumerates the 10 evaluated dimensions for clarity, and ends with the remediation guidance feature. Every phrase earns its place, and the structure front-loads the action and resource before detailing scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description adequately conveys the output (scorecard with grade and remediation guidance) and the scope (10 dimensions). However, with no output schema or annotations, it does not explain the return format (text vs. structured JSON), the meaning of `cwd` and its default behavior, or any prerequisites like the project being a Node.js repository. These are meaningful gaps for a tool that presumably inspects a filesystem, but the description still covers the main outputs and scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single optional string parameter `cwd`. The description does not mention `cwd` at all, so it fails to compensate for the lack of schema documentation. While `cwd` is a common parameter name meaning 'current working directory', its specific role in this tool (e.g., the directory to analyze) is left to inference. The description adds no semantic value beyond what the parameter name already suggests.

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?

The description clearly states the tool computes a production-readiness scorecard with an A–F grade and enumerates 10 specific dimensions (package.json, lock file, README, etc.). It distinguishes itself from sibling check tools like check_tests or check_cicd by covering a holistic assessment rather than a single check. The verb 'Compute' and resource 'scorecard' are specific and unambiguous.

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

Usage Guidelines3/5

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

The description implies usage (when you want an overall production-readiness score) but does not explicitly state when to prefer this over sibling tools like audit_codebase or check_security, nor does it give exclusions such as 'for individual checks use check_tests'. The broad scope is clear, but there is no direct guidance on tool selection or conditions for invoking this tool versus alternatives.

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