Skip to main content
Glama

List pending intent approvals

stack_list_pending_intents
Read-only

List the intents agents submitted that wait for the owner to decide, newest page first: each with its approval id (ia_*), agent, status, requested and expiry times. stack_get_intent_approval with review true shows what one is asking for. A controls feature: with controls off the API answers 402 CONTROLS_REQUIRED, and the owner switches controls on in the Console, at the Billing page. A self-managed install has every controls feature.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
limitNoResults per page
agent_idNoOnly the pending intents of this agent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: newest-page-first ordering, the 402 CONTROLS_REQUIRED failure mode with its remediation path (owner enables controls in the Console, Billing page), and the caveat that self-managed installs have every controls feature.

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-loaded with purpose, then detail-routing, then the controls caveat — a sensible order. All three sentences carry relevant information, though the closing sentence about self-managed installs is a niche caveat that could be tightened.

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?

With no output schema, the description compensates by enumerating returned fields, ordering, and the id format. It also covers the only real failure mode (402 when controls are off) and its fix, so an agent can call and recover correctly without further context.

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 description coverage is 100%, with page, limit and agent_id all documented including bounds, so the schema does the heavy lifting. The description only adds implicit meaning ("newest page first" implies page ordering) and does not clarify agent_id filtering behavior beyond the schema's own text.

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 ("List the intents agents submitted that wait for the owner to decide"), plus scope and ordering ("newest page first"). It also enumerates the returned fields (approval id ia_*, agent, status, requested and expiry times), which lets an agent distinguish pending intents from related siblings like stack_get_intent_approval.

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?

Explicitly routes the agent to stack_get_intent_approval with review true when it needs to see what a single intent is asking for, so the list-vs-detail split is clear. It also states the prerequisite that controls must be on, but does not name what to use instead for non-pending or historical intents.

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.