Skip to main content
Glama

Get publish status

get_publish_status
Read-onlyIdempotent

Returns how a background publish is going — the jobId publish_site answered (or its refusal named); without one, the site’s most recent publish, whoever started it. Waits up to 10 s while the job runs, then answers the result (as publish_site would), {status:"running", jobId, progress}, or the failure. With no background job this week (a site small enough to publish at once has none): {job: null, lastPublish: {state, said}} from the pages. Read-only: never starts a publish.

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": {
      "siteId": "<siteId>"
    },
    "name": "get_publish_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdNoThe background publish to ask after (from publish_site); leave out for the site’s most recent publish
siteIdYesSite id (from list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds real behavior: it blocks up to 10 seconds while the job runs, then resolves to one of three concrete outcomes (the publish result, a running state with progress, or the failure). It also discloses the small-site edge case where no job exists and the answer falls back to lastPublish from the pages.

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 scope and read-only constraint are front-loaded, but the body is a single dense run-on paragraph stitched with parentheticals ("the jobId publish_site answered (or its refusal named)") and inline JSON, making it slower to parse than necessary. Information density is high, yet the packaging could be split into clearer sentences.

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 full burden of describing returns and does so for all three cases: resolved result, {status:"running", jobId, progress}, and {job: null, lastPublish: {state, said}}. Combined with a fully documented two-parameter schema, nothing an agent needs to invoke it correctly is 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 coverage is 100% and the jobId field already documents "from publish_site; leave out for the site's most recent publish," so the description's restatement adds little beyond the schema. The one small addition is that the fallback covers a publish "whoever started it," which clarifies the default's scope but not the syntax.

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?

Opens with a specific verb+resource: "Returns how a background publish is going," and immediately ties itself to publish_site by naming the jobId that tool answered with, so an agent can distinguish status-checking from starting a publish. The closing "Read-only: never starts a publish" seals the boundary against publish_site.

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?

The definition gives clear selection context: supply jobId (obtained from publish_site) to poll a specific job, omit it to get the site's most recent publish, and expect {job: null, lastPublish: ...} when no background job exists. It stops short of naming an explicit alternative tool for the no-job case, but the publish_site relationship is stated plainly.

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