Skip to main content
Glama

generate_domain_service

Domain service for multi-aggregate operations

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>",
      "aggregates": "<aggregates>"
    },
    "name": "generate_domain_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
aggregatesYes
operationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden and discloses nothing: not the output language or framework, whether files are overwritten, what a 'multi-aggregate operation' means in practice, or what the generated artifact looks like. For a mutation-style generation tool with zero annotation coverage this is a critical gap.

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

Conciseness2/5

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

Six words are not wasteful but are severely under-specified rather than concise; there is no front-loaded statement of the action and no structure beyond a noun phrase. Brevity here costs the agent the information it needs.

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 0% schema coverage on three parameters, the definition is far too thin for a generator whose inputs determine the output. Nothing an agent needs to invoke it correctly is present beyond the required field names.

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 three parameters, and the description mentions none of them; 'name', 'aggregates', and 'operations' are undocumented in both the schema and the prose. The array semantics for aggregates and operations (formats, ordering, whether operations are required in practice) are left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase names the resource ('Domain service') and a scope hint ('multi-aggregate operations'), which combined with the tool name implies code generation, but no verb appears in the description and the generative action is only inferred from the name. It distinguishes the tool loosely from single-aggregate siblings but never states what is actually produced.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

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

No when-to-use guidance, no preconditions, and no mention of alternatives such as generate_app_service or generate_domain_model, despite many sibling generators that could plausibly be confused. The agent must guess which generator applies from names 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.