Skip to main content
Glama

list_approvals

Read-onlyIdempotent

READ-ONLY view of the unified approvals rail (TIM-97-style aggregation): returns everything currently awaiting human review across ALL FOUR automation sources in one call, posts (EngineDraft, the create_digest_drafts/create_drafts queue), trends (Weekly X Trend-Rider drafts), build-in-public (GitHub-shipped-feature tweet drafts) and dms (warm-lead engager DMs), normalized into a common shape { id, source, status, title, preview, createdAt, actions } with per-source PENDING counts. Optional source narrows to one queue; optional status (default PENDING) selects a different stage (APPROVED|POSTED|REJECTED). This tool only reads the queue, it never approves or rejects anything. Act on any item with resolve_approval (all four sources) or approve_draft/reject_draft (posts). Each item's actions array documents the exact REST endpoint (path/method) a human-facing UI would call next for that item. CAPABILITY: read: side-effect-free.

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

Input Schema

NameRequiredDescriptionDefault
sourceNoOnly list items from this approval queue: posts (batch drafts), trends, build-in-public or dms. Omit for all four.
statusNoWhich review stage to list. Defaults to PENDING (awaiting a human).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / source / description
      Previous value: -"Restrict results to one approval source: posts | trends | build-in-public | dms; omit for all four"New value: +"Only list items from this approval queue: posts (batch drafts), trends, build-in-public or dms. Omit for all four."
    • changedInput schema / properties / status / description
      Previous value: -"Lifecycle stage to list: PENDING | APPROVED | POSTED | REJECTED; defaults to PENDING"New value: +"Which review stage to list. Defaults to PENDING (awaiting a human)."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and idempotentHint, so safety is covered. The description still adds real context beyond that: the normalized item shape, per-source PENDING counts, and the fact that each item's actions array documents the REST endpoint a UI would call next.

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 read-only scope and the all-four-sources behavior are front-loaded, and most sentences carry distinct information. It is dense and slightly jargon-heavy ('TIM-97-style aggregation', 'warm-lead engager DMs'), but nothing is truly redundant.

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?

There is no output schema, and the description compensates by documenting the returned item shape and per-source counts. Combined with the stated read-only boundary and the hand-off tools for acting on items, an agent has everything needed to call and interpret this tool.

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 meaning the schema lacks: it spells out the concrete status values (APPROVED|POSTED|REJECTED) that the schema only gestures at, and restates the omission behavior ('omit for all four'). That is genuine value beyond the structured fields.

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?

Opens with a specific verb and resource ('READ-ONLY view of the unified approvals rail') and immediately enumerates the four queues it aggregates (posts, trends, build-in-public, dms). This clearly separates it from single-queue siblings like list_drafts or list_posts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool ('returns everything currently awaiting human review ... in one call') and names the alternatives for acting on results: resolve_approval for all four sources, approve_draft/reject_draft for posts. It also clarifies the read-only boundary ('never approves or rejects anything'), so there is no ambiguity about routing.

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.