Skip to main content
Glama

qikly_score

Scores how well existing Python tests catch bugs by planting small faults in a temporary code copy, running tests, and reporting unnoticed faults; returns a score_id to poll.

Instructions

Answer 'how good are my tests?' for a Python module you already have. Plants small faults in a temporary copy of the code, runs your existing tests against each, and reports which faults no test noticed. Free: no model call, no API key, and none of your files are modified (a report is written to qikly-suite-score/ in the project, and paths inside outputs/ are refused). Returns a score_id immediately and does NOT wait: scoring takes seconds to over an hour. Poll qikly_score_result with the returned score_id. Returns {ok, score_id, state, next}, or {ok: false, error} if a path does not exist or an argument is invalid.

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": {
      "code_path": "<code_path>"
    },
    "name": "qikly_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
mutantsNoOptional. How many faults to plant. Left out, qikly plants every fault it can up to its own cap, and samples only when the test suite is slow.
code_pathYesThe Python module (.py) or folder to plant faults in, absolute or relative to the project root.
tests_pathNoOptional. The test file or folder that should notice the faults. Left out, qikly finds the test files that import the code.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.6

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses write side effects (a report directory is created in the project), a safety guard (paths under outputs/ are refused), cost and auth profile (no model call, no API key), and expected latency ranging from seconds to over an hour. The async contract and error return shape are spelled out, and none of this contradicts readOnlyHint=false / destructiveHint=false.

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 definition is dense and front-loaded with the core mechanism before cost, side effects, and the async/polling contract. Every sentence carries operational information, though the opening "how good are my tests?" framing is slightly informal for a tool that also accepts code and test paths.

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

Completeness5/5

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

For a long-running, file-writing mutation-testing tool with an output schema, the description covers latency, the polling requirement, the success and error return shapes, and the side-effect footprint. Nothing an agent needs in order to invoke it and handle the response is missing.

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%, so the schema already explains code_path, tests_path, and the mutants sampling behavior. The description adds only the additional constraint that outputs/ paths are rejected, which is a useful but small increment over structured data.

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 names a concrete mechanism — plant faults in a temporary copy, run existing tests, report unnoticed faults — which is a specific verb+resource rather than a restatement of the name. It also implicitly separates itself from the synchronous siblings by declaring it does not wait and must be paired with qikly_score_result.

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

Usage Guidelines4/5

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

It states the precondition clearly ("a Python module you already have") and routes the agent to the required follow-up call, qikly_score_result, with the returned score_id. It does not contrast against qikly_run, qikly_validate, or qikly_scaffold, so the agent must infer which sibling is the right entry point for other needs.

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