Skip to main content
Glama

Capacity queue check

wever_capacity-queue-check
Read-only

Agent Capacity: submit an agent’s work queue with its service target: the queue with its id, name, the longest an item should wait before work starts in hours and the depth at which it counts as full; each depth sample with its date or time, the depth recorded and optionally the arrivals and completions since the previous sample; each item with its id, what it is, when it entered and when work on it started; and the moment the queue is read at. The signed report gives the queue, the depth at the first and last sample with the change, the direction (growing, steady or shrinking) and the arrivals against the completions where every sample records both, every item with its wait before work started, or until the reading moment while it waits, and whether that passes the target, the median and longest wait with the share within target, and the recorded last depth beside the items the records show waiting then, and counts them, and names a backed-up queue: items still waiting past the target wait, a depth that grew by a fifth or more across the window or from empty, and a depth over the limit; then a smaller rise, items that started past the target and a recorded depth that differs from the items, with the fix for each and what would change the verdict. No target wait, fewer than two depth samples, no items or no reading moment for items still waiting leaves the queue unverified. This reads a queue’s depth and waits against its service target: whether waiting items are re-reviewed at their review point is wever_triage-aging-check, the order items are ranked in is wever_triage-priority-check and the uptime and credit terms in an SLA text are wever_sla-evidence-check. Verdict capacity_queue_backed_up, capacity_queue_partial, capacity_queue_unverified or capacity_queue_flowing. POST /api/capacity-queue-check. Reads the load and capacity records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; the records stay in the report, with no network request, fetch, message, payment or external write. Agent Capacity reads an agent’s own load and capacity records and checks the load against the capacity that exists: work in hand against the stated limit, a queue against its target wait, concurrent runs against the cap, an allowance’s burn against its period, a backlog across a window, spare capacity against the reserve, the scaling plan against the burn, and admission at capacity against written priority rules. Beside it, the Agent Limits checks such as wever_limit-substrate-check read whether a limit sits in code or in prose and how it is scoped, changed and seen, while a capacity check reads the load itself against the capacity; wever_commitment-deadline-check reads promised hours against due dates, while the workload check reads the work in hand against the stated limit over time; and the Agent Triage checks such as wever_triage-priority-check read how queue items are ranked, reviewed and closed, while the queue, backlog and throttle checks read waits, size and admission against capacity. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-capacity-contract. Human page: https://weverlabs.com/agent-capacity/.

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": {
      "queue": "<queue>"
    },
    "name": "wever_capacity-queue-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoItems in the queue over the window.
labelNoOptional name recorded in the report.
queueYes
read_atNoThe moment the queue is read at, such as 2026-11-20 or 2026-11-20T14:00Z.
samplesNoQueue depth as recorded over time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, and the description still adds substantial behavior: records stay in the report, no network request, fetch, message, payment or external write, an Ed25519 signed receipt, the POST route, the 0.10 USDC x402 price with 10 free signed-wallet calls per 30 days, and the X-Wever-Wallet-Proof binding to exact JSON arguments. That is auth, cost and side-effect information an agent cannot get from the annotations or schema.

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

Conciseness2/5

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

The core is delivered as one enormous run-on sentence that walks the entire input schema field by field, then a second block that lists nearly every sibling check and the product taxonomy. This duplicates what the schema and annotations already state, and the verdict and report information an agent actually needs is buried mid-paragraph. Size is disproportionate to the task; most of the length does not earn its place.

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?

For a five-parameter nested tool with no output schema, the description covers what matters: the verdict set, what the signed report contains (first/last depth, direction, arrivals vs completions, per-item waits and target pass/fail, medians, backed-up findings with fixes and what would change the verdict), and the conditions producing 'unverified'. It is complete on substance; only the ordering and verbosity keep it from being exemplary.

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 coverage is 80%, so the baseline is already high, but the description adds real meaning: it explains that target_wait_hours is 'the longest an item should wait before work starts' and depth_limit 'the depth at which it counts as full', and it discloses conditional requirements not encoded in the schema — no target wait, fewer than two samples, no items or no read moment yields an unverified verdict. It does not explain the arrivals/completions pairing constraint beyond restating the field names, which is why it is not a 5.

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 description eventually states a specific verb and resource: it 'reads a queue's depth and waits against its service target' and returns a verdict (capacity_queue_backed_up / partial / unverified / flowing). It also names what it is not (wever_triage-aging-check for review points, wever_triage-priority-check for ranking, wever_sla-evidence-check for SLA text). The problem is ordering: the actual purpose arrives only after a long enumeration of input fields, so an agent must read past schema prose to learn what the tool does.

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?

Usage is reasonably explicit: the tool reads load against capacity, and the description routes competing questions to named siblings (review points, item ranking, SLA credit terms, deadline, workload). It also states the failure conditions that make a queue 'unverified' (no target wait, fewer than two depth samples, no items, no reading moment), which is practical when-to-use context. It stops short of explicit 'do not use this when…' phrasing, but the routing is clear enough.

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