Skip to main content
Glama
luizhbesper

react-native-dev-mcp

by luizhbesper

Parse a build log

parse_build_log
Read-only

Parse native build logs (xcodebuild, Gradle, CocoaPods, Metro) into structured diagnostics with probable causes and suggested fixes to quickly resolve build failures.

Instructions

Parse a native build log (xcodebuild, Gradle, CocoaPods, Metro) into structured diagnostics with probable causes and suggested fixes. Use on logs from terminals, CI, or a logPath from get_build_status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logPathNoPath to a log file on disk (max 20MB)
logTextNoRaw log text (max 256KB) — provide exactly one of logPath/logText

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorCountYes
diagnosticsYes
warningCountYes
platformGuessYes
unmatchedTailNo
Behavior4/5

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

Annotations already indicate read-only (readOnlyHint=true). The description adds value by specifying supported log types and that output includes diagnostics, causes, and fixes, which is consistent and helpful beyond the annotations.

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?

Two concise sentences: first defines purpose and supported formats, second gives usage context. Every word earns its place, making it efficient and easy to parse.

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?

Given the tool's complexity (parsing multiple build log formats into structured output), the description fully covers supported sources, output nature, and usage context. The presence of an output schema obviates the need to detail return values.

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?

With 100% schema coverage, both parameters are described. The description adds the crucial detail that exactly one of logPath/logText should be provided, clarifying the mutual exclusivity beyond the schema's required field count.

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 clearly states the tool parses native build logs (xcodebuild, Gradle, CocoaPods, Metro) into structured diagnostics with causes and fixes. It distinguishes itself from sibling tools like doctor or evaluate_js by specifying the exact input and output.

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?

It advises using on logs from terminals, CI, or from get_build_status, providing clear context. Though it doesn't explicitly state when not to use it, the guidance is sufficient for the intended use case.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/luizhbesper/react-native-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server