Skip to main content
Glama

Revenue, expenses and profit

query_financials
Read-only

Revenue, expenses and profit for a period. revenueEur, expensesEur and profitEur are net of VAT (BTW), the same figures as the dashboard. Also returns invoicedInclBtwEur and paidInclBtwEur (gross, including VAT) and invoiceCount.

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": {
      "period": "<period>"
    },
    "name": "query_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesTime period to query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.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, so the safety profile is covered. The description adds genuinely useful behavior beyond that: figures are net of VAT (BTW), they reconcile to the dashboard, and gross VAT-inclusive figures plus invoiceCount are also returned. It does not mention caching or how partial periods are handled, but the value-added context is substantial.

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 the purpose, then the semantics of the net figures, then the additional returned fields. Every sentence carries information the agent cannot get from the schema or 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 correctly takes on the burden of naming the returned fields and clarifying net vs gross VAT treatment, which is the main ambiguity risk for a financial tool. Minor gaps remain — it does not state currency assumptions or which period boundaries apply — but nothing essential for a correct call 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 description coverage is 100% and the single parameter has a full enum, so the schema already carries the parameter semantics. The description only restates 'for a period' and adds no format or interpretation details (for example what 'ytd' or 'q1' resolve to), which is consistent with the baseline 3 when the schema does the work.

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 names the exact resource and metrics returned (revenue, expenses, profit for a period) and enumerates the output fields, so an agent can tell this is a period-based financial summary rather than a per-invoice or per-client query. It does not explicitly contrast itself with siblings such as query_btw or query_expense_breakdown, but the stated scope is specific enough to be distinguishable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance. The phrase 'the same figures as the dashboard' hints at the use case, but nothing tells the agent when to pick this over query_btw, query_expense_breakdown, or query_invoices, and no prerequisites or caveats are stated.

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