Skip to main content
Glama
cotletdev

Fresha MCP Server

Get sales summary

get_sales_summary
Read-onlyIdempotent

Retrieve a period's sales summary with gross and net sales, refunds, discounts, taxes, and payment totals by sale type; returns no rows for periods without sales.

Instructions

Sales summary for a period: sales, refunds, discounts, taxes and payments by type.

Reads Reports > Sales summary for the days given: one row per sale type (services, products, memberships, gift cards and so on) with Fresha's own columns (gross and net sales, discounts, refunds, taxes) and a totals row. columns names each key. A period without sales has no rows. Amounts are in the business's currency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLast day. Default: same as from.
fromYesFirst day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already carry readOnly/idempotent/destructive=false, so the safety profile is covered. The description adds genuine context beyond them: rows are grouped per sale type with a totals row, an empty period returns no rows, and amounts are in the business's currency — all useful for interpreting results.

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?

Two short paragraphs, front-loaded with the purpose then the return shape; every sentence contributes (metrics list, row structure, empty-period behavior, currency). Minor redundancy between the opening list and the parenthetical column list.

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 must describe the return shape, and it does: one row per sale type, Fresha's columns, a totals row, and 'columns names each key.' Only gap is any hint of aggregation granularity limits or currency conversion behavior.

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 both parameters (from required, to defaulting to from) are fully documented there. The description only restates 'for the days given' without adding format, timezone, or range-limit semantics, so it meets the baseline but no more.

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?

Opens with a specific verb+resource ('Sales summary for a period') and immediately enumerates the metrics covered (sales, refunds, discounts, taxes, payments by type). The second paragraph's 'one row per sale type' shape implicitly separates it from the transaction-level list_sales sibling, though it never names an alternative.

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?

It grounds the tool in a known UI location ('Reads Reports > Sales summary for the days given'), which tells the agent this is an aggregated report pull. But there is no explicit when-to-use/when-not guidance and no mention of list_sales as the per-transaction alternative, leaving the choice to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.