Skip to main content
Glama

troubleshoot

Map a @alter-ai/cli exit code or error message to a remediation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoThe stderr / error message.
exit_codeNoThe CLI process exit code.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.9/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 communicates that the tool is a mapping/lookup operation, which implies no mutation, but it does not disclose behavior on unknown errors, whether any network/service call is involved, or what the returned remediation looks like.

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?

The description is a single, front-loaded sentence with no wasted words. It includes the essential input and outcome without redundancy.

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?

The tool is simple and the schema documents the parameters well, but the description does not clarify whether at least one parameter is required, whether both can be supplied simultaneously, or what the return value looks like. Since there is no output schema, some return/behavior guidance would improve completeness.

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%, with both 'error' and 'exit_code' already described. The description adds only that either an exit code or error message may be mapped, which is a mild semantic hint but not extra detail beyond the schema.

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 states a specific verb ('Map'), a specific input class ('@alter-ai/cli exit code or error message'), and an outcome ('remediation'). This clearly distinguishes the tool from the sibling documentation and operation tools.

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?

The description clearly implies when to use the tool: whenever the agent encounters a @alter-ai/cli exit code or error message. It does not explicitly mention alternatives or exclusions, but the triggering condition is clear enough for routing.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Most tools target clearly distinct concerns: docs, provider operations, SDK wiring, policies, troubleshooting, and verification. However, get_started with no arguments overlaps with list_phases, and fetch_doc/list_skills both provide guidance content, creating minor ambiguity.

Naming Consistency4/5

The set mostly follows a verb_noun pattern: fetch_doc, list_operations, list_providers, verify_integration, troubleshoot. A few names like policy_language, sdk_integration, and sdk_pattern are noun-led, which is a small consistency break but still predictable and readable.

Tool Count5/5

Thirteen tools is well within the ideal range for a focused onboarding server. Each tool contributes to a different part of the onboarding workflow, and none feel redundant or like filler.

Completeness5/5

The server covers the full onboarding journey: docs, lifecycle phases, step-by-step flows, provider API discovery, schema retrieval, SDK integration, SDK patterns, policy grammar, troubleshooting, and verification. There are no obvious dead ends or major missing operations for its stated purpose.

Resources