Skip to main content
Glama

list_approval_requests

List paginated permission-request metadata for a single task or root workflow tree so you can track pending approvals and inspect bounded records.

Instructions

List bounded permission request metadata for exactly one task or root workflow tree.

Default page size 16, maximum 32. Raw actions appear only in get_approval_request. Workers and orchestrators cannot inspect caller approval records. A pending request is an interaction substate; underlying execution remains running. No approval is inferred from agent prose, errors or already denied actions.

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_approval_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
task_idNo
workflow_run_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A3.9/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 well: it discloses page-size bounds (default 16, max 32), a visibility restriction ('Workers and orchestrators cannot inspect caller approval records'), and the semantics that a pending request is an interaction substate while execution continues. It stops short of stating read-only/no-side-effect behavior explicitly, but the 'List' framing plus these constraints make the operation's behavior largely clear.

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?

The definition is front-loaded with the core purpose and each sentence carries distinct information (scope, page bounds, sibling routing, visibility, pending-state semantics). It is dense but efficient, though phrases like 'interaction substate' are jargon-heavy and slightly reduce immediate readability.

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?

An output schema exists, so return values need not be explained, and the description covers the important behavioral context: visibility limits, paging bounds, and pending-state meaning. The main shortfall is that it does not explicitly map the four input parameters or state when to prefer this over get_approval_request, which a fully complete definition would include.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate. It adds real meaning for the limit parameter ('default page size 16, maximum 32') and implies the task_id/workflow_run_id mutual exclusivity via 'exactly one task or root workflow tree,' but it never names those parameters and says nothing about cursor/pagination, leaving a meaningful gap against 0% coverage.

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?

The opening sentence names a specific verb and resource ('List bounded permission request metadata') and pins the scope to 'exactly one task or root workflow tree.' It also distinguishes this from get_approval_request by noting raw actions appear only there, so an agent can tell the two apart without opening either schema.

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 sentence 'Raw actions appear only in get_approval_request' is an implicit routing hint toward the sibling for detailed payloads. However, there is no explicit statement of when to call this list versus that getter, nor when-not to use it, so usage is only implied rather than spelled out.

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