Skip to main content
Glama

list_pending_tool_calls

Read-only

List tool calls parked awaiting human approval ('approval' permission tier — see agent_tool_permissions/role_tool_permissions). Filtered and paged: status defaults to 'pending', limit to 20 (max 100), oldest first; page with offset (next_offset in the answer). Long arguments are shortened in the list and results are omitted — pass id for one call in full.

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

Input Schema

NameRequiredDescriptionDefault
idNoOne pending call by id — returned with full arguments and result (status then defaults to 'all').
limitNoDefault 20, max 100.
sinceNoOnly calls created at/after this ISO date or date-time.
offsetNoFor paging; use next_offset from the previous answer.
statusNoDefault 'pending'.
agent_idNoID of the agent
tool_nameNoExact tool name, or with * as wildcard (e.g. esd__*).
include_resultNoAlso return the stored result of executed calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Exceeds the annotations (readOnlyHint/openWorldHint merely establish it as a safe read) by disclosing ordering (oldest first), truncation of long arguments, omission of results, the next_offset paging contract, and how to recover full detail via id. These are exactly the behaviors an agent needs to interpret the output correctly.

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?

Front-loads purpose, then scope, then paging, then the id escape hatch — a sensible information order. The telegraphic, semicolon-heavy phrasing packs a lot in but costs a little readability.

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

Completeness5/5

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

For a read-only list tool with no output schema, the description still conveys return shape (next_offset, shortened arguments, omitted results) and how to get complete records. Nothing an agent needs to call it or interpret results is missing.

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 is 3, but the description adds real meaning: default status, the oldest-first ordering, next_offset paging, and the fact that id bypasses paging and restores full arguments/results. It mostly restates the limit and status defaults already in the schema, which caps it below a 5.

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 plus a precise scope: tool calls parked awaiting human approval, tied to the 'approval' permission tier. That scope cleanly separates it from resolve_pending_tool_call and generic list_calls siblings without needing the schema.

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?

Explains both operating modes: the default paged/filtered list, and the single-record mode entered by passing id (which also flips status to 'all'). Missing an explicit 'use resolve_pending_tool_call to act on a parked call' routing sentence, which is the main gap.

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.