Skip to main content
Glama

show_tests

Lists all unit tests for a specified task and catalog environment, helping you inspect test coverage across managed, internal, or collector categories.

Instructions

List all unit tests for a task.

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

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.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about read-only semantics, permissions, pagination, or how many tests are returned. The one genuinely behavioral detail is 'Empty for latest' for env, which is useful but isolated.

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 in one sentence, followed by a compact args block with no filler. The docstring-style formatting is slightly verbose but each line carries information.

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?

With an output schema present, return values need no explanation, and all three parameters are addressed. The remaining gap is minor: no indication of result size, ordering, or whether category and env combine as filters.

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 enumerates the category values ('managed', 'internal', 'collector') and the env values ('development', 'staging', 'production') plus the empty-means-latest semantics, none of which the schema exposes as enums. It leaves 'name' as only 'Task name', which is thin but adequate.

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?

The description opens with a specific verb and resource ('List all unit tests') and scopes it to a task, which distinguishes it from e2e-oriented siblings like e2e_tests. It stops short of explicitly naming alternatives, but the purpose is unambiguous.

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 when-to-use guidance, no mention of when this is the wrong tool, and no reference to related tools such as test_coverage or test_gaps. The only implied condition is that a task name is required, which the schema already states.

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