Skip to main content
Glama

create_microservice

Scaffold microservice with DDD structure (domain/application/infrastructure layers)

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>",
      "port": "<port>"
    },
    "name": "create_microservice"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
portYes
databaseNo
messagingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.8/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 behavioral burden. It says the output has DDD layers but not whether files are written to disk, where they land, whether existing files are overwritten, or whether scaffolding is idempotent — all critical for a code-generating mutation tool.

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; the parenthetical layer list is dense and useful. It is slightly clipped (a fragment rather than a sentence) but nothing is wasted.

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?

For a scaffold generator with no output schema, no annotations, and undocumented parameters, the description should say what files/directories result and how optional params behave; it only gestures at layer structure. The missing parameter and filesystem behavior leaves the definition short of what an agent needs to invoke it confidently.

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%: the four parameters (name, port, database, messaging) have only types and enums, and the description mentions none of them. Nothing explains naming conventions, port constraints, or defaults when database/messaging are omitted, so the description adds zero meaning beyond the raw schema.

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?

States a specific verb ('Scaffold') and resource ('microservice') plus the architectural shape it produces (domain/application/infrastructure layers), so the agent knows exactly what artifact comes out. It does not distinguish itself from siblings such as create_clean_layers, create_bounded_context, or create_fullstack_project, which also create layered project structures.

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 guidance on when to choose this tool versus the layered-architecture siblings, no stated prerequisites (empty directory? existing repo?), and no exclusions. The agent must infer selection from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.