Skip to main content
Glama

test_coverage

Shows which Tekton tasks have unit tests and how many by category and catalog environment, helping you assess coverage gaps.

Instructions

Show which tasks have unit tests and how many.

Args: category: 'managed', 'internal', 'collector', or 'all'. env: Catalog environment: 'development', 'staging', or 'production'. Empty for latest.

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": "test_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
categoryNomanaged

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; 'Show' implies a read-only query, and 'Empty for latest' usefully discloses how an omitted env resolves to the latest catalog. It omits the default category ('managed' per schema), permission requirements, and whether results are scoped or aggregated across environments — notable gaps for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in a single sentence, followed by a compact Args block with no filler. The docstring formatting is utilitarian rather than polished, but nothing is wasted.

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 two-optional-parameter read query with an output schema, the description covers purpose and both parameters adequately; return shape need not be explained since a schema exists. The missing pieces are the defaults and whether 'all' spans every category, which are minor against the tool's simplicity.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: it enumerates all four category values including the aggregate 'all' and all three env values plus the empty-for-latest convention. It stops short of stating the parameter defaults, which are visible only in the schema.

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?

A specific verb and resource: 'Show which tasks have unit tests and how many' tells an agent exactly what is returned, including the counting aspect. It does not distinguish itself from likely-adjacent siblings such as test_gaps or show_tests, so the sibling differentiation bar for a 5 is not met.

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?

The description never states when to use this tool versus alternatives, nor any prerequisites (e.g., whether an environment must be selected first). Usage is only inferable from the parameter list, which is the minimum-viable-but-unstated case.

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