Skip to main content
Glama

vat_by_quarter

Read-only

Output VAT, input VAT and VAT payable per quarter (øre). From the VAT ledger accounts (incl. input VAT) when journal entries are synced, otherwise from sales invoices only — each quarter says which in source (ledger | invoices).

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": {
      "connection_id": "<connection_id>"
    },
    "name": "vat_by_quarter"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoDefault: this year
connection_idYesId from list_connections

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so safety is covered. The description adds real behavioral value beyond that: amounts are in øre, and the result's reliability depends on whether journal entries have been synced, in which case figures fall back to sales invoices — a caveat an agent could not infer elsewhere. It stops short of describing quarter keys or behavior when no data exists.

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?

Two sentences, front-loaded with what is returned, followed by the source caveat. Every clause carries information — the unit, the source conditional, and the field name that exposes it — with no filler.

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 adequately covers return semantics (three VAT figures per quarter, in øre, plus a source indicator), which is what an agent needs to interpret the response. Minor gaps remain around the shape of quarter keys and empty-period behavior, but nothing critical for correct invocation 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%, with year defaulting to this year and connection_id sourced from list_connections, so the schema carries parameter meaning. The description adds only the implicit grouping by quarter, not any interpretation of year or connection_id, so the baseline of 3 applies.

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 exactly what is produced — output VAT, input VAT and VAT payable, per quarter, in øre — which is a specific set of measures rather than a vague reporting verb. The second clause explains where the numbers come from, so an agent can tell this apart from a general P&L tool.

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?

The description explains the data-source condition (ledger when journal entries are synced, otherwise sales invoices), which is useful context, but it never states when to choose this tool over a sibling such as profit_and_loss, nor any prerequisites such as the connection needing to exist. Usage is only implied by the tool's purpose.

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