Skip to main content
Glama

qikly_scaffold

Read-onlyIdempotent

Read a Python file and generate a read-only task YAML with module path, real signatures, a guessed entrypoint, and a file seed, so you can save it for validation and test runs.

Instructions

Read a Python file and return a task YAML that tests that code: module path, real signatures, a guessed entrypoint, and a seed pointing at the file. Read-only: this tool writes nothing to disk. It returns the YAML as text, and the caller saves it as inputs_private/config/tasks/<task_id>.yaml. Use it when you have a module but no task yet; the saved task is then checked with qikly_validate and run with qikly_run. It is not qikly_score, which scores tests you already have and needs no task. The file must exist and be a .py file. requirements and acceptance_criteria are left as TODO on purpose and will not be filled in, because criteria derived from an implementation can only describe what that implementation already does. Returns {ok, task_yaml, note}.

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": {
      "file_path": "<file_path>"
    },
    "name": "qikly_scaffold"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesOne Python (.py) file that exists, absolute or relative to the project root. Its path becomes the seed in the returned YAML.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.7
    • changedInput schema / properties / file_path / description
      Previous value: -"One Python (.py) file, absolute or relative to the project root."New value: +"One Python (.py) file that exists, absolute or relative to the project root. Its path becomes the seed in the returned YAML."
  2. Changed1 schema field changedv0.6.6
    • addedInput schema / properties / file_path / description
      Added value: +"One Python (.py) file, absolute or relative to the project root."
  3. First observedv0.6.5

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, yet the description still adds real behavior: nothing is written to disk, the YAML comes back as text for the caller to save at a specific path, and the return shape is given. It also proactively explains a deliberate limitation (requirements and acceptance_criteria stay TODO and will never be filled), which prevents an agent from looping on an unmet expectation.

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 action and artifact, then usage, then exclusions, with no filler sentences. It runs slightly long for a one-parameter tool and the trailing 'Returns {ok, task_yaml, note}' partially duplicates the output schema, but the rest of the content earns its space.

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?

Covers input preconditions, the fact that output is text the caller must persist, the follow-up validation/run steps, and the intentional TODO gaps. Given that an output schema exists and the annotations carry the safety profile, nothing an agent needs in order to call this correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds the causal detail that the file path becomes the seed in the returned YAML and restates the existence and .py extension constraints. For a single-parameter tool that is meaningful added meaning beyond the schema text.

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 ('Read a Python file and return a task YAML that tests that code') and enumerates the contents of the produced artifact (module path, signatures, entrypoint, seed). It explicitly distinguishes itself from qikly_score, so an agent can separate it from the 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 Guidelines5/5

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

Gives the exact triggering condition ('use it when you have a module but no task yet') and the downstream sequence (validate with qikly_validate, run with qikly_run). It also names the one sibling it is not and why, which is precisely the when-not guidance the dimension asks for.

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