Skip to main content
Glama

Read human preview decisions

approvals_preview_get
Read-onlyIdempotent

[read-only] Read the human's per-item verdicts: verdicts.items[] has one row per item with verdict ok (approved under the brand policy), edit (apply note exactly as written, then create a new preview) or hold (leave it), plus note, applied/pending/failed state and proof type. An ok on an item with a proposed slot (proposedAt) is booked there automatically: read booking (booked/failed/skipped), bookAt and bookingError. An ok without a slot only signs off. Edit and hold never book. events keeps the full audit trail. Needs the creating key with write scope. A verdict never overrides the human approval policy. Was get_approval_preview (still callable for one release). (Wraps GET /api/v2/approval-previews/{id}.)

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": {
      "id": "<id>"
    },
    "name": "approvals_preview_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123". Record identifier returned by the corresponding list or create tool; use a real ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply readOnlyHint/idempotent/no-destructive; the description goes far beyond them, disclosing the auth requirement (creating key with write scope), the ok/edit/hold semantics, the automatic booking that follows an ok on a proposedAt item, the booked/failed/skipped + bookAt + bookingError fields to inspect, that edit and hold never book, that events holds the audit trail, and that a verdict never overrides the human approval policy.

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 the read-only purpose and the return shape, and nearly every clause carries operational meaning (states, booking behavior, auth, deprecation). It is dense and somewhat run-on in the middle, but not padded.

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?

No output schema exists, so the description must carry the return contract, and it does: per-item verdict values, per-item state, proof type, booking outcome fields, and the events audit trail. Auth and stale-name caveats are also covered, leaving nothing an agent needs before calling.

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?

There is a single required parameter at 100% schema coverage, and the schema already explains it is a record identifier returned by a list or create tool. The description adds nothing about the id beyond that, so the baseline of 3 applies.

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+resource: '[read-only] Read the human's per-item verdicts', and immediately enumerates the returned structure (verdicts.items[] with ok/edit/hold, note, state, proof type). An agent can distinguish this retrieval tool from the decision-making siblings (approvals_decide, approvals_bulk_decide) without opening a schema.

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?

Usage is clear from context: call it to read verdicts and any resulting booking state, and it notes it needs the creating key with write scope. It also routes agents off the deprecated name ('Was get_approval_preview, still callable for one release'). It stops short of naming which sibling to use when you want to *make* a verdict, which keeps it at 4 rather than 5.

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