Skip to main content
Glama

generate_adapter

Adapter for external services (hexagonal architecture)

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

Input Schema

NameRequiredDescriptionDefault
nameYes
portYes
typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses almost nothing: not which files are produced, whether existing files are overwritten, where output is written, or whether generation is deterministic. The only behavioral hint is that the output is an adapter artifact in a hexagonal layout.

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

Conciseness3/5

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

It is a single short sentence with zero redundancy and the key concept is front-loaded, but the terseness is under-specification rather than efficiency. There is room to add scoping and parameter detail without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a code-generation tool with three required parameters, no annotations, and no output schema, the description leaves every operational question unanswered. An agent cannot determine what will be written to disk, what the parameters mean, or when this tool is the correct choice.

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 coverage is 0%, so the description must compensate for three undocumented required parameters, and it does not. 'External services' loosely gestures at 'type' and 'port', but nothing explains what 'name' controls, valid naming conventions, or how 'type' (database/http/messaging/cache/email) changes the generated output.

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 'Adapter for external services (hexagonal architecture)' identifies the artifact being generated and its architectural role, so the resource is clear. However, it is a bare noun phrase with no verb (the verb lives only in the tool name) and it draws no distinction from the dozens of sibling generate_* tools that also produce code artifacts.

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 prerequisites, and no mention of alternatives or what to do instead when the target is not an external service. The parenthetical 'hexagonal architecture' implies a context but never states a condition for selecting this tool over a sibling.

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.