Skip to main content
Glama

get_pnl_functional_summary

Read-onlyIdempotent

Functional (cost-centre) P&L per bucket and month: recurring and other revenue, cost of goods sold, and spend per cost-centre category such as Marketing, Sales or R&D. Amounts are in whole euros (EUR): positive = income, negative = expense. The period may span at most 13 months.

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": {
      "from_month": "<from_month>",
      "to_month": "<to_month>"
    },
    "name": "get_pnl_functional_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_monthYesLast month, "YYYY-MM" (inclusive). Required.
tenant_idNoThe tenant to query. Required when you have access to more than one tenant; may be omitted when you have exactly one. Call list_tenants for the ids.
from_monthYesFirst month, "YYYY-MM" (inclusive). Required.
division_idNoRestrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / division_id / description
      Previous value: -"Restrict the answer to one administration (Exact Online division). Omit to cover every administration you have access to. It can only narrow your access, never widen it."New value: +"Restrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add semantics. It does: amounts are in whole euros with a sign convention (positive = income, negative = expense) and the period is capped at 13 months. It does not mention authorization needs or how empty/partial buckets are represented, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what is returned, followed by units/sign convention and the period limit. No filler, no repetition of the tool name, and each sentence carries distinct information.

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?

For a read-only aggregation with fully documented parameters and no output schema, the description supplies the essentials an agent needs: what the buckets mean, the unit and sign convention, and the maximum period. It could add a note on which dimension defines a 'bucket' and on multi-tenant defaults, but nothing critical is missing.

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 coverage is 100%, so the baseline is 3; every parameter (from_month, to_month, tenant_id, division_id) is already documented in the schema. The description adds only the 13-month span limit on the period, which is useful but marginal, and says nothing further about division_id scoping semantics.

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 gives a specific verb-and-resource framing: a functional (cost-centre) P&L broken down per bucket and month, listing the line categories it returns (recurring/other revenue, COGS, spend per cost-centre category). It clearly differs from get_pnl_summary by the cost-centre dimension, though it never names that sibling explicitly to confirm the contrast.

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 by the description's scope (cost-centre breakdown, up to 13 months), but there is no explicit when-to-use versus get_pnl_summary or get_pnl_category_detail, and no statement about when the tool is the wrong choice. The 13-month cap is a constraint, not guidance.

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