Skip to main content
Glama

qikly_run

Destructive

Start a task run and immediately return a run ID for polling status; use it to launch pytest-suite generation from withheld acceptance criteria without blocking.

Instructions

Start a qikly run for one task and return its run id immediately. This does NOT wait for the run: a run takes minutes to hours. Poll qikly_status with the returned run_id. The acceptance criteria are never returned by any qikly tool, because the agent writing the code must not see them. Returns {ok, run_id, state, next}, or {ok: false, error} if the task is not found 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": {
      "task_id": "<task_id>"
    },
    "name": "qikly_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional model override.
task_idYesThe task_id to run, as named in inputs_private/config/tasks/
providerNoOptional. Defaults to the project's setting.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.6.6
    • addedInput schema / properties / model / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / model / description
      Added value: +"Optional model override."
    • removedInput schema / properties / model / type
      Removed value: -"string"
    • addedInput schema / properties / provider / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / provider / description
      Added value: +"Optional. Defaults to the project's setting."
    • addedInput schema / properties / provider / enum
      Added value: +[
      +  "gemini",
      +  "openai",
      +  "anthropic"
      +]
    • removedInput schema / properties / provider / type
      Removed value: -"string"
    • addedInput schema / properties / task_id / description
      Added value: +"The task_id to run, as named in inputs_private/config/tasks/"
  2. First observedv0.6.5

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the flags (readOnlyHint=false, destructiveHint=true, openWorldHint=true, idempotentHint=false); the description adds real context beyond them: the run is asynchronous and takes minutes to hours, the result must be polled, and error shapes are given for missing task or invalid arguments. It does not explain what makes the operation destructive (workspace mutation, cost, credit consumption) or whether it is safe to re-invoke, which is a notable gap given destructiveHint=true and idempotentHint=false.

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

Conciseness5/5

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

Front-loaded with the action and the immediate return, then the non-blocking caveat, then the polling alternative, then the return/error contract. Every sentence carries operational information, including the deliberate warning that acceptance criteria are never exposed, which prevents an agent from hunting for them.

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?

Covers the essentials for an async job launcher: non-blocking behavior, the poll handoff, return payload fields, and error conditions, and an output schema exists so return values need not be fully spelled out. The remaining gap is the destructive/non-idempotent profile, which is asserted by annotations but never explained in the description.

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 task_id, model, and provider are already documented, including the provider enum and default. The description adds only the constraint of running exactly one task and the failure mode for an unknown task_id; it says nothing extra about when to override model or provider.

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?

States a specific verb and resource ("Start a qikly run for one task") plus the immediate return value (run id), and explicitly contrasts itself with the waiting behavior of qikly_status. An agent can distinguish this from the status/score/validate siblings without opening any schema.

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?

Gives explicit follow-up routing: after starting, poll qikly_status with the returned run_id, and clarifies that this call does not block. It lacks an explicit when-not-to-use condition (e.g., a task already running, or a task already validated), which keeps it from a 5.

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