Skip to main content
Glama

scaffold-entity

Generates boilerplate Sirius entity code, including the interface and implementations, from a name, package, fields, and target stores to speed up domain model setup.

Instructions

Generate boilerplate code for a Sirius entity (interface + implementations)

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-entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
fieldsNo
mixinsNo
packageYes
targetsNo
tenantAwareNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It reveals the output shape (interface + implementations) but says nothing about where files are written, whether existing files are overwritten, idempotency, or any permission requirements — all critical for a code-generating mutation.

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 and the parenthetical clarification earns its place. It is terse rather than padded, though the terseness comes at the cost of the missing detail noted elsewhere.

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?

For a 6-parameter code generator with no annotations and no output schema, the definition is far too thin. An agent going in cannot know what the generated layout is, how targets or tenantAware affect output, or what 'Sirius entity' entails in this codebase.

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

Parameters1/5

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

Schema description coverage is 0% across 6 parameters, and the description adds no meaning for any of them. Key concepts such as 'targets' (jdbc/mongo/elastic), 'tenantAware' defaulting to true, and the shape of 'fields' and 'mixins' are completely unexplained anywhere.

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?

Specific verb plus resource: 'Generate boilerplate code for a Sirius entity', and it further clarifies the artifacts produced (interface + implementations). This distinguishes it from siblings like scaffold-controller or scaffold-job by resource type, though it never names an alternative explicitly.

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 or when-not-to-use guidance, no mention of prerequisites (e.g. an existing Sirius project or module), and no pointer to alternatives such as scaffold-composite for composed entities. The agent must infer selection purely from the resource noun.

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