Skip to main content
Glama

get_kpi_summary

Read-onlyIdempotent

The headline SaaS KPIs for the most recent month in the requested period, summed over the administrations you may read: MRR, ARR, active customers, active subscriptions, and the month's new/expansion/contraction/churned MRR. Money is in euros (EUR). Use this for "how are we doing" questions; use get_kpi_snapshots for a series over time.

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": "get_kpi_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_monthNoLast month, "YYYY-MM" (inclusive).
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_monthNoFirst month, "YYYY-MM" (inclusive).
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

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior the annotations do not: results are summed over only the administrations the caller may read, money is denominated in EUR, and the tool collapses any requested range to the most recent month — a non-obvious trait worth disclosing. Return format and empty-period handling remain unspecified.

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 tight sentences: scope and metrics first, unit second, routing rule last. No filler and nothing repeated from the annotations.

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?

With no output schema, the description compensates by enumerating the returned KPIs and stating the currency, which is what an agent needs to interpret results. Minor residual gaps — numeric units for customer/subscription counts and behavior when the period has no data — are small for a read-only summary tool.

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 from_month, to_month, tenant_id and division_id are already documented with formats and defaults. The description adds only the aggregation framing ('summed over the administrations you may read'), which reinforces but does not extend the division_id semantics. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

The description names a concrete verb-and-resource ('headline SaaS KPIs for the most recent month in the requested period') and enumerates the exact metrics returned (MRR, ARR, active customers, active subscriptions, and the new/expansion/contraction/churned MRR). It also explicitly distinguishes itself from get_kpi_snapshots, so an agent can separate the two without inspecting schemas.

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?

It gives an explicit when-to-use rule ('how are we doing' questions) and names the alternative for the other case ('use get_kpi_snapshots for a series over time'). The two conditions are mutually exclusive and directly actionable.

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