Skip to main content
Glama

MainBook Bank Statement Converter

Get conversion

get_conversion
Read-onlyIdempotent

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesConversion job UUID returned by MainBook.
output_pathNoOptional absolute result file or existing folder on the MCP server machine. Only available over stdio and only inside the allowed folders.
result_typeNoResult representation to retrieve after the job succeeds.json

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
pagesYes
stateYes
job_idYes
messageYes
downloadNo
timed_outNo
saved_fileNo
validationYes
result_typeYes

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description need not repeat that. The description adds critical behavioral context: that on success, it returns JSON inline or saves XLSX/CSV locally over stdio, and in HTTP mode returns safe download instructions. This explains what happens after success, which goes beyond the annotations. It does not mention failure behavior or error handling, but that is not expected given the annotations cover safety. No contradiction found.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, front-loaded with the main purpose, and includes only essential information. It is three sentences, the first stating the purpose, the second describing behavior, and the third giving usage timing. No wasted words, and each sentence earns its place.

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?

Given the tool's moderate complexity (3 parameters, one enum, one optional parameter) and rich annotations (readOnly, openWorld, idempotent), the description covers the key behavior (state retrieval, output modes) and usage context (after timeout). It also explains the difference between stdio and HTTP for outputs, and references the output schema for returns. This is complete for an agent to invoke correctly.

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?

Schema coverage is 100%, so the schema documents all parameters. The description adds context that clarifies job_id is returned by MainBook (already in schema) but also explains the output_path and result_type in relation to stdio/HTTP modes, which adds semantic meaning beyond the schema's basic field descriptions. This is valuable for an agent to understand how to use these parameters correctly, pushing it above baseline 3.

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's purpose: to retrieve the current state of a MainBook conversion job. It specifies the resource (conversion) and the action (get state), and it distinguishes itself from siblings by mentioning 'one MainBook conversion' and providing usage after convert_bank_statement times out. This clearly separates it from list_conversions and get_balance.

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 gives explicit usage guidance: 'Use this after convert_bank_statement times out.' This tells the agent when to use this tool versus the sibling convert_bank_statement. It also mentions the output modes (stdio vs HTTP), which helps the agent understand the context. No explicit exclusions, but the timing and mode guidance is strong.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: starting a conversion, checking credits, retrieving a specific conversion, and listing conversions. There is no overlap or ambiguity among the four tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: convert_bank_statement, get_balance, get_conversion, list_conversions. This makes the naming predictable and easy to reason about.

Tool Count5/5

With exactly 4 tools, the set is well-scoped for a bank statement converter. Each tool covers an essential part of the workflow without unnecessary redundancy or bloat.

Completeness5/5

The tool surface covers the full lifecycle: initiating a conversion, checking credit balance, retrieving results, and listing past jobs. There are no significant gaps for the stated purpose of converting and retrieving bank statements.

Resources