Skip to main content
Glama

List GL Accounts

list_gl_accounts
Read-onlyIdempotent

List the Rent Manager chart of accounts (GL accounts), grouped by type.

Use this to answer "what GL accounts / chart of accounts do we have", to find an account's number/ID, or before drilling into financials. Filter by account_type (e.g. "income", "expense") or name_filter (matches name or account number); active_only hides inactive accounts.

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_gl_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationNo
active_onlyNo
name_filterNo
account_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent, so the description correctly spends its space on traits annotations cannot express: default behavior across multiple Locations, blank-location resolution, per-Location output labelling, and the fact that unreachable Locations are reported as skipped. The warning that property/tenant IDs are Location-scoped is operational context an agent would otherwise miss.

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?

Front-loaded with purpose then usage, and the parameter notes are separate and scannable. The location block is longer than strictly necessary (the 'IDs belong to one Location' caveat is valuable but repeats the fan-out idea), costing a point.

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?

Output schema exists, so return values need not be explained, yet the description still notes grouping and per-Location labelling. Combined with full parameter coverage and the multi-Location fallback rules, an agent has everything needed to call this correctly with no defaults left to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry all parameter meaning — and it does, for all four: account_type with examples, name_filter matching name OR account number, active_only hiding inactive accounts, and location accepting an ID, a comma-separated list, or 'all', with the blank default spelled out.

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?

States a specific verb and resource ('List the Rent Manager chart of accounts (GL accounts)') plus the shaping behavior ('grouped by type'). It also distinguishes itself from the analyze_* siblings by positioning itself as the lookup step 'before drilling into financials'.

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 explicit triggers: answer 'what GL accounts do we have', find an account's number/ID, or precede financial analysis. It also names list_locations as the way to discover the location values, so the agent knows where the dependency lives.

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