Skip to main content
Glama

test_select

Selects a minimal set of tests to run based on changed files and change type, reducing test execution time while maintaining coverage.

Instructions

Choose minimum useful test set

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": {
      "scope": "<scope>"
    },
    "name": "test_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesFiles being changed
changeTypeNoType of change

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, yet it says nothing about whether the tool reads the repo, whether selection is deterministic, cost/latency, or what a 'useful' selection is optimized for. 'Minimum useful' is the sole behavioral hint and it is left undefined.

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

Conciseness3/5

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

It is a single four-word phrase with no padding, which is efficient, but the brevity comes at the cost of specification rather than being earned concision.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only place to explain what the tool returns and how the chosen test set is expressed. It leaves that entirely unstated, which is inadequate for a selection/planning tool that feeds downstream execution.

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

Parameters3/5

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

Schema description coverage is 100%, with both 'scope' (files being changed) and 'changeType' (add/modify/delete enum) documented in the schema itself. The description adds no meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Choose minimum useful test set' gives a verb (choose) and an object (test set), but 'minimum useful' is undefined and it never says what a test set consists of (test files, test cases, a command) or what drives the choice. Against siblings like impact_analyze or flow_summarize, an agent cannot tell precisely what this produces.

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, when-not-to-use, or alternative named. The only implied guidance is that this should be preferred over running the full suite, which the agent must infer from the word 'minimum'.

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