Skip to main content
Glama

ohmyho.st

Publish a finite job version

container_job_version_publish
Idempotent

Publish one project job from its immutable saved source revision. Supply its build context, Dockerfile, argv and maximum accepted build charge in microcredits. Returns a queued build. Reuse the idempotency key only for this request.

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_id": "<project_id>",
      "environment_id": "<environment_id>",
      "idempotency_key": "<idempotency_key>",
      "name": "<name>",
      "source_revision": "<source_revision>",
      "context_path": "<context_path>",
      "dockerfile": "<dockerfile>",
      "entrypoint": "<entrypoint>",
      "max_runtime_seconds": "<max_runtime_seconds>",
      "max_build_credit_micros": "<max_build_credit_micros>"
    },
    "name": "container_job_version_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
dockerfileYesRelative path within the selected source revision.
entrypointYes
project_idYesProject identifier.
context_pathYesRelative path within the selected source revision.
environment_idYesEnvironment identifier.
idempotency_keyYesIdentifies one mutation and its canonical request payload.
source_revisionYes
max_runtime_secondsYes
max_build_credit_microsYesInteger microcredits. One credit equals 1000000 microcredits.

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?

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds genuinely new behavior: the call is asynchronous ("returns a queued build"), the credit value is a maximum accepted charge, and the idempotency key must be scoped to this one request. It stops short of saying what happens on key reuse or when the charge ceiling is exceeded.

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?

Four short sentences with no filler; the publish action and its inputs come before the return-value note and the idempotency constraint. Slightly compact at the cost of detail, but nothing is redundant.

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 10 required parameters, no output schema, and no enums, the description does cover the return shape and the cost cap, which are the highest-risk unknowns. It omits how the published version relates to a subsequent start, what happens if the build charge or runtime exceeds the caps, and whether publishing is reversible.

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 60%, and the description adds real meaning for a few fields — max_build_credit_micros as an accepted cost ceiling, idempotency_key scoping, and context_path/dockerfile/entrypoint as build inputs. It leaves project_id, environment_id, name, and max_runtime_seconds unelaborated, so half the parameter surface adds nothing beyond 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?

Uses a specific verb+resource combination ("Publish one project job") and pins the input basis to "its immutable saved source revision," which an agent can distinguish from container_job_start or container_job_quote. It stops short of naming a sibling it is not, so differentiation is inferential.

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?

"Returns a queued build" implies this is the pre-start step, but the description never states when to prefer it over container_job_quote or container_job_start, nor any prerequisite ordering. Usage is implied rather than stated.

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.