Skip to main content
Glama

Build status

build_status
Read-only

Reports the status of a background Gradle build: running with elapsed time, or a final passed/failed summary with errors, APK paths, and full-log path.

Instructions

Report a background gradle_build (started with background=true): running with elapsed time, or the final summary (passed/failed, error count, first errors, APK paths, full-log path). Jobs live only as long as this server process. A job stopped with cancel_build reports as failed, cancelled by cancel_build.

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": {
      "job_id": "<job_id>"
    },
    "name": "build_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesJob id returned by gradle_build with background=true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.24.3

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the critical lifecycle constraint that jobs live only as long as the server process, and that a cancelled job is reported as failed and attributed to cancel_build. It also enumerates the content of both response shapes (error count, first errors, APK paths, full-log path), which annotations cannot convey.

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 tightly packed sentences with zero filler; the running-state summary is front-loaded and the lifecycle/cancellation caveats follow as subordinate clauses. Every sentence adds information an agent cannot get from structured fields.

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?

With no output schema, the description carries the return-value burden on its own and does so by enumerating both possible payloads. Combined with the process-lifetime caveat, an agent has everything needed to call and interpret the result.

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 coverage is 100% and the parameter description already says the job_id comes from gradle_build with background=true, so the description adds no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb+resource ('Report a background gradle_build') and immediately scopes it to jobs started with background=true, distinguishing it from gradle_build and cancel_build. The two possible outcomes (running with elapsed time vs. final summary) are named explicitly.

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?

Implies the usage pattern clearly: poll a job created by gradle_build with background=true, and notes the relationship to cancel_build. It does not state when-not-to-use (e.g., that foreground builds return their result directly and need no status call), so it falls short of full alternative routing.

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