Skip to main content
Glama

Get build status

get_build
Read-only

Get the current state of a build by ID (status and error details).

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": {
      "buildId": "<buildId>"
    },
    "name": "get_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildIdYesThe build ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered and the description only needs to add context. It does add the return content (status plus error details), which is worthwhile given there is no output schema. It omits behavior an agent would care about: what happens for an unknown build ID, and whether repeated polling is the intended pattern versus stream_build.

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?

One sentence, front-loaded with the action and scope, with zero filler. The parenthetical listing return fields is compact and earns its place. It is terse enough that it flirts with under-specification rather than verbosity.

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?

For a one-parameter read tool with no output schema, the description covers action, input, and return content. What remains unstated is error handling for invalid IDs and the relationship to polling/streaming workflows, which matters for a status-checking tool an agent may call repeatedly.

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?

Single parameter with 100% schema description coverage, so the schema already documents buildId fully. The phrase "by ID" merely restates the schema and adds no format, source, or acquisition hint (e.g., where to find a build ID). Baseline 3 applies when the schema does the heavy lifting.

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 and resource ("Get the current state of a build") and scopes the retrieval to a single build by ID. It also names what comes back (status and error details), which separates it from siblings like get_build_files or get_build_spec, though it never explicitly contrasts itself with them or with list_builds.

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?

"Current state" implies a point-in-time snapshot rather than history, which is a useful implicit cue. There is no explicit when-to-use or when-not guidance, and no pointer to alternatives such as list_builds for discovery or stream_build for waiting on progress.

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.

Resources