Skip to main content
Glama

summarize_build_log

Summarizes compilation and unit-test logs into bounded JSON, grouping repeated diagnostics and explicitly marking omissions so build failures can be reviewed without full log output.

Instructions

Return bounded compact JSON, preserving line counts, excerpts and omitted evidence.

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": {
      "log": "<log>"
    },
    "name": "summarize_build_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
logYes
completeNo
max_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose useful output traits — output is bounded/compact and preserves line counts, excerpts, and omitted evidence — but says nothing about truncation behavior, what the `complete` flag changes, error handling, or whether any input is mutated. That leaves a mutation-ambiguous, potentially lossy operation under-disclosed.

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?

A single tight sentence with no filler, and the output-shape information is front-loaded. It is efficient, but it spends its only sentence on the return envelope rather than the action, so brevity comes at the cost of substance.

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?

An output schema exists, so return values need not be spelled out, but the description still omits the core action and all three parameter meanings. For a tool that takes an unbounded log string and can drop content ("omitted evidence"), the absence of any statement about what is discarded or how the `complete` flag affects fidelity is a material gap.

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% for three parameters, so the description must compensate and largely does not. "Bounded" weakly gestures at `max_chars` and "omitted evidence" weakly gestures at `complete`, but the required `log` parameter is never explained, nor are accepted values, defaults, or the effect of setting `complete=true`.

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

Purpose2/5

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

The sentence describes the shape of the result ("bounded compact JSON") rather than the operation: it never says it summarizes or condenses a build log, nor does it mention the log input at all. An agent reading only this text would know the output envelope but not what the tool actually does to the log, so purpose is only inferable from the tool name.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no stated preconditions, and no mention of alternatives (the sibling list is empty, so none are required). Nothing tells an agent at what log size or in what workflow this summarization is preferable to reading the log directly.

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

Deploy Server

Other Tools