Skip to main content
Glama

PayPing: sales summary

payping_get_sales_summary
Read-onlyIdempotent

Get sales totals for a date range: total amount in Toman, transaction count, and daily averages. Defaults to the last 30 days if dates are omitted.

Instructions

Sales totals for a period: total amount (Toman), transaction count and daily averages. Defaults to the last 30 days.

Input Schema

NameRequiredDescriptionDefault
to_dateNoLast day to include (YYYY-MM-DD, UTC).
from_dateNoFirst day to include (YYYY-MM-DD, UTC).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • removedInput schema / properties / from_date / title
      Removed value: -"From Date"
    • removedInput schema / properties / to_date / title
      Removed value: -"To Date"
    • removedInput schema / title
      Removed value: -"payping_get_sales_summaryArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "payping_get_sales_summaryDictOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered. The description adds real behavioral value an agent cannot get from annotations: the returned metrics (totals, count, daily averages) and the default trailing-30-day window when no dates are supplied.

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 tight sentences, front-loaded with what the tool returns and followed by the default-window behavior. Every clause earns its place 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?

For a read-only, idempotent summary with a rich annotation set and full parameter documentation, the description covers purpose, return fields and default range. It could be slightly more explicit about how the daily averages are computed or the aggregation boundary, but nothing needed to call it correctly is missing.

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?

Schema coverage is 100% and both date parameters are documented with format. The description still adds meaning beyond the schema by clarifying that omitting the dates means the last 30 days, resolving the null defaults the schema leaves unexplained.

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 gives a specific verb+resource ('Sales totals for a period') and enumerates what is returned (total amount in Toman, transaction count, daily averages), so the agent knows exactly what this summarizes. It does not explicitly differentiate against siblings like payping_list_transactions, but no sibling offers a summary, so ambiguity is low.

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?

'Defaults to the last 30 days' implies the intended context of a periodic summary, but it never states when to prefer this over list_transactions for detail or get_balance for point-in-time figures. Usage is implied rather than guided.

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