Skip to main content
Glama

test_gaps

Suggests missing test cases for a task by checking for untested failure paths, boolean parameters, HTTP network failures, and conditional branches.

Instructions

Suggest missing test cases for a task.

Checks for missing failure tests, untested boolean params, HTTP calls without network failure tests, and conditional usage.

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "test_gaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
nameYes
categoryNomanaged

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the analysis scope (which gap categories are inspected), which is genuine behavioral content, and 'Suggest' implies a non-mutating advisory output. However, it never states that the tool is read-only, whether it needs the task to exist first, or what happens when the task name is not found.

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?

Front-loaded with the purpose sentence, then a compact check list, then a conventional Args block. The awkward line break mid-sentence in the check list costs a little polish, but nothing is redundant.

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?

An output schema exists, so return values need not be explained, and all three parameters are covered. What is missing is the operational context an agent needs to act: whether this is purely read-only, whether it requires the task to exist, and how it differs from the coverage sibling.

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 largely does: it documents all three parameters, supplies the allowed values for 'category' ('managed', 'internal', 'collector') and 'env' ('development', 'staging', 'production') that the schema lacks, and explains that empty env means latest. Only the default of 'category' to 'managed' is left to 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?

States a specific verb and resource ('Suggest missing test cases for a task') and enumerates the gap classes it detects: missing failure tests, untested boolean params, HTTP calls without network failure tests, and conditional usage. This is far more than a restatement of the name, but it never distinguishes itself from the adjacent sibling 'test_coverage', so an agent must infer the boundary.

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?

There is no explicit when-to-use statement, no when-not-to-use, and no named alternative among siblings like test_coverage or show_tests. The usage is only inferable from the enumeration of checks, leaving the agent to guess whether this is a diagnostic pass or a substitute for the coverage tool.

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