Skip to main content
Glama

Merit Aktiva MCP by usefulapi

List general ledger transactions

merit_list_gl_batches
Read-only

List general ledger batches (journal entries, also those created from invoices and payments) of a period: batch code, number, date, total. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v1/getglbatches.

Input Schema

NameRequiredDescriptionDefault
date_typeNoWhich date the period filters: 0 = document date (default), 1 = date of last change.
period_endYesLast day of the period, yyyy-mm-dd (max 3 months after the start).
max_resultsNoShow at most this many rows (default 100, max 1000); the reply says how many there are in total.
period_startYesFirst day of the period, yyyy-mm-dd.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so the safety profile is covered; the description adds non-annotation behavior in the form of a hard server-side constraint (3-month Merit limit) and the endpoint shape (POST /api/v1/getglbatches). It does not describe pagination interaction with max_results, which is a minor omission given the schema documents it.

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 compact sentences with the resource and scope front-loaded, followed by the constraint and endpoint. No filler, though the parenthetical endpoint path is arguably redundant since the tool wrapper handles transport.

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 no output schema, the description usefully enumerates the returned columns and states the scope limit, which is what an agent needs to call it correctly. It omits any note on pagination behavior or empty-result handling, leaving some gaps for a list tool.

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%, so all four parameters (period_start, period_end, date_type, max_results) are already fully documented in the schema. The description only echoes the period constraint and the returned columns, adding little parameter-level meaning beyond what the schema provides. Baseline 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 specific verb and resource (list general ledger batches) and enriches it with the semantic scope: journal entries plus entries generated from invoices and payments, and the fields returned (batch code, number, date, total). It is clearly distinguishable from the singular sibling merit_get_gl_batch, though it never names that sibling explicitly.

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?

Gives an actionable operational rule: the period may span at most 3 months and longer spans require several calls. That is real when/how guidance for invocation. It does not, however, discuss when to prefer this list over related report siblings such as merit_get_gl_batch or the invoice/payment list tools.

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.