Skip to main content
Glama

ivd_discover_goal

Proposes 2–3 candidate goals or patterns when the user is unsure what to ask, helping clarify intent before writing a structured intent.

Instructions

When the user doesn't know what to ask: propose 2-3 candidate goals or patterns. Use before 'describe -> AI writes intent' (Principle 6 discovery extension).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ivd_discover_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_hintNoOptional vague hint from user
project_rootNoOptional path to repo root; if set, includes existing features
domain_or_contextNoOptional domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully reveals the output cardinality (2-3 candidates) and its position as a pre-step, but says nothing about whether any state is read or written, whether it inspects the repo, or what the candidates look like when returned.

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?

Two short sentences, front-loaded with the trigger condition and the action. The parenthetical '(Principle 6 discovery extension)' is internal jargon that costs tokens without helping an agent decide or invoke correctly.

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?

The tool is simple (three optional params, no output schema), yet the description leaves the nature of the returned candidates and the effect of project_root/domain_or_context unstated. Adequate to select the tool, thin for predicting what comes back.

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%, so user_hint, project_root, and domain_or_context are already documented in the schema. The description only indirectly gestures at user_hint through 'the user doesn't know what to ask' and does not explain how project_root affects results (existing features), so it adds little beyond the schema baseline.

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 names a concrete action and output shape: 'propose 2-3 candidate goals or patterns', and scopes it to the case where 'the user doesn't know what to ask'. That is enough for an agent to distinguish this from siblings like ivd_review_intent or ivd_propose_inversions, though it never describes what a 'goal' or 'pattern' actually is in this domain.

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 gives an explicit trigger condition ('when the user doesn't know what to ask') and a sequencing rule ('use before describe -> AI writes intent'), which tells the agent where this fits in the workflow. It stops short of stating when not to use it, e.g. when the user already has a concrete request.

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