Skip to main content
Glama

Generate options

generate_options

Generates 2-3 distinct implementation options with pros, cons, risks, effort, and expected files so coding agents can choose when a decision matters.

Instructions

Produce 2-3 distinct implementation approaches with real trade-offs (pros, cons, risk, effort, expected files). Use when the choice genuinely matters; skip for trivial changes.

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": {
      "request": "<request>"
    },
    "name": "generate_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoProject root directory. Defaults to the MCP client's current working directory.
countNoHow many options to produce (2-3).
requestYesThe natural-language request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the output structure and a scoping heuristic. However, it never says whether the tool only reasons and returns text or also inspects/writes the project, nor what 'expected files' means concretely (files it would touch, or files it read). That ambiguity matters for a generation tool with no safety hints.

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

Conciseness5/5

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

Two sentences, zero filler: the first defines the artifact and its contents, the second delivers the usage gate. The most decision-relevant clause (what gets produced) is front-loaded.

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 three-parameter tool with a fully documented schema and no output schema, the description is nearly self-sufficient because it enumerates the return contents. The remaining gap is the side-effect question (pure analysis vs. project-touching), which is left unaddressed despite the absence of annotations.

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

Parameters3/5

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

Schema coverage is 100%, so request, root, and count are all documented in the schema, and the description's '2-3' merely echoes the count bounds already encoded as minimum/maximum. The description adds no new semantics such as how root affects the analysis, so the baseline 3 applies.

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 specific verb and artifact ('Produce 2-3 distinct implementation approaches') and enumerates what each option contains (pros, cons, risk, effort, expected files), so the agent knows exactly what comes back. It does not name or contrast with any sibling tool, so the distinction from tools like create_task_spec or expand_intent is left to inference.

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

Usage Guidelines4/5

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

It states both a positive condition ('when the choice genuinely matters') and an explicit exclusion ('skip for trivial changes'), which is a real decision rule rather than a restatement of the name. It stops short of naming an alternative tool to use instead when the change is trivial, which is the only thing separating it from a top score.

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