Skip to main content
Glama

See my business numbers

get_financial_metrics
Read-only

The trainer's month in numbers, already in BRL text (no cents to convert): net and gross revenue of the last 30 days vs the 30 before (growth_pct), average ticket, recurring revenue (MRR) with active subscriptions, churn, charge success rate, what is due in the next 30 days, what is overdue (count and total) and the last 6 months of revenue, plus financial_url to open the Financial screen in the app. Use it for "how was my month?" or "how much will I receive?"; when overdue.count is above 0, call list_payments with status "overdue" to see who owes and their phone (that list also counts charges that failed). Read only: nothing is charged or sent.

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_financial_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, and the description reinforces this with 'Read only: nothing is charged or sent.' Beyond that, it adds useful behavioral context about the comparison windows, the BRL formatting with no cents to convert, and the caveat that list_payments includes failed charges. It does not cover refresh/freshness or pagination, but for a no-parameter summary tool the added context is solid.

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?

The definition is dense but front-loaded with the core content and contains no filler. It is a single long paragraph listing many return fields, which is efficient but slightly run-on; bullets would improve scanability without changing the substance.

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

Completeness5/5

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

With no output schema and no parameters, the description carries the full burden and does so by enumerating the returned metrics and the financial_url. It also explains the practical follow-up path for overdue balances, so an agent has everything needed to call and interpret the tool.

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

Parameters4/5

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

There are zero input parameters, so the baseline is 4. The description appropriately spends no space explaining parameters and instead focuses on return content.

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 opens with a specific resource, 'the trainer's month in numbers', and enumerates exactly what the tool returns: net/gross revenue for the last 30 days vs the prior 30, growth_pct, average ticket, MRR, churn, charge success rate, upcoming and overdue amounts, and six months of revenue. It clearly distinguishes this dashboard-summary tool from siblings like list_payments, which it names for a different purpose.

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 explicit when-to-use triggers ('how was my month?' or 'how much will I receive?') and a concrete routing rule: when overdue.count is above 0, call list_payments with status 'overdue' to see who owes and their phone. It also warns that list_payments counts failed charges, which prevents misinterpretation of the overdue count.

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