Skip to main content
Glama

Add a Product map feature

report_product_map_feature

File one feature of the Product map Hinto asked you for (product_map.requested). Pass build_id and delivery_id from the wake. A feature is one job a customer of this product sets out to do and finishes: name is 2 to 6 words in the product's own language, summary one sentence of at most 140 characters. app_root is the app's repo-relative directory. places are where customers reach it (each one route, export_name, command, or a key echoed from get_product_map), controls are {label, endpoint} pairs such as {label: Upgrade plan, endpoint: POST /api/plan}, and code lists repo-relative paths, never file contents. Pass previous_feature_id when the job is one get_product_map returned. Filing the same name again updates that feature, at most 3 times. The first feature to file a place owns it; shared_keys lists places another feature already owns. rejected carries a hint saying what to fix; busy recorded nothing, so send it again.

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": {
      "delivery_id": "<delivery_id>",
      "build_id": "<build_id>",
      "name": "<name>",
      "summary": "<summary>"
    },
    "name": "report_product_map_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoRepo-relative paths of the main code behind it. Never file contents.
nameYes2 to 6 words in the product's own language, such as Manage billing.
placesNoWhere customers reach the feature: pages, SDK exports or CLI commands.
summaryYesOne sentence of at most 140 characters on what the customer gets done.
app_rootNoThe repo-relative directory of the app, such as apps/web; empty for the root.
build_idYesbuild_id from the product_map.requested payload.
controlsNoWhat customers do there: each control's label and the request it sends.
delivery_idYesdelivery_id from the product_map.requested payload.
previous_feature_idNoThe id of the same job in the previous map, from get_product_map or GET previous.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing upsert-by-name identity, the three-update ceiling, first-writer ownership of a place, the shared_keys conflict signal, and outcome states ('rejected carries a hint', 'busy recorded nothing, so send it again'). These are exactly the non-obvious behaviors an agent needs before calling a mutating tool.

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?

It is a single dense paragraph, but it is front-loaded with the action and the required wake IDs, and nearly every clause carries distinct information (identity, shape, ownership, retry). Minor deduction for packing several unrelated topics — validation limits, conflict handling, retry — into one unsegmented block.

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

Completeness5/5

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

For a nine-parameter mutation with no output schema, the description covers the inputs, the identity/upsert model, conflict signaling, and the success/failure outcomes (rejected, busy, shared_keys) an agent must handle. Nothing material needed to call it correctly appears to be missing.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3; the description earns a 4 by adding cross-field meaning the schema cannot express, such as when previous_feature_id applies, that code takes paths rather than contents, and that a place key may be 'a key echoed from get_product_map' with first-owner-wins semantics. It does not restate every field, which is appropriate given the schema does that work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('File one feature of the Product map') and defines the object precisely: 'one job a customer of this product sets out to do and finishes.' It also ties the tool to its workflow siblings by referencing product_map.requested and get_product_map, so an agent can place it without opening another schema.

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?

Gives concrete prerequisites ('Pass build_id and delivery_id from the wake') and a conditional rule for previous_feature_id ('when the job is one get_product_map returned'). It also states the upsert behavior and the cap ('Filing the same name again updates that feature, at most 3 times') plus retry semantics for busy. It stops short of explicitly naming when to prefer report_product_map_progress or complete_product_map instead, so it falls just below a 5.

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.

Resources