Skip to main content
Glama

Lovie Company Formation

Get Report Series

accounting_get_report_series
Read-only

GetReportSeries returns one P&L, balance sheet or cash flow statement per month, quarter or year of a range, in one call: the same figures the single-period RPCs give for each period. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "companyId": "<companyId>"
    },
    "name": "accounting_get_report_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
basisNo
endDateNo
companyIdYesUUID value wrapper.
startDateNo
granularityNo
currencyCodeNo

Output Schema

NameRequiredDescriptionDefault
periodsNo
currencyCodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / periods / items / properties / balanceSheet / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "assetRows": {
      -        "items": {
      -          "properties": {
      -            "amount": {
      -              "type": "string"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "glAccountId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "parentId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "templateKey": {
      -              "type": "string"
      -            },
      -            "vendors": {
      -              "items": {
      -                "properties": {
      -                  "amount": {
      -                    "type": "string"
      -                  },
      -                  "vendor": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "currencyCode": {
      -        "type": "string"
      -      },
      -      "equityRows": {
      -        "items": {
      -          "properties": {
      -            "amount": {
      -              "type": "string"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "glAccountId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "parentId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "templateKey": {
      -              "type": "string"
      -            },
      -            "vendors": {
      -              "items": {
      -                "properties": {
      -                  "amount": {
      -                    "type": "string"
      -                  },
      -                  "vendor": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "liabilityRows": {
      -        "items": {
      -          "properties": {
      -            "amount": {
      -              "type": "string"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "glAccountId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "parentId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "templateKey": {
      -              "type": "string"
      -            },
      -            "vendors": {
      -              "items": {
      -                "properties": {
      -                  "amount": {
      -                    "type": "string"
      -                  },
      -                  "vendor": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "netIncomeToDate": {
      -        "type": "string"
      -      },
      -      "totalAssets": {
      -        "type": "string"
      -      },
      -      "totalEquity": {
      -        "type": "string"
      -      },
      -      "totalLiabilities": {
      -        "type": "string"
      -      },
      -      "totalLiabilitiesAndEquity": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "assetRows": {
      +        "items": {
      +          "properties": {
      +            "amount": {
      +              "type": "string"
      +            },
      +            "code": {
      +              "type": "string"
      +            },
      +            "glAccountId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "parentId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "templateKey": {
      +              "type": "string"
      +            },
      +            "vendors": {
      +              "items": {
      +                "properties": {
      +                  "amount": {
      +                    "type": "string"
      +                  },
      +                  "vendor": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "currencyCode": {
      +        "type": "string"
      +      },
      +      "currentYearNetIncome": {
      +        "type": "string"
      +      },
      +      "equityRows": {
      +        "items": {
      +          "properties": {
      +            "amount": {
      +              "type": "string"
      +            },
      +            "code": {
      +              "type": "string"
      +            },
      +            "glAccountId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "parentId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "templateKey": {
      +              "type": "string"
      +            },
      +            "vendors": {
      +              "items": {
      +                "properties": {
      +                  "amount": {
      +                    "type": "string"
      +                  },
      +                  "vendor": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "liabilityRows": {
      +        "items": {
      +          "properties": {
      +            "amount": {
      +              "type": "string"
      +            },
      +            "code": {
      +              "type": "string"
      +            },
      +            "glAccountId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "parentId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "templateKey": {
      +              "type": "string"
      +            },
      +            "vendors": {
      +              "items": {
      +                "properties": {
      +                  "amount": {
      +                    "type": "string"
      +                  },
      +                  "vendor": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "netIncomeToDate": {
      +        "type": "string"
      +      },
      +      "retainedEarnings": {
      +        "type": "string"
      +      },
      +      "totalAssets": {
      +        "type": "string"
      +      },
      +      "totalEquity": {
      +        "type": "string"
      +      },
      +      "totalLiabilities": {
      +        "type": "string"
      +      },
      +      "totalLiabilitiesAndEquity": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and closed-world, so the safety profile is covered and "Read-only" is largely redundant. The description does add real behavior — one statement per period at the requested granularity, figures identical to the single-period calls — but says nothing about defaults for the optional kind/basis/granularity/date/currency fields or any cap on range size.

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 tight sentences with the core scope front-loaded; nothing is padded. The trailing "Read-only." duplicates readOnlyHint and the equivalence clause slightly restates the opening, but the waste is minimal.

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, return values need not be explained, and the multi-period semantics are clear. However, for a 7-parameter tool with a nested UUID wrapper and five optional fields whose defaults are undisclosed, the description leaves a real gap about what happens when startDate/endDate/granularity/basis are omitted.

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 only 14%, so the description must carry the load; it partially does by naming the three report kinds and the three granularities, plus the date-range concept. It leaves basis (accrual vs cash), currencyCode, the companyId UUID wrapper, and all defaulting behavior undocumented.

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 (returns one P&L / balance sheet / cash flow statement per period) plus the exact scope (month/quarter/year across a range) and explicitly contrasts with the single-period RPCs. An agent can distinguish it from accounting_get_profit_and_loss, accounting_get_balance_sheet and accounting_get_cash_flow_statement without opening any schema.

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?

"in one call: the same figures the single-period RPCs give for each period" implicitly tells the agent to prefer this over repeated single-period calls when a range is needed. It does not name the sibling tools explicitly or state an exclusion case, so it stops short of a full when/when-not rule.

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.