Skip to main content
Glama

PayPing: sales summary

payping_get_sales_summary
Read-onlyIdempotent

Retrieve sales totals for a chosen date range, including amount in Toman, transaction count, and daily averages; defaults to the last 30 days for reporting.

Instructions

Sales totals for a period (default last 30 days): amount in Toman, count, daily averages.

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": "payping_get_sales_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_dateNoLast day, YYYY-MM-DD UTC.
from_dateNoFirst day, YYYY-MM-DD UTC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / from_date / description
      Previous value: -"First day to include (YYYY-MM-DD, UTC)."New value: +"First day, YYYY-MM-DD UTC."
    • changedInput schema / properties / to_date / description
      Previous value: -"Last day to include (YYYY-MM-DD, UTC)."New value: +"Last day, YYYY-MM-DD UTC."
  2. 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
  3. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile needs no restating. The description contributes the default time window and the currency unit (Toman), which are behaviorally relevant, but with no output schema it says little about how the totals are computed or what the response object looks like.

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?

A single compact sentence with the default window parenthesized immediately after the scope, so the most load-bearing detail is front-loaded. Nothing is wasted, though the sentence is so terse that it reads more like a field list than an explanation.

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 two-parameter, read-only aggregate with full schema coverage, the description covers purpose, default window, currency and returned metrics. With no output schema the return shape is only sketched ('amount in Toman, count, daily averages') rather than fully described, which is the main remaining gap.

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?

The schema already documents both date parameters at 100% coverage with formats and UTC note, so the baseline is 3. The description adds one genuinely useful fact not in the schema — that omitting the dates defaults to the last 30 days — which is slightly above baseline but the main parameter documentation is the schema's.

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 uses a clear aggregation verb-and-resource pairing ('Sales totals for a period') and enumerates the returned metrics (amount in Toman, count, daily averages), which distinguishes it from the raw-listing siblings such as payping_list_transactions. It stops short of naming those siblings, but the aggregate-vs-list distinction is still inferable.

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?

Usage is only implied: the phrase 'for a period (default last 30 days)' tells an agent this is the aggregate view for a time window, but there is no explicit when-to-use/when-not clause and no routing to payping_list_transactions for row-level data. An agent has to infer the choice.

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