Skip to main content
Glama

Read human approvals

swarm_read_approvals
Read-onlyIdempotent

List approval requests in a Space or inspect one using request_id. Read its action, target and decision. Human approval decisions stay in the authorized human flow; this tool cannot approve or bypass a gate.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "view": "<view>"
    },
    "name": "swarm_read_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewYesSelect one operation. details: requires request_id; list: no required fields. Supply only fields applicable to that operation.
limitNoPage size; follow next_cursor for more.
orderNoasc or desc; retain the same order across pages.
cursorNoPrevious next_cursor; keep filters and order.
statusNoStatus filter; use values returned for this resource.
space_idNoSpace for Space-scoped views; omit if sole. ID-only views resolve access from the resource ID, not this convenience field.
request_idNoApproval ID from swarm_read_approvals (view=list).
resource_idNoResource ID from an authorized read.
resource_typeNoResource type: artifact, task or run.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, so the baseline is low, but the description adds a genuinely useful constraint: approval decisions stay in the authorized human flow and this tool cannot approve or bypass a gate. This preempts an agent attempting a write through a read tool. It does not discuss pagination or result shape, but those are carried by the schema and output schema.

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?

Three short sentences, front-loaded with the list/details split followed by the safety constraint. "Read its action, target and decision" mildly duplicates what the output schema already conveys, but no sentence is wasteful.

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?

With 9 documented parameters, an output schema, and full read-only annotations, the description covers the essentials: what the tool reads, how to choose a view, and the hard limit that it never decides an approval. Pagination and filter behavior are left entirely to the schema, which is acceptable here.

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%, and the schema itself explains view branching, request_id provenance, cursor semantics and filters. The description adds almost nothing parameter-specific beyond tying request_id to the details view, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource plus both operating modes: "List approval requests in a Space or inspect one using request_id." An agent can tell list from details mode immediately. It does not name the near-duplicate sibling swarm_get_approval_request, so the boundary between this tool's details view and that getter is left implicit.

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?

"inspect one using request_id" gives the selection condition for the details view, and the closing sentence tells the agent what this tool must NOT be used for (approving or bypassing a gate). That is strong context, though no explicit prerequisites or exclusions against the sibling getter are stated.

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.