Skip to main content
Glama

Lovie Company Formation

Get Chart Of Accounts

accounting_get_chart_of_accounts
Read-only

GetChartOfAccounts returns the company's chart of accounts (flat list with parent links; build the tree client-side). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesUUID value wrapper.
includeInactiveNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / properties / accounts / items / properties / description
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Free-form description (max 5000 chars).",
      +      "properties": {
      +        "value": {
      +          "maxLength": 5000,
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / accounts / items / properties / detailType
      Added value: +{
      +  "enum": [
      +    "GL_DETAIL_TYPE_UNSPECIFIED",
      +    "GL_DETAIL_TYPE_CASH_ON_HAND",
      +    "GL_DETAIL_TYPE_CHECKING",
      +    "GL_DETAIL_TYPE_MONEY_MARKET",
      +    "GL_DETAIL_TYPE_SAVINGS",
      +    "GL_DETAIL_TYPE_TRUST_ACCOUNT",
      +    "GL_DETAIL_TYPE_ACCOUNTS_RECEIVABLE",
      +    "GL_DETAIL_TYPE_ALLOWANCE_FOR_BAD_DEBTS",
      +    "GL_DETAIL_TYPE_DEVELOPMENT_COSTS",
      +    "GL_DETAIL_TYPE_EMPLOYEE_CASH_ADVANCES",
      +    "GL_DETAIL_TYPE_INVENTORY",
      +    "GL_DETAIL_TYPE_LOANS_TO_OFFICERS",
      +    "GL_DETAIL_TYPE_LOANS_TO_OTHERS",
      +    "GL_DETAIL_TYPE_PREPAID_EXPENSES",
      +    "GL_DETAIL_TYPE_UNDEPOSITED_FUNDS",
      +    "GL_DETAIL_TYPE_OTHER_CURRENT_ASSETS",
      +    "GL_DETAIL_TYPE_ACCUMULATED_DEPRECIATION",
      +    "GL_DETAIL_TYPE_BUILDINGS",
      +    "GL_DETAIL_TYPE_FURNITURE_AND_FIXTURES",
      +    "GL_DETAIL_TYPE_LAND",
      +    "GL_DETAIL_TYPE_LEASEHOLD_IMPROVEMENTS",
      +    "GL_DETAIL_TYPE_MACHINERY_AND_EQUIPMENT",
      +    "GL_DETAIL_TYPE_VEHICLES",
      +    "GL_DETAIL_TYPE_OTHER_FIXED_ASSETS",
      +    "GL_DETAIL_TYPE_ACCUMULATED_AMORTIZATION",
      +    "GL_DETAIL_TYPE_GOODWILL",
      +    "GL_DETAIL_TYPE_LICENSES",
      +    "GL_DETAIL_TYPE_ORGANIZATIONAL_COSTS",
      +    "GL_DETAIL_TYPE_SECURITY_DEPOSITS",
      +    "GL_DETAIL_TYPE_OTHER_LONG_TERM_ASSETS",
      +    "GL_DETAIL_TYPE_CREDIT_CARD",
      +    "GL_DETAIL_TYPE_ACCOUNTS_PAYABLE",
      +    "GL_DETAIL_TYPE_DIRECT_DEPOSIT_PAYABLE",
      +    "GL_DETAIL_TYPE_LINE_OF_CREDIT",
      +    "GL_DETAIL_TYPE_LOAN_PAYABLE",
      +    "GL_DETAIL_TYPE_PAYROLL_CLEARING",
      +    "GL_DETAIL_TYPE_PAYROLL_TAX_PAYABLE",
      +    "GL_DETAIL_TYPE_INSURANCE_PAYABLE",
      +    "GL_DETAIL_TYPE_FEDERAL_INCOME_TAX_PAYABLE",
      +    "GL_DETAIL_TYPE_SALES_TAX_PAYABLE",
      +    "GL_DETAIL_TYPE_STATE_LOCAL_INCOME_TAX_PAYABLE",
      +    "GL_DETAIL_TYPE_OTHER_CURRENT_LIABILITIES",
      +    "GL_DETAIL_TYPE_NOTES_PAYABLE",
      +    "GL_DETAIL_TYPE_SHAREHOLDER_NOTES_PAYABLE",
      +    "GL_DETAIL_TYPE_OTHER_LONG_TERM_LIABILITIES",
      +    "GL_DETAIL_TYPE_OPENING_BALANCE_EQUITY",
      +    "GL_DETAIL_TYPE_RETAINED_EARNINGS",
      +    "GL_DETAIL_TYPE_OWNERS_EQUITY",
      +    "GL_DETAIL_TYPE_PAID_IN_CAPITAL_OR_SURPLUS",
      +    "GL_DETAIL_TYPE_PREFERRED_STOCK",
      +    "GL_DETAIL_TYPE_COMMON_STOCK",
      +    "GL_DETAIL_TYPE_TREASURY_STOCK",
      +    "GL_DETAIL_TYPE_PARTNER_CONTRIBUTIONS",
      +    "GL_DETAIL_TYPE_PARTNER_DISTRIBUTIONS",
      +    "GL_DETAIL_TYPE_SALES_OF_PRODUCT_INCOME",
      +    "GL_DETAIL_TYPE_SERVICE_FEE_INCOME",
      +    "GL_DETAIL_TYPE_DISCOUNTS_REFUNDS_GIVEN",
      +    "GL_DETAIL_TYPE_UNAPPLIED_CASH_PAYMENT_INCOME",
      +    "GL_DETAIL_TYPE_NON_PROFIT_INCOME",
      +    "GL_DETAIL_TYPE_OTHER_PRIMARY_INCOME",
      +    "GL_DETAIL_TYPE_DIVIDEND_INCOME",
      +    "GL_DETAIL_TYPE_INTEREST_EARNED",
      +    "GL_DETAIL_TYPE_TAX_EXEMPT_INTEREST",
      +    "GL_DETAIL_TYPE_GAIN_LOSS_ON_SALE_OF_FIXED_ASSETS",
      +    "GL_DETAIL_TYPE_OTHER_INVESTMENT_INCOME",
      +    "GL_DETAIL_TYPE_OTHER_MISCELLANEOUS_INCOME",
      +    "GL_DETAIL_TYPE_COST_OF_LABOR_COS",
      +    "GL_DETAIL_TYPE_EQUIPMENT_RENTAL_COS",
      +    "GL_DETAIL_TYPE_SHIPPING_FREIGHT_DELIVERY_COS",
      +    "GL_DETAIL_TYPE_SUPPLIES_MATERIALS_COGS",
      +    "GL_DETAIL_TYPE_COST_OF_SALES",
      +    "GL_DETAIL_TYPE_OTHER_COSTS_OF_SERVICE_COS",
      +    "GL_DETAIL_TYPE_ADVERTISING_PROMOTIONAL",
      +    "GL_DETAIL_TYPE_AUTO",
      +    "GL_DETAIL_TYPE_BAD_DEBTS",
      +    "GL_DETAIL_TYPE_BANK_CHARGES",
      +    "GL_DETAIL_TYPE_CHARITABLE_CONTRIBUTIONS",
      +    "GL_DETAIL_TYPE_DUES_SUBSCRIPTIONS",
      +    "GL_DETAIL_TYPE_EQUIPMENT_RENTAL",
      +    "GL_DETAIL_TYPE_INSURANCE",
      +    "GL_DETAIL_TYPE_INTEREST_PAID",
      +    "GL_DETAIL_TYPE_LEGAL_PROFESSIONAL_FEES",
      +    "GL_DETAIL_TYPE_OFFICE_EXPENSES",
      +    "GL_DETAIL_TYPE_PAYROLL_EXPENSES",
      +    "GL_DETAIL_TYPE_RENT_OR_LEASE_OF_BUILDINGS",
      +    "GL_DETAIL_TYPE_REPAIR_MAINTENANCE",
      +    "GL_DETAIL_TYPE_SHIPPING_FREIGHT_DELIVERY",
      +    "GL_DETAIL_TYPE_SUPPLIES_MATERIALS",
      +    "GL_DETAIL_TYPE_TAXES_PAID",
      +    "GL_DETAIL_TYPE_TRAVEL",
      +    "GL_DETAIL_TYPE_TRAVEL_MEALS",
      +    "GL_DETAIL_TYPE_PROMOTIONAL_MEALS",
      +    "GL_DETAIL_TYPE_UTILITIES",
      +    "GL_DETAIL_TYPE_OTHER_BUSINESS_EXPENSES",
      +    "GL_DETAIL_TYPE_DEPRECIATION",
      +    "GL_DETAIL_TYPE_AMORTIZATION",
      +    "GL_DETAIL_TYPE_EXCHANGE_GAIN_OR_LOSS",
      +    "GL_DETAIL_TYPE_PENALTIES_SETTLEMENTS",
      +    "GL_DETAIL_TYPE_OTHER_MISCELLANEOUS_EXPENSE"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / accounts / items / properties / isLocked
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / accounts / items / properties / subType
      Added value: +{
      +  "enum": [
      +    "GL_ACCOUNT_SUB_TYPE_UNSPECIFIED",
      +    "GL_ACCOUNT_SUB_TYPE_BANK",
      +    "GL_ACCOUNT_SUB_TYPE_ACCOUNTS_RECEIVABLE",
      +    "GL_ACCOUNT_SUB_TYPE_OTHER_CURRENT_ASSETS",
      +    "GL_ACCOUNT_SUB_TYPE_FIXED_ASSETS",
      +    "GL_ACCOUNT_SUB_TYPE_OTHER_ASSETS",
      +    "GL_ACCOUNT_SUB_TYPE_CREDIT_CARD",
      +    "GL_ACCOUNT_SUB_TYPE_ACCOUNTS_PAYABLE",
      +    "GL_ACCOUNT_SUB_TYPE_OTHER_CURRENT_LIABILITIES",
      +    "GL_ACCOUNT_SUB_TYPE_LONG_TERM_LIABILITIES",
      +    "GL_ACCOUNT_SUB_TYPE_EQUITY",
      +    "GL_ACCOUNT_SUB_TYPE_INCOME",
      +    "GL_ACCOUNT_SUB_TYPE_OTHER_INCOME",
      +    "GL_ACCOUNT_SUB_TYPE_COST_OF_GOODS_SOLD",
      +    "GL_ACCOUNT_SUB_TYPE_EXPENSES",
      +    "GL_ACCOUNT_SUB_TYPE_OTHER_EXPENSE"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / accounts / items / properties / taxDeductiblePercent
      Added value: +{
      +  "type": "string"
      +}
  2. Changed22 schema fields changed
    • addedOutput schema / properties / accounts / items / properties / companyId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / accounts / items / properties / companyId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / accounts / items / properties / companyId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / accounts / items / properties / companyId / type
      Removed value: -"object"
    • addedOutput schema / properties / accounts / items / properties / createdAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / accounts / items / properties / createdAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / accounts / items / properties / createdAt / type
      Removed value: -"string"
    • addedOutput schema / properties / accounts / items / properties / id / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / accounts / items / properties / id / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / accounts / items / properties / id / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / accounts / items / properties / id / type
      Removed value: -"object"
    • addedOutput schema / properties / accounts / items / properties / name / anyOf
      Added value: +[
      +  {
      +    "description": "Human-readable name (1-255 Unicode chars).",
      +    "properties": {
      +      "value": {
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / accounts / items / properties / name / description
      Removed value: -"Human-readable name (1-255 Unicode chars)."
    • removedOutput schema / properties / accounts / items / properties / name / properties
      Removed value: -{
      -  "value": {
      -    "maxLength": 255,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / accounts / items / properties / name / type
      Removed value: -"object"
    • addedOutput schema / properties / accounts / items / properties / parentId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / accounts / items / properties / parentId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / accounts / items / properties / parentId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / accounts / items / properties / parentId / type
      Removed value: -"object"
    • addedOutput schema / properties / accounts / items / properties / updatedAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / accounts / items / properties / updatedAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / accounts / items / properties / updatedAt / type
      Removed value: -"string"
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description's 'Read-only' line merely restates that safety profile. It adds some value by disclosing the flat-list-with-parent-links shape and the requirement to build the tree client-side, but it does not cover other behaviors like whether inactive accounts appear by default.

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?

Two sentences with the key format constraint ('flat list with parent links; build the tree client-side') front-loaded. The only waste is the 'Read-only' sentence, which duplicates the annotations, and the name-echoing opener 'GetChartOfAccounts returns'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the return structure is already covered, and the description adds the client-side tree-building nuance. However, the boolean parameter includeInactive semantics are unexplained, so an agent cannot know what the default output contains or how to filter it without out-of-band knowledge.

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

Parameters2/5

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

Schema coverage is 50% and the description adds no parameter information at all. The schema's companyId description ('UUID value wrapper') only describes the wrapper structure, not its source or semantics, and includeInactive is entirely undocumented. The description fails to compensate for the coverage gap.

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?

The description states a specific verb and resource: it returns the company's chart of accounts. It also adds a distinguishing format detail (flat list with parent links, tree built client-side), which separates it from report siblings like accounting_get_balance_sheet or accounting_get_general_ledger, though it does not name them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: call this when you need the chart of accounts in a flat, client-constructed hierarchy. However, there is no explicit when-not-to-use guidance or comparison against sibling account/ledger tools, so the agent must infer when this is the right choice.

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.