Skip to main content
Glama

Get a build

get_build
Read-onlyDestructive

On one site of the account, named in site. A build's status — queued, running, succeeded (its change is live), failed, timed_out, superseded (a newer write's build took over) — and, once it finished, the log's tail, where a failure explains itself.

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": {
      "site": "<site>",
      "theme": "<theme>",
      "id": "<id>"
    },
    "name": "get_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
siteYesThe site to work on, as list_sites names it
themeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint, openWorldHint, destructiveHint) and the description does not contradict them. Beyond that, the description adds real value by enumerating the terminal and non-terminal statuses and explaining what each means (succeeded = change is live, superseded = a newer write took over), plus the fact that log output only becomes available after completion.

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

Conciseness3/5

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

It is short and front-loads the site scoping, but the opening sentence is a grammatical fragment that costs a moment of parsing. The status enumeration is dense but each item earns its place by explaining a distinct outcome.

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, the description reasonably carries the burden of describing return content (status categories and log tail), which it does well. It is still incomplete for a three-parameter tool, since two parameters are left semantically unexplained and the readOnly versus destructiveHint tension in the annotations goes unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: site is documented in the schema, while theme and id have no descriptions anywhere. The description mentions the site parameter by name but adds nothing about it beyond the schema, and it never clarifies that id is the build identifier or how theme relates to the build, so the coverage gap is not compensated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (a build) and what it returns (status plus log tail), and scopes it to a single site. However, it is written as a sentence fragment with no verb ("On one site of the account, named in site."), so an agent must infer that this is a retrieval operation rather than being told outright, and no sibling such as build_theme is named for contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance. The phrase "once it finished, the log's tail" implies the tool is polled after a build, but it never states that this follows build_theme or that terminal statuses stop the polling, so the agent must guess the workflow position.

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