Skip to main content
Glama

Codat MCP by usefulapi

Get profit & loss

codat_get_profit_and_loss
Read-only

Get a company's profit and loss (income statement), broken into periods. periodLength and periodsToCompare are BOTH required by Codat. Codat API: GET /companies/{companyId}/data/financials/profitAndLoss.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesThe Codat companyId (UUID).
startMonthNoFirst month of the earliest period (YYYY-MM-DD); defaults to the most recent.
periodLengthYesNumber of months per period (1-12). Required.
periodsToCompareYesHow many periods to return (1-12). Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.