Skip to main content
Glama

Build a Feature Map

build-feature-map
Read-onlyIdempotent

Drafts a feature/flow map from supplied repository paths so agents can understand app structure without running Git or modifying files.

Instructions

Draft a feature/flow map from supplied repository paths. Does not run git or write files.

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": {
      "files": "<files>"
    },
    "name": "build-feature-map"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
contextNo
productNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine scope detail beyond that with "Does not run git or write files," clarifying it operates only on supplied input. However, with no output schema it does not say what the drafted map looks like or how large a 50,000-file input is handled.

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 action and artifact, followed by the scope constraint. Nothing is wasted, though the terseness comes partly at the cost of coverage rather than careful pruning.

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?

For a three-parameter tool with zero schema descriptions and no output schema, the definition is too thin: it omits two parameters entirely, never describes the shape of the returned map, and gives no routing guidance against read-feature-map or update-feature-map. Only the safe-read/no-filesystem behavior is adequately communicated.

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 description coverage is 0%, so the description carries the full burden, and it addresses only one parameter indirectly via "repository paths" (the required files array). The context (max 280 chars) and product (max 120 chars) parameters are never mentioned, leaving two of three inputs unexplained in both schema and description.

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?

States a specific verb and artifact: "Draft a feature/flow map from supplied repository paths." This distinguishes it from read-feature-map and update-feature-map by implying creation rather than retrieval or mutation, though it never names a sibling explicitly. An agent can identify what the tool produces without opening the schema.

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?

Usage is only implied — the tool takes repository paths and drafts a map, so the reader infers it is the first step before reading or updating a map. There is no explicit when-to-use, no prerequisite statement (e.g. must paths already exist or be from a prior scan), and no exclusion pointing at alternatives.

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