Skip to main content
Glama

OpenFactory

get_obs_package_status

Read what OBS currently says about one package. One read, no waiting.

Returns the raw per-repository/per-architecture rows plus a single collapsed status (queued, building, succeeded, failed, unresolvable, broken) and whether the resulting APT repository is actually servable.

succeeded and published are two different facts and this tool keeps them apart. OBS reports a package as built well before the publisher has written a signed index, and live-build's first apt-get update against a repository with no Release/Packages/Release.key is fatal. Only published: true means an ISO may pull from repo_url. When the submission record carries the revision you asked for, published additionally requires binaries stamped with that revision to be in the index, so a stale prior build cannot look like your new one. Binary names come from that exact source revision's Debian manifest; all of them must be present with the expected revision, even when none shares its name. RPM/APK publication instead requires the exact uploaded source marker and clean, successful, published native results for every requested architecture, in addition to a servable native index. Old dirty or pending jobs never establish publication of a new submission.

This tool never tells you what to do next. "queued" does not mean wait, "failed" does not mean regenerate -- you have the recipe, the source and the log, and the decision is yours.

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": {
      "project": "<project>",
      "package": "<package>"
    },
    "name": "get_obs_package_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYesOBS package name returned by submit_obs_package.
projectYesFull OBS project path returned by submit_obs_package, or build:<UUID> to observe this account's package project for an authorized build. The alias does not prove an unrecorded source revision.
include_repository_key_digestNoRead the authorized project's native public signing-key SHA256, for authenticating a portable package bundle; returns no key or credential bytes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the return shape (raw per-repository/per-architecture rows plus a collapsed status), enumerates the status values, and carefully separates "succeeded" from "published" with the consequences for APT repository servability. It goes further into revision-matching rules for Debian and RPM/APK publication. Gaps remain around access requirements, error behavior, and cost/latency, so it stops short of a 5.

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?

The definition is front-loaded and information-dense, but it runs three long paragraphs and the final paragraph ("This tool never tells you what to do next... the decision is yours") is meta-commentary that does not help an agent select or invoke the tool. The Debian/RPM publication detail is valuable but verbose relative to the rest.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not strictly required, yet the description still conveys the key semantic distinction an agent needs (published vs succeeded) and covers both native package families. For a read-only status tool with a well-documented 3-parameter schema, this is close to complete; only access and failure semantics are missing.

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%, so the baseline is 3. The description adds conceptual context about revision matching ("when the submission record carries the revision you asked for") but says nothing about the include_repository_key_digest parameter or the build:<UUID> alias, leaving that entirely to the schema.

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?

The opening sentence states a specific verb and resource ("Read what OBS currently says about one package") and adds a scope qualifier ("One read, no waiting") that separates it from polling-style siblings. It does not name a concrete alternative such as get_obs_package_log, so differentiation is implied rather than explicit.

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?

Usage is implied by "One read, no waiting" and by the closing note that the tool never tells you what to do next, which discourages treating it as a wait/poll loop. There is no explicit statement of when to call this instead of the log tool or the submission tool, and no prerequisites are spelled out.

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.