Skip to main content
Glama

scaffold-test

Generates boilerplate code for a Sirius Kotlin test class using a name, package, and optional setup parts, helping developers start tests without manual scaffolding.

Instructions

Generate boilerplate code for a Sirius Kotlin test class

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>",
      "package": "<package>"
    },
    "name": "scaffold-test"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
packageYes
setupPartsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.7/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 whole burden and delivers almost nothing: it does not say whether a file is written to disk or code is returned as a string, whether existing files are overwritten, or what the generated class contains. For a code-generating tool this is a substantial gap.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though the extreme brevity borders on under-specification rather than tight writing.

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, no output schema, and three undocumented parameters, the definition leaves the agent unable to predict side effects, output form, or the meaning of setupParts. The essentials for calling this tool correctly are simply absent.

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

Parameters2/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 for name, package, and setupParts, and it mentions none of them. At best the phrase 'Sirius Kotlin test class' lets an agent guess that name/package identify the class, but setupParts (an array of strings) is completely opaque.

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 gives a concrete verb and resource: generate boilerplate code for a Sirius Kotlin test class. The 'test class' target distinguishes it from the sibling scaffolds (entity, controller, composite, job), though it never explicitly says so.

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 prerequisite (e.g., does it require an existing project or framework flag?), and no alternative acknowledged. The agent must infer that this is the test-scaffold counterpart to the other scaffold-* tools.

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