Skip to main content
Glama

stb_build

Generate the final self-contained HTML report from a UI map and bridge, then return the report path to open in a browser.

Instructions

Generate the final self-contained HTML report from a UI map + bridge. Args: uimap (path or partial filename). Report path is returned (open it in a browser).

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": {
      "uimap": "<uimap>"
    },
    "name": "stb_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
uimapYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.5/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 burden. It does disclose that the output is a self-contained HTML file, that a report path is returned, and that the file should be opened in a browser. It does not disclose that the tool writes to disk, whether it overwrites an existing report, or what happens if the UI map is missing or ambiguous.

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?

Three short sentences, front-loaded with the purpose, then the argument, then the return behavior. No filler. The telegraphic 'Args:' fragment is compact but slightly less readable than prose.

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?

An output schema exists, so return values need not be explained, and the single parameter is covered. What is missing for a build/generation tool with no annotations is prerequisite state and side-effect disclosure (file creation, overwrite behavior), which an agent needs before invoking it.

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 0% and the schema only says 'Uimap' is a string, so the description must compensate. It does so by explaining that the value is a path or a partial filename, which is meaningful resolution semantics an agent could not infer from the schema. It stops short of explaining which directory is searched or how ambiguous partial matches are resolved.

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 uses a specific verb and artifact: 'Generate the final self-contained HTML report from a UI map + bridge.' That is concrete enough to separate it from siblings like stb_validate or stb_dump_ui, but it never names an alternative or states the relationship to them explicitly.

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 word 'final' implies this is the terminal step after a UI map exists, which is useful implied sequencing. However, there is no explicit when-to-use statement, no prerequisite (e.g. a validated UI map or bridge must exist first), and no guidance on when not to call it.

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