Skip to main content
Glama

fulfillment_queue

Retrieve print queue status counts (pending, printing, printed, failed) and the 20 most recent jobs for a WordPress site to monitor and troubleshoot fulfillment.

Instructions

Print-queue state: status counts (pending/printing/printed/failed) and the 20 most recent jobs (id, order_id, type, status, attempts, error, created_at, printed_at).

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>"
    },
    "name": "fulfillment_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite id (see list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the shape and scope of the result (four status buckets, only the 20 most recent jobs, per-job fields including attempts and error), which tells the agent the result is bounded and non-exhaustive. It is silent on whether the read is safe/idempotent, whether counts are all-time or current-window, ordering, and any page-through behavior for older jobs.

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

Conciseness5/5

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

One dense sentence, front-loaded with the resource name followed immediately by the payload contents. Every clause (counts by status, 20 recent jobs, field list) earns its place and there is no filler.

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?

With no output schema in play, the description must describe return values and it does so thoroughly, enumerating both the aggregate counts and the per-job fields. The only gap is operational detail: the window behind the counts, sort order, and whether anything beyond the 20 most recent jobs is retrievable.

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?

There is a single required 'site' parameter at 100% schema description coverage, and the schema already points at 'list_sites' for valid ids. The description adds nothing about the parameter, but with the schema doing the work, the baseline of 3 applies.

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?

States a specific resource ('print-queue state') and spells out exactly what is returned: status counts plus the 20 most recent jobs with their fields. An agent can tell this is a read-only queue inspection tool. It does not, however, distinguish itself from the sibling 'fulfillment_status', leaving the boundary between the two ambiguous.

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 guidance, no mention of when not to use it, and no reference to alternatives such as 'fulfillment_status' or 'fulfillment_reprint_job'. The agent must infer from the returned-data description that this is the tool for polling queue health, which is a weak substitute for stated guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools