Skip to main content
Glama

Books status and the one next step

get_books_status
Read-only

THE loop driver — call this first, and again after every action. One call reports every queue (connections + degraded credentials, pending human approvals, onboarding gaps, payout-decomposition adjudications, the classification review queue, suggested transfers, captured documents) and next_step: the ONE thing to do now, from a fixed priority ladder (degraded connections → pending approvals → first-ever connection → adjudications → reviews → transfers → document match proposals → missing receipts → done). Loop contract: call this, do next_step (gate=true means relay next_step.ask to your human and wait; otherwise call next_step.tool), call this again — until next_step.section is 'done'. All sections are always present; an empty section means that queue is clear. pending_approvals are the OOB requests your above-guard calls opened — remind your human, NEVER re-call the refused tool. Supersedes get_onboarding_status (still available for the pure connect walk). Reads state only — never calls provider APIs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
org_idNoOptional. Defaults to the organisation the authenticated API key is bound to, so you normally omit it and never need to ask the user for their organisation UUID. If provided, it must match the key’s org or the request is rejected.0e91146d-511c-469f-bdee-5c867b26ae0d

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reviewsYes
documentsYes
next_stepYes
transfersYes
onboardingYes
connectionsYes
adjudicationsYes
pending_approvalsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes far beyond the readOnlyHint annotation: 'Reads state only — never calls provider APIs' clarifies side-effect scope, and it discloses the 'all sections are always present' invariant, the gate=true blocking behavior, and the warning never to re-call a refused tool. These are exactly the behavioral traits an agent must know and that annotations alone don't convey.

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?

Dense but every sentence earns its place: loop contract, priority ladder, gate semantics, empty-section meaning, pending-approvals caveat, sibling routing, and read-only note are all high-value. It loses one point because the whole contract is packed into a single run-on paragraph that would be easier to parse with structural breaks.

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?

For a tool of this complexity — a 9-stage priority ladder, a loop contract, and an interaction protocol — the description is complete. It enumerates every section, defines the termination condition ('done'), explains the gate flag, and notes the output schema exists to handle return-value details. An agent has everything needed to drive the loop correctly.

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 coverage is 100% and the only parameter (org_id) is fully documented in the schema itself, including guidance to normally omit it. The description adds nothing about parameters, but the baseline 3 applies because the schema carries the full burden.

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 states a specific verb+resource ('reports every queue... and next_step') with an unmistakable usage role ('THE loop driver'). It names its sibling (get_onboarding_status) explicitly and states what that sibling is still for, so no agent could confuse the two.

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?

Gives an explicit loop contract: call first, call after every action, do next_step, call again until next_step.section is 'done'. It also states the exclusion condition ('Supersedes get_onboarding_status, still available for the pure connect walk') and the gate=true waiting rule. Nothing is left to inference.

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