Skip to main content
Glama

contribos_diagnose

Diagnose failed installs or test runs by parsing logs or output files to identify missing dependencies, version mismatches, stopped services, missing env vars, flaky tests, or real failures.

Instructions

Explain a failed install or test run: missing dependency, wrong version, service not running, missing env var, flaky test, or a real test failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logNothe failing command's output
output_fileNoor a file holding that output

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It never says whether the tool is read-only, whether it executes or merely reads the supplied log, what permissions it needs, or how it handles the two input sources — for a diagnosis tool with zero annotation coverage this is a real gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the core verb and resource lead, and the enumerated failure modes are compact and scannable.

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?

With no output schema and no annotations, the description should say more about what comes back and whether the two optional inputs are alternatives or can be combined. The failure taxonomy is helpful, but the return behavior is left entirely implicit.

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 both parameters (log, output_file) are already documented in the schema. The description adds no syntax, format, or precedence guidance beyond the schema's own wording, so the baseline 3 applies.

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 (Explain) and resource (a failed install or test run), then enumerates the failure categories it can diagnose, so the agent knows exactly what it produces. It does not, however, distinguish itself from the closest sibling, contribos_check.

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 implied by the trigger condition 'a failed install or test run', but there is no explicit when-to-use versus alternatives such as contribos_check, and no stated prerequisites or exclusions.

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