Skip to main content
Glama

Get requests waiting for a person

get_pending
Read-only

List pending questions, approvals, and browser takeovers blocking an agent, or check all agents to identify items needing OpenBot app handling.

Instructions

List questions (prompts), approvals and browser takeovers that an agent is blocked on. Omit agent to check every agent. Items with requiresOpenBot must be handled in the OpenBot app.

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

Input Schema

NameRequiredDescriptionDefault
agentNoAgent ID or agent name (case-insensitive), as list_agents shows it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavioral context — that results represent blocked work, and that items flagged requiresOpenBot must be resolved out-of-band in the OpenBot app rather than through this API surface. That is a real operational constraint an agent could otherwise miss. It does not describe result ordering, volume, or pagination, which keeps it below 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?

Three short sentences, each doing distinct work: what is returned, how to widen scope, and the exception case. The resource enumeration is front-loaded and nothing is repeated from the title or schema.

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 one optional parameter, no output schema, and read-only annotations, the description covers what an agent needs to call it correctly: scope control, the nature of returned items, and the OpenBot escalation path. The only gap is that the shape of individual result entries (fields available for deciding which action to take) is left unspecified with no output schema to compensate.

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 100%, so the baseline would be 3, but the description adds meaning the schema lacks: the schema only defines agent as an ID or name string, while the description explains that omitting it broadens the query to all agents. That default-broadening semantics is not inferable from the schema. Without it, an agent might assume the parameter is required or that omission is an error.

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 uses a specific verb ('List') and enumerates the three resource kinds returned: questions/prompts, approvals, and browser takeovers, plus the defining condition that an agent is blocked on them. This is far more precise than the title alone. It stops short of naming sibling tools like answer_prompt or respond_approval as the follow-up actions, so it doesn't fully disambiguate within the family.

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?

'Omit agent to check every agent' gives concrete guidance on one calling pattern, which is more than most list tools offer. However, there is no statement about when to prefer this over get_delivery or wait_for_delivery, and no explicit pointer that answering requires answer_prompt or respond_approval. Usage is implied (poll this to see what is blocking) rather than spelled out against alternatives.

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