Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_reports_trial_balance_list

Read-onlyIdempotent

Generate a trial balance report for any date range, with optional P&L openings and zero-balance accounts. Filter by branch, contact, project, or cost center to review account balances.

Instructions

๐ŸŸข READ-ONLY ยท Reports ยท GET /reports/trial-balance/

Trial Balance

Generate trial balance report from from_date to to_date optionally with PNL openings with_pnl_openings and accounts with zero balances include_zero_balances.

PARAMETERS: this report uses from_date and to_date (NOT date_after/date_before, and NOT date_from/date_to). Both are optional; omitting them returns the current financial year. Verified 2026-09-04: the dates ARE honoured when spelled correctly โ€” a narrower range returns a smaller report. Wafeq silently ignores misspelled query parameters rather than erroring, so a wrong name looks like a working call that returns the default period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_dateNoThe ending date of the report.
from_dateNoThe starting date of the report.
branch__inNoThe unique identifier of the branch. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.
contact__inNoThe unique identifier of the contact. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.
project__inNoThe unique identifier of the project. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.
cost_center__inNoThe unique identifier of the cost center. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.
with_pnl_openingsNoWhether the report should include PNL openings.
include_zero_balancesNoWhether the report should include accounts with zero balances.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint), the description adds valuable behavioral disclosures: dates are optional and default to the current financial year, misspelled query parameters are silently ignored, and the behavior was verified on a specific date. This goes well beyond what annotations alone 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?

The description is well-structured with a clear READ-ONLY label, endpoint, and a focused parameter note. There is minor redundancy with the title 'Trial Balance' appearing both as a header and in the first sentence, but the overall length is appropriate and the critical warning is front-loaded.

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 100% schema coverage, no required parameters, and annotations already describing the safety profile, the description is nearly complete. It covers the important parameter pitfalls and default behavior. The only minor gap is that there is no output schema and the description does not describe the response shape, but for a report tool this is not a critical omission.

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?

The input schema already documents all 8 parameters, so the baseline is 3. The description adds meaningful semantic value by clarifying that from_date/to_date are optional and control the report period, that omission returns the current financial year, and that alternate common parameter names should not be used. This goes beyond the schema's descriptions.

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 action ('Generate trial balance report'), the exact resource ('GET /reports/trial-balance/'), and the key inputs (from_date, to_date, with_pnl_openings, include_zero_balances). It also identifies the report type as 'Trial Balance', which distinguishes it from sibling report tools like balance_sheet, cash_flow, and profit_and_loss.

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?

The description gives excellent usage context: it specifies the correct parameter names, explicitly warns against alternative date parameter names, and explains the default behavior when dates are omitted. It does not explicitly say when to prefer this tool over other report tools, but it provides enough context for correct invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohneben/Wafeq-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server