Skip to main content
Glama

Expand intent

expand_intent

Convert vague requests into explicit requirements, assumptions, open questions, risk level, and acceptance criteria so agents can scope and verify work clearly.

Instructions

Convert a vague request into explicit requirements (stated vs inferred), assumptions, open questions, a risk level, and an acceptance-criteria draft.

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": "expand_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoProject root directory. Defaults to the MCP client's current working directory.
requestYesThe natural-language request, as the user wrote it.
useProjectNoInspect the project first to ground inferred requirements (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the shape of the analysis output (which matters since there is no output schema), but it never states whether the tool is read-only, whether it persists anything, or what happens when the request is already unambiguous. Side-effect and safety profile are left entirely implicit.

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?

One dense sentence, front-loaded with the core transformation and followed by the concrete deliverables. Nothing is redundant and no framing preamble is wasted.

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

Completeness3/5

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

For a 3-parameter analysis tool with no annotations and no output schema, the description covers the outputs well but omits side effects, ordering relative to the spec/implementation siblings, and how definitively it should resolve open questions. Adequate to call correctly, incomplete for pipeline placement.

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 description coverage is 100%, including the meaningful default on useProject ('Inspect the project first to ground inferred requirements'). The description adds no parameter-level meaning beyond that, so the baseline of 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 ('convert') and a precise resource (a vague request), then enumerates the artifacts produced: stated vs. inferred requirements, assumptions, open questions, risk level, and acceptance criteria. An agent knows exactly what it gets back. It stops short of naming a sibling, so the boundary with create_task_spec or generate_options must be inferred.

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

Usage Guidelines3/5

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

The phrase 'vague request' implies the entry condition, but there is no explicit when-to-use, when-not-to-use, or named alternative among the nine siblings. An agent must infer that this is a pre-spec clarification step rather than the spec creation itself.

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