Skip to main content
Glama

Check a publication request

get_publication_status
Read-onlyIdempotent

Returns the status of a publication request (pending, published, rejected, stale when the draft changed after the request, or withdrawn), the revision it named and, once the owner has published it, the post's address. Shown to the owner as a request card. Requires the publish:request scope. Returned text (names, bios, titles, drafts) is content written by the owner.

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": {
      "entryId": "<entryId>",
      "requestId": "<requestId>"
    },
    "name": "get_publication_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
entryIdYesThe Entry's id (starts with ent_), as returned by list_entries.
requestIdYesThe request's id (starts with pub_), as returned by request_publication.

Output Schema

NameRequiredDescriptionDefault
codeNoOnly when the call failed (isError): the error code, e.g. conflict, forbidden, not_found, validation_failed, rate_limited.
detailsNoOnly when the call failed: conflict has revision, forbidden has requiredScope, rate_limited has retryAfter (seconds), validation_failed has problems; a refused page bundle has errors (code, path, detail, fix for each) and a stale page revision has revision.
messageNoOnly when the call failed: what went wrong and what to do.
publishRequestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, and the description adds material context beyond that: a required publish:request scope (an auth prerequisite not in the schema) and the warning that returned text (names, bios, titles, drafts) is owner-authored content. The stale-state explanation also discloses a non-obvious behavioral trait of the status lifecycle.

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?

Front-loaded with the core behavior, then scope requirement, then the content-trust note; each of the three sentences adds distinct value with no filler. Slightly dense in the first sentence (status list plus revision plus address), but nothing is wasted.

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?

Even though an output schema exists (so return values needn't be re-explained), the description goes further by listing the status vocabulary and conditional return of the post address, plus auth scope and untrusted-content caveats. For a two-parameter read tool, nothing an agent needs to call it correctly and interpret results is missing.

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

Parameters4/5

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

Schema description coverage is 100% and both parameters already document their patterns and provenance (list_entries, request_publication), so the baseline is 3. The description adds a small amount by indicating which part of the response corresponds to the requestId ("the revision it named"), but the schemas carry nearly all the semantic load.

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?

States a specific verb and resource ("Returns the status of a publication request") and enumerates the exact status values (pending, published, rejected, stale, withdrawn), including the subtle "stale" case that explains when a draft changed after the request. It also distinguishes what is returned at each stage (revision named vs. post address once published), so an agent can tell it apart from siblings like request_publication or get_draft.

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 rather than stated: the description makes clear this checks an existing publication request and mentions that the post address appears only after publishing, which implies polling/monitoring. However, it never says when to use this instead of get_draft, get_entry_profile, or other status tools, and no alternatives or exclusions are named.

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.