Skip to main content
Glama

Automation: Approval inbox

automation_activity
Read-only

THE approval inbox for V2 rule automation — the ONLY surface for pending automation approvals (MinMax/AOE/scheduled-task tools are separate systems, not this inbox). status=pending (default) means NOT yet approved/dismissed by a user: pending_approval (manual queue + escalations), pending_ai_review (queued for AI Workforce Review — the Automation Review Analyst seat works this queue at its check-ins), shadow (legacy AI Shadow rows; needs your approve/dismiss) and ai_rejected (overridable). Rows carry approval_mode (manual|workforce_review|auto; legacy ai_review/ai_shadow read as workforce_review), rule owner, needs, undoable, and paginate with total_found/truncated/next_offset. scope=mine (default) shows only the calling user's rules; scope=all_users shows every user's. READ-ONLY: action=list. Approving/rejecting/undoing inbox items lives in stage_automation_review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
limitNo
scopeNo'mine' (default): only the calling user's own rules — the ownership boundary. 'all_users': every user's rules on this profile; rows carry owner and owned_by_you.
actionYesWhich read to run; every action is read-only and runs immediately.
offsetNo
paramsNoAction-specific fields (see description).
statusNo
rule_idNo
profile_idNoWhich advertising profile (see account_profiles). Optional when the token has exactly one.
include_full_reasoningNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description explicitly states 'every action is read-only and runs immediately' and that approving/rejecting/undoing lives in another tool. This aligns perfectly with the readOnlyHint annotation and leaves no ambiguity about side effects. No contradiction with annotations.

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 description is verbose and uses all-caps for emphasis, which can hurt readability, but it is organized thematically: purpose, status values, row contents, scope, and read-only actions. The structure is logical and each sentence adds information, though the heavy capitalization feels excessive.

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

Completeness3/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 only partially describes the response fields (approval_mode, rule owner, needs, undoable, pagination fields). It does not fully specify the return object structure, error cases, or the content of the 'params' object. Given the tool's complexity, a more complete specification would be helpful.

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?

The schema covers 10 parameters but only 40% have descriptions. The description adds significant semantic meaning by elaborating on status values (pending_approval, pending_ai_review, etc.), scope differences (mine vs all_users), and the mode parameter. However, parameters like include_full_reasoning, limit, offset, and rule_id are not explicitly explained, though some are implied by context (pagination and filtering). The description compensates well for the schema's low 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 description clearly states the tool is the approval inbox for V2 rule automation and explicitly distinguishes it from sibling tools by calling out MinMax, AOE, and scheduled-task tools as separate. It also says it is the ONLY surface for pending automation approvals, making the purpose unmistakable.

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?

The description provides explicit guidance on when to use the tool (for listing pending approvals) and when not to use it (approving/rejecting/undoing should use stage_automation_review). It also explains the status and scope parameters, giving clear instructions on how to filter results.

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.

Resources