Skip to main content
Glama
human-beyond

MainBook Bank Statement Converter

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAINBOOK_API_KEYNoOptional API key for manual/CI usage. Takes precedence over any stored login. Ignored in HTTP mode where each request uses its own Bearer header.
MAINBOOK_MCP_HOSTNoHTTP bind host when using HTTP transport.127.0.0.1
MAINBOOK_MCP_PORTNoHTTP bind port when using HTTP transport.8000
MAINBOOK_ALLOWED_DIRSNoLocal folders allowed for source reads and result writes, separated by the platform's path separator (':' on macOS/Linux, ';' on Windows). If neither positional directory arguments nor this variable is supplied, defaults are ~/Downloads, ~/Desktop, ~/Documents.
MAINBOOK_API_BASE_URLNoREST host. The server appends /api/v1/developer.https://api.mainbook.ai
MAINBOOK_MCP_TRANSPORTNoMCP transport to use: 'stdio' (default) or 'http'.stdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
convert_bank_statementA

Convert one PDF bank statement through the complete MainBook workflow: create a job, upload, start, poll, and return structured data. This creates a job and spends page credits; it is not read-only.

get_balanceA

Return total, reserved, and available MainBook credits. Every value is measured in PDF pages.

list_conversionsA

List one cursor page of conversion jobs visible to the MainBook account. Pass the returned next_cursor to continue.

get_conversionA

Get the current state of one MainBook conversion. When successful, return JSON inline or save XLSX/CSV locally over stdio. HTTP mode returns safe download instructions. Use this after convert_bank_statement times out.

output_folderA

Read or change the default local result folder. Call with no path to inspect the current setting and allowed folders. Pass an allowed absolute folder, or 'next_to_source' to restore the default behavior.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: convert_bank_statement handles submission, get_balance checks credits, list_conversions enumerates jobs, get_conversion retrieves state/results, and output_folder manages local storage. No overlap in functionality.

Naming Consistency4/5

Tool names mostly follow a verb_noun pattern with consistent snake_case. 'convert_bank_statement', 'get_balance', 'list_conversions', and 'get_conversion' are clear. 'output_folder' is slightly less standard as a verb but still readable and consistent in style.

Tool Count5/5

Five tools cover the core workflows for a PDF statement converter: submission, credit monitoring, job listing, status retrieval, and output configuration. This is well-scoped without unnecessary extras or missing essentials.

Completeness4/5

The set provides a complete lifecycle for converting statements: submit, monitor progress, retrieve results, manage output folder, and check credits. Minor gaps like cancel/delete are absent but not critical given the workflow's design.

Maintenance

ActivityMaintained
ResponsivenessNo issues