Skip to main content
Glama

llm_pending_requests

Lists LLM requests waiting for the WorkBuddy agent to answer, optionally filtered by background job, so agents can pick up pending prompts.

Instructions

In workbuddy LLM mode: list LLM requests waiting for the WorkBuddy agent to answer.

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": "llm_pending_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
job_idNoonly return requests for this background job

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden; "list" implies a non-mutating read, but that is inference rather than disclosure. It says nothing about ordering, whether results are bounded by the default limit of 10, or what happens when no pending requests exist. For a low-risk read this is a moderate gap rather than a critical one.

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?

A single short sentence with the mode precondition front-loaded and no filler. It is efficient, though the terse phrasing leaves little room for the operational context the tool lacks.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should indicate what a 'pending request' looks like (id, job, prompt content) for the agent to act on it. Combined with the unexplained limit parameter and missing pairing with llm_reply, the definition is thin for even a simple listing tool.

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

Parameters2/5

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

With only 50% schema description coverage, the description should compensate for the undocumented limit parameter, but it adds no parameter meaning at all. The job_id filter is already described in the schema, so the description contributes nothing beyond structured fields.

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 gives a specific verb and resource ("list LLM requests waiting for the WorkBuddy agent to answer") plus a mode precondition, which is more than a restatement of the name. It doesn't explicitly contrast with the sibling llm_reply, but the 'waiting to be answered' framing makes the read-vs-reply split reasonably inferable.

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?

The "In workbuddy LLM mode" prefix scopes when the tool applies, which is useful context. However, there is no explicit statement of when-not to use it, no pointer to llm_reply as the answering counterpart, and no guidance on how to pick a limit.

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