Skip to main content
Glama

queue_status

Checks the enrichment queue for pending background fact-extraction jobs so you can poll until zero and run recall or scoring after batch ingestion.

Instructions

Check the enrichment queue. Returns the number of pending jobs waiting for background fact extraction.

Use this to know when enrichment has finished after a batch ingest — poll until pending reaches 0 before running recall/scoring.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "queue_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key behavior: this is a read-style check that returns a pending count and is safe to poll repeatedly. It does not cover whether the queue can report failed or stalled jobs, or whether polling has any rate limit, which keeps it from a 5.

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?

Two short paragraphs, front-loaded with what the tool does and what it returns, followed by the operational guidance. No filler sentences and no repetition of the name.

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 zero-parameter status tool with no output schema, the description covers purpose, return value, and polling workflow, which is nearly everything an agent needs. The only gap is what to do if pending never reaches 0, which matters for a polling loop but is a modest omission.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly implies the call is argument-free by framing it as a simple status check.

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 ('Check the enrichment queue') and immediately specifies the return value: the number of pending jobs awaiting background fact extraction. It also positions the tool relative to recall/scoring, so an agent can tell what it is for without opening anything else.

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?

Gives a clear trigger ('after a batch ingest') and an explicit protocol ('poll until pending reaches 0 before running recall/scoring'), which is exactly the when-to-use guidance an agent needs. It stops short of stating exclusions or failure conditions, so it is clear context rather than a full when/when-not rule set.

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